From owner-freebsd-isp Tue Apr 8 14:39:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA03631 for isp-outgoing; Tue, 8 Apr 1997 14:39:11 -0700 (PDT) Received: from unique.usn.blaze.net.au (unique.usn.blaze.net.au [203.17.53.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA03626 for ; Tue, 8 Apr 1997 14:39:04 -0700 (PDT) Received: (from davidn@localhost) by unique.usn.blaze.net.au (8.8.5/8.8.5) id HAA17313; Wed, 9 Apr 1997 07:38:53 +1000 (EST) Message-ID: <19970409073853.11308@usn.blaze.net.au> Date: Wed, 9 Apr 1997 07:38:53 +1000 From: David Nugent To: Pat McPartland Cc: freebsd-isp@freebsd.org Subject: Re: Fw: make error: FBSD 2.1 & 2.1.5 and pgp 2.6.2 References: <199704081944.PAA05911@fireball.blast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69e In-Reply-To: <199704081944.PAA05911@fireball.blast.net>; from Pat McPartland on Tue 04 08, 97 15:41 Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue 8 Aril, 1997 15:41, Pat McPartland writes: > gcc -I../rsaref/source -I../rsaref/test -DUSEMPILIB -O -DUNIX -DIDEA32 > -DASM -DMAX_NAMELEN=255 -c zipup.c > zipup.c:43: conflicting types for `lseek' > /usr/include/sys/types.h:84: previous declaration of `lseek' > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > > How can I get around this? Remove or change the lseek() prototype. It probably uses 'long', or if the app is really old 'int', but freebsd uses a 64 bit ofs_t. It is /really/ annoying when a programmer feels that he can redefine libc routines in private headers. They should have concentrated on getting their #include's right to begin with. Send to above in a bug report in the 'ports' category, and cc the author. It is a programming error, and if lseek() is provided as a prototype, it will result in the application misbehaving. Regards, David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/