DLL linking question

lxl@my-deja.com lxl@my-deja.com
Thu Dec 16 19:20:00 GMT 1999


Hi:

I have a simple question regarding to dll.

I have a function foo1() calling dl_foo2() which is in a DLL(dll.so);
dl_foo2() calls another function foo3() which is not in DLL but in one
of my obj files. I did not have problem when link but at run-time just
before calling of foo3() dll.so complains about could not find foo3().
nm -s should foo3() from dll.so marked 'U'.

Now the question: Is there any way to tell dll.so(or LD) that the
function is outside of the DLL?

Thanks.


Sent via Deja.com http://www.deja.com/
Before you buy.


More information about the Gcc-help mailing list