* Help getting libpng to compile on OSF
@ 1997-03-03 5:00 blunden
0 siblings, 0 replies; only message in thread
From: blunden @ 1997-03-03 5:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-03-03 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-03 5:00 Help getting libpng to compile on OSF blunden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox