From: bulsara@gilbreth.ecn.purdue.edu (Vispi H. Bulsara)
Subject: HELP: Help needed compiling Aladdin Ghostscript on DEC AlphaStation running OSF/1
Date: 1997/01/30 [thread overview]
Message-ID: <5cq8ev$4p6@mozo.cc.purdue.edu> (raw)
Hi,
The following posting did not come through to this newsgroup the first time
at my site so I am posting it again. Forgive me if this is the second time
it is appearing on your site!
I downloaded Aladdin Ghostscript 4.03 from ftp.cs.wisc.edu and am getting
compilation errors on my DEC AlphaStation 200 4/233 running OSF/1
operating system. I am using the makefile unixansi.mak as mentioned in the
make.txt file.
The files that dont get compiled are:
libpng/pngwtran.c
libpng/pngwutil.c
I am appending the operating system and cc compiler version information and
also the error messages corresponding to the two files listed above. I would
appreciate your help in getting Ghostscript up and running on my workstation.
Thanks,
Vispi (bulsara@ecn.purdue.edu)
--
Vispi Homi Bulsara
===========================
Output of 'uname -mrsv'
> OSF1 V3.2 214 alpha
===========================
Output of 'cc -V | tail -2'
> cc (cc)
> The DEC OSF/1 AXP Compiler Driver 3.11
===========================
Output from the 'make -i' command (using unixansi.mak)
> cc -O -c -Ilibpng -Izlib libpng/pngwtran.c
> /usr/lib/cmplrs/cc/cfe: Error: libpng/pngwtran.c, line 52: redeclaration of
> 'png_do_pack'; previous declaration at line 1194 in file 'libpng/png.h'
> png_do_pack(png_row_infop row_info, png_bytep row, png_byte bit_depth)
> ^
> /usr/lib/cmplrs/cc/cfe: Error: libpng/pngwtran.c, line 52: prototype and
> non-prototype declaration found for png_do_pack, the type of this
> parameter is not compatible with the type after applying default argument
> promotion
> png_do_pack(png_row_infop row_info, png_bytep row, png_byte bit_depth)
> ------------------------------------------------------------^
> /usr/lib/cmplrs/cc/cfe: Error: libpng/pngwtran.c, line 301: redeclaration of
> 'png_do_write_filler'; previous declaration at line 1146 in file
> 'libpng/png.h'
> png_do_write_filler(png_row_infop row_info, png_bytep row,
> ^
> /usr/lib/cmplrs/cc/cfe: Error: libpng/pngwtran.c, line 302: prototype and
> non-prototype declaration found for png_do_write_filler, the type of this
> parameter is not compatible with the type after applying default argument
> promotion
> png_byte flags)
> ------------^
> *** Exit 1 (ignored)
> cc -O -c -Ilibpng -Izlib libpng/pngwutil.c
> /usr/lib/cmplrs/cc/cfe: Error: libpng/pngwutil.c, line 26: redeclaration of
> 'png_save_uint_16'; previous declaration at line 928 in file
> 'libpng/png.h'
> png_save_uint_16(png_bytep buf, png_uint_16 i)
> ^
> /usr/lib/cmplrs/cc/cfe: Error: libpng/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: libpng/pngwutil.c, line 47: redeclaration of
> 'png_write_uint_16'; previous declaration at line 934 in file
> 'libpng/png.h'
> png_write_uint_16(png_structp png_ptr, png_uint_16 i)
> ^
> /usr/lib/cmplrs/cc/cfe: Error: libpng/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 (ignored)
reply other threads:[~1997-01-30 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