This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
unresolvable relocation question
- From: "Daniel Vogel" <vogel at epicgames dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Thu, 15 Nov 2001 23:55:39 -0500
- Subject: unresolvable relocation question
Hi`
I'm having a problem with linking and I'm not sure who to blame for it :)
I'm compiling a shared library with icc (Intel's C++ compiler for Linux) and
it spits out the below warning message when linking and I don't know why. I
tried both the version of binutils that ships with Mandrake 8.1 and today's
(15) snapshot.
Any help is greatly appreciated :)
icc -o
../../System/Core.so -Qoption,link,-rpath,. -shared -Qoption,link,-soname,Co
re.so [snip ... lots of .o files] -lm -ldl -lnsl -lpthread
ld:
../../Core/debug-linux-i386-shared/Core.o(.gnu.linkonce.d.__vtbl__13FOutputD
evice+0xc): unresolvable relocation against symbol `__pure_virtual_called'
[vogel@spetnaz System]$ nm Core.so | grep pure
U __pure_virtual_called
[vogel@spetnaz System]$ ldd Core.so
libm.so.6 => /lib/libm.so.6 (0x401c4000)
libdl.so.2 => /lib/libdl.so.2 (0x401e7000)
libnsl.so.1 => /lib/libnsl.so.1 (0x401eb000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40201000)
libcxa.so.1 => /opt/intel/compiler50/ia32/lib/libcxa.so.1
(0x40218000)
libc.so.6 => /lib/libc.so.6 (0x40221000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
[vogel@spetnaz Warfare]$ nm /opt/intel/compiler50/ia32/lib/libcxa.so.1 |
grep pure
00003504 T __pure_virtual_called
I'm not subscribed to this list so please CC me on replies.
Thanks,
- Daniel Vogel, Programmer, Epic Games Inc.