Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!gatech!news.mathworks.com!tank.news.pipex.net!pipex!oleane!in2p3.fr!swidir.switch.ch!scsing.switch.ch!ubnsrv.unisource.ch!news.unisource.ch!rss From: rss@coretec.ch (Robin Stephenson) Newsgroups: comp.unix.bsd.misc,alt.security.pgp Subject: compiling PGP 2.3 on BSD/OS v2.0.1 - previous declaration of `lseek' Date: 03 Nov 1995 17:44:00 GMT Organization: Coretec GmbH Lines: 36 Distribution: world Message-ID: <RSS.95Nov3184400@babylon.coretec.ch> Reply-To: robin@coretec.ch NNTP-Posting-Host: babylon.coretec.ch Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:309 alt.security.pgp:25820 I'm having trouble compiling PGP v2.3 on my BSD/OS v2.0.1 system with gcc version 2.6.3. The makefile lists several likely looking systems, amongst them 386bsd, bsd, bsdgcc. The following output results from `make 386bsd' - `make bsd' and `make bsdgcc' spit out vast quantities of warnings and then die in a similar manner, so I'm assuming that the 386bsd one is the one I should be using. If anyone's done this compilation and has a makefile, I would be eternally grateful. make all CC=gcc LD=gcc OBJS_EXT="_80386.o _zmatch.o" CFLAGS="-O -DUNIX -DIDEA32 -DASM -DMAX_NAMELEN=255" gcc -O -DUNIX -DIDEA32 -DASM -DMAX_NAMELEN=255 -c pgp.c gcc -O -DUNIX -DIDEA32 -DASM -DMAX_NAMELEN=255 -c crypto.c gcc -O -DUNIX -DIDEA32 -DASM -DMAX_NAMELEN=255 -c keymgmt.c lots more of the same, cut for brevity gcc -O -DUNIX -DIDEA32 -DASM -DMAX_NAMELEN=255 -c zglobals.c gcc -O -DUNIX -DIDEA32 -DASM -DMAX_NAMELEN=255 -c zinflate.c gcc -O -DUNIX -DIDEA32 -DASM -DMAX_NAMELEN=255 -c zip.c gcc -O -DUNIX -DIDEA32 -DASM -DMAX_NAMELEN=255 -c zipup.c zipup.c:40: conflicting types for `lseek' /usr/include/sys/types.h:84: previous declaration of `lseek' *** Error code 1 Stop. *** Error code 1 Stop. -- © 1995 Robin Stephenson, all rights reserved. http://www.coretec.ch/~rss/ Redistribution in any form either in whole or in part via Microsoft® Network prohibited. License for redistribution available to Microsoft® for (US)$500. Any redistribution without prior permission constitutes an agreement to these terms. Report violations to mailto:postmaster@msn.com