From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,26a41de892ccc678,start X-Google-Attributes: gidfee84,public From: blunden@cc.umanitoba.ca () Subject: Help getting libpng to compile on OSF Date: 1997/03/03 Message-ID: #1/1 X-Deja-AN: 222883639 Organization: The University of Manitoba Newsgroups: comp.unix.osf.osf1 When I try to compile libpng (version 0.89), which comes with the ghostscript 4.03 distribution, I get the following error. If anyone has some advice, please let me know. Thanks. cc -I../zlib -O -c png.c cc -I../zlib -O -c pngrcb.c cc -I../zlib -O -c pngrutil.c cc -I../zlib -O -c pngtrans.c cc -I../zlib -O -c pngwutil.c /usr/lib/cmplrs/cc/cfe: Error: pngwutil.c, line 26: redeclaration of 'png_save_uint_16'; previous declaration at line 928 infile './png.h' png_save_uint_16(png_bytep buf, png_uint_16 i) ^ /usr/lib/cmplrs/cc/cfe: Error: pngwutil.c, line 26: prototype and non-prototype declaration found for png_save_uint_16, the type of this parameter is not compatible with the type after applying default argument promotion png_save_uint_16(png_bytep buf, png_uint_16 i) --------------------------------------------^ /usr/lib/cmplrs/cc/cfe: Error: pngwutil.c, line 47: redeclaration of 'png_write_uint_16'; previous declaration at line 934 in file './png.h' png_write_uint_16(png_structp png_ptr, png_uint_16 i) ^ /usr/lib/cmplrs/cc/cfe: Error: pngwutil.c, line 47: prototype and non-prototype declaration found for png_write_uint_16, the type of this parameter is not compatible with the type after applying default argument promotion png_write_uint_16(png_structp png_ptr, png_uint_16 i) ---------------------------------------------------^ *** Exit 1 Stop.