Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!xlink.net!zib-berlin.de!irz401!uriah.heep!bonnie.heep!not-for-mail From: j@bonnie.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Can not compile? Date: 11 Sep 1995 11:11:28 +0200 Organization: Private U**x site, Dresden. Lines: 19 Message-ID: <430ug0$sj0@bonnie.tcd-dresden.de> References: <42o9kq$jan@agate.berkeley.edu> <42pb4k$hlr@bonnie.tcd-dresden.de> <42vvhe$1uo@agate.berkeley.edu> Reply-To: joerg_wunsch@uriah.heep.sax.de NNTP-Posting-Host: 192.109.108.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit C.Y. Chiu <chiuc@duke.EECS.Berkeley.EDU> wrote: >>>/usr/lib/crt0.o: Undefined symbol `_getenv' referenced from text segment ... >>What's you "cc" command line? >Just the regular "cc -o something something.c" Which library should I >look for when I ldconfig -r? All the syms you mentioned are supposed to be in libc.{a,so.2.*}. Perhaps your shared lib is kaputt? You can also try linking it statically to force the use of libc.a (cc -o foo -static foo.c). -- cheers, J"org private: joerg_wunsch@uriah.heep.sax.de http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)