*BSD News Article 54069


Return to BSD News archive

#! rnews 2628 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!ames!usenet.kornet.nm.kr!xpat.postech.ac.kr!usenet
From: kwak@gloria.postech.ac.kr (Kwak Jong-Geun)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Compiled Elm for FreeBSD?
Date: 06 Nov 1995 19:03:03 +0000
Organization: Pohang University of Science and Technology, Korea
Lines: 41
Sender: kwak@gloria.postech.ac.kr
Message-ID: <2mspk15zx5.fsf@gloria.postech.ac.kr>
References: <dhawkDHFD3G.2r4@netcom.com>
NNTP-Posting-Host: gloria.postech.ac.kr
In-reply-to: dhawk@netcom.com's message of Thu, 2 Nov 1995 16:42:51 GMT
To: dhawk@netcom.com (David H)
X-Newsreader: Gnus v5.0.9

>>>>> "David" == David H <dhawk@netcom.com> writes:
In article <dhawkDHFD3G.2r4@netcom.com> dhawk@netcom.com (David H) writes:


  David> Has anyone been able to compile elm for FreeBSD 2.0.5?
  David> Configure takes me through a lot of options that are way 
  David> over my head, and then when I try to compile I get:

  David> gcc -fpcc-struct-return -traditional -DDEBUG -g -I../hdrs   -c
  David> add_site.c
  David> In file included from ../hdrs/headers.h:83,
  David>                  from add_site.c:27:
  David> ../hdrs/defs.h:616: conflicting types for `lseek'
  David> /usr/include/sys/types.h:84: previous declaration of `lseek'
  David> *** Error code 1

  David> Thanks in advance!

  David> later, david
  David> --
  David> David Hawkins    dhawk@netcom.com
  David> Without hope we live in desire. -- Dante Alighieri

Hi, 
I had such problem in installing most of package, and elm had such problem
too.   In my experience, you can succeed in compiling elm by hiding function
definition of lseek in source file.   I think it is caused different function
type definition between source package and FreeBSD standard header file.
Good luck.

-- 
                   Kwak Jong-Geun                            ,     _/         
                                                            /| _.-~/          
  Knowledge & Linguistic Engineering Lab (KLE lab)         ( /~   /           
              Dept. of Computer Science                    `\\  _/            
Pohang University of Science and Technology (POSTECH)  _-~~~-.)  )___/;;,.    
  San 31, Hyoja-Dong, Pohang, 790-784, South Korea    /'_,\   --~    \ ~~~-   
                                                      `~ _(  ,_..--\ (        
Voice:   +82-562-279-5656      Pager:    012-744-6697  /~~//'     /'`~\       
E-Mail:  kwak@{madonna,vision}.postech.ac.kr          "  `~"    "     "      
                                   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-