Date: Tue, 19 Dec 2000 15:53:33 +0000 (GMT) From: Carlos A M dos Santos <casantos@cpmet.ufpel.tche.br> To: Andrey Sverdlichenko <blaze@infosec.ru> Cc: FreeBSD-gnats-submit@FreeBSD.ORG, GNATS Management <gnats-admin@FreeBSD.ORG>, freebsd-bugs@FreeBSD.ORG Subject: Re: i386/23643: dlopen() can't link to symbols in main program module Message-ID: <Pine.BSF.4.21.0012191552390.7285-100000@gate.cpmet.ufpel.tche.br> In-Reply-To: <868zpcqyaq.fsf@xen.infosec.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 19 Dec 2000, the fast fingers of Andrey Sverdlichenko wrote: AS> 0:xen:test_so$ make AS> gcc -fpic -DPIC -O -pipe -Wall -c lib.c AS> cc -shared -o lib.so lib.o AS> gcc -g -fpic -DPIC -Wall -o prog main.c AS> AS> 0:xen:test_so$ ./prog AS> dlopen: ./lib.so: Undefined symbol "str" gcc -g -fpic -DPIC -Wall -export-dynamic -o prog main.c ^^^^^^^^^^^^^^^ man ld -- Carlos A. M. dos Santos Federal University of Pelotas Meteorological Research Center Av. Ildefonso Simoes Lopes 2791 Pelotas, RS, Brasil, CEP 96060-290 WWW: http://www.cpmet.ufpel.tche.br RENPAC (X.25): 153231641 Phone: +55 53 277-6767 FAX: +55 53 277-6722 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012191552390.7285-100000>