*BSD News Article 67082


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!disco.iinet.net.au!news.uoregon.edu!arclight.uoregon.edu!news.dacom.co.kr!usenet.seri.re.kr!news.cais.net!nntp.primenet.com!news.asu.edu!ennfs.eas.asu.edu!cs.utexas.edu!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Yacc libraries and yyparse
Date: 27 Apr 1996 08:28:58 GMT
Organization: Private FreeBSD site, Dresden
Lines: 17
Message-ID: <4lslsa$89n@uriah.heep.sax.de>
References: <4lmmi8$h4b@news.nstn.ca> <317FB9D0.72C85747@lambert.org>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6

Terry Lambert <terry@lambert.org> writes:

>Or if it's a linker problem, [...]

>Or if it's pulling in the lexer main because link order
>precedence on shared libraries is badly defined.

I think that's the problem.  Both, -ll and -ly define their own
main(), and the library order on the linker command line probably gets
lost when it comes to shared libs.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)