From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,aad446188a599a2a X-Google-Attributes: gid1164f8,public From: Kevin Oberman Subject: Re: Installing Ghostscript 5.50 Date: 1999/02/22 Message-ID: #1/1 X-Deja-AN: 447182616 Sender: oberman@ptavv.es.net References: <7as3h0$bhd$1@nnrp1.dejanews.com> Content-Type: text/plain; charset=US-ASCII Organization: ** ESnet ** The Energy Sciences Network ** Mime-Version: 1.0 (generated by tm-edit 7.108) Newsgroups: comp.sys.dec giorgio.sangalli@omnitel.it writes: > Hello. > > During installation of Ghostscript 5.50 on Alpha Server with O.S. DEC Unix > 4.0d when make was running I received this error message: > > cc -O -I. -I./obj -Izlib -o ./obj/szlibc.o -c ./szlibc.c cc: Error: > ./szlibc.c, line 34: In this declaration, the type of "st_zlib_state" is not > compatible with the type of a previous declaration of "st_zlib_state" at line > number 47 in file ./szlibx.h. public_st_zlib_state(); Always build with the -std or -std1 CFLAGS. This forces DEC C to run in ANSI mode instead of K&R. Then use the unixansi.mak file. setenv CFLAGS "-fast -std1";make -f unixansi.mak This did the trick for me. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest Orlando Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634