From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,c2000cfb8adc502b,start X-Google-Attributes: gidf678f,public 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 Message-ID: <5cq8ev$4p6@mozo.cc.purdue.edu>#1/1 X-Deja-AN: 213219710 organization: Purdue University, W. Lafayette, IN keywords: Aladdin Ghostscript 4.03 DEC Alpha OSF Help Compile Errors reply-to: bulsara@ecn.purdue.edu newsgroups: comp.unix.osf.misc 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)