Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 1998 16:34:57 -0700 (PDT)
From:      Jin Guojun (FTG staff) <jin@george.lbl.gov>
To:        jdp@polstra.com, mike@smith.net.au
Cc:        hackers@FreeBSD.ORG
Subject:   Re: ld for loading dynamic library changed in 3.0-RELEASE?
Message-ID:  <199810222334.QAA08678@george.lbl.gov>

next in thread | raw e-mail | index | archive | help
> > Er, hang on a moment.  Are you linking with -aout?
>  
> Yes, he is.  You can tell by the leading underscores.

I may copied wrong lines, and here they are:

test.lbl.gov: cc -o test test.c -ltest 
/usr/libexec/elf/ld: cannot open -ltest: No such file or directory
test.lbl.gov: cc -o test test.c -L/usr/local/lib -ltest 
/usr/local/lib/libtest.so: undefined reference to `b_printf'
/usr/local/lib/libtest.so: undefined reference to `c_printf'


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810222334.QAA08678>