* shared library creation using -Bsymbolic
@ 2003-09-12 22:45 Umut Aymakoglu
2003-09-13 1:39 ` Jim Wilson
0 siblings, 1 reply; 2+ messages in thread
From: Umut Aymakoglu @ 2003-09-12 22:45 UTC (permalink / raw)
To: linux-ia64
Hi -
I have gcc3(3.0.4) installed on my machine with the ld(2.11.90.0.8). The
following compile fails. Has anybody seen a similar thing?
thanks,
Umut
a.c:
a()
{
call_func();
}
void call_func()
{
b();
}
%gcc3 -fPIC -c a.c
%gcc3 -shared -o a.sl a.o ---> works
%gcc3 -Wl,-Bsymbolic -shared -o a.sl a.o ----> fails
a.o: In function 'call_func':
a.c:8 undefined reference to 'b'
collect2: ld returned 1 exit status
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-13 1:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-12 22:45 shared library creation using -Bsymbolic Umut Aymakoglu
2003-09-13 1:39 ` Jim Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox