From: blunden@cc.umanitoba.ca ()
Subject: Help getting libpng to compile on OSF
Date: 1997/03/03 [thread overview]
Message-ID: <blunden.857431757@merak> (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.
reply other threads:[~1997-03-03 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox