*BSD News Article 54336


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!gatech!psuvax1!news.math.psu.edu!chi-news.cic.net!newsfeed.internetmci.com!info.ucla.edu!news.ucdavis.edu!not-for-mail
From: obrien@cs.ucdavis.edu (David E. O'Brien)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Compiled Elm for FreeBSD?
Date: 3 Nov 1995 10:28:44 GMT
Organization: University of California, Davis
Lines: 20
Message-ID: <47cqss$4fc@mark.ucdavis.edu>
References: <dhawkDHFD3G.2r4@netcom.com>
NNTP-Posting-Host: toadflax.cs.ucdavis.edu
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

David H (dhawk@netcom.com) wrote:
: Has anyone been able to compile elm for FreeBSD 2.0.5?
: over my head, and then when I try to compile I get:
: 
: gcc -fpcc-struct-return -traditional -DDEBUG -g -I../hdrs   -c
: add_site.c
: In file included from ../hdrs/headers.h:83,
:                  from add_site.c:27:
: ../hdrs/defs.h:616: conflicting types for `lseek'
: /usr/include/sys/types.h:84: previous declaration of `lseek'
: *** Error code 1

What version of Elm are you trying to compile?  I have no problems
compiling "Elm v2.4 PL 24 PGP2".  The PGP version is simply version 2.4
PL24 with PGP support.  They strive to change as little as possible to add
this support.  I get no warnings or errors.  Note that I use cc (why not?
It's gcc anyway), and I don't use any of the "-fpcc-struct-return -traditional
 -DDEBUG" flags.  I just took the defaults from ``Configure''.

-- David     (obrien@cs.ucdavis.edu)