public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* undefined symbol: DW.ref.__gxx_personality_v0
@ 2002-07-30 16:47 Peter Bienstman
  0 siblings, 0 replies; only message in thread
From: Peter Bienstman @ 2002-07-30 16:47 UTC (permalink / raw)
  To: gcc

Hi,

I'm having trouble with an undefined reference to
DW.ref.__gxx_personality_v0 when loading a C++ Python extension module.
I did some digging through the archives, and as far as I can tell, I'm
doing everything alright.

This is what I did:

-install binutils 2.12.1
-install gcc 3.1.1
-use these to recompile python and all the libraries I depend upon (e.g.
BPL V2)
-link my own library with 'c++ -shared ...." rather than with 'cc
-shared'

This is the output of ldd on my library:

ldd _camfr.so
        libbpl.so.1.29.0 => /home/pbienst/local/lib/libbpl.so.1.29.0
(0x4021e000)
        libatlas.so.2 => /usr/lib/libatlas.so.2 (0x4024e000)
        libblas.so.2 => /usr/lib/libblas.so.2 (0x4045b000)
        libg2c.so.0 => /home/pbienst/local/lib/libg2c.so.0 (0x404ac000)
        libstdc++.so.4 => /home/pbienst/local/lib/libstdc++.so.4
(0x404ca000)
        libm.so.6 => /lib/libm.so.6 (0x40534000)
        libc.so.6 => /lib/libc.so.6 (0x40551000)
        libgcc_s.so.1 => /home/pbienst/local/lib/libgcc_s.so.1
(0x4062f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

So it should pick up __gxx_personality_v0 in libstdc++, but for some
reason it doesn't...

Any ideas?

Thanks,

Peter




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-30 18:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-30 16:47 undefined symbol: DW.ref.__gxx_personality_v0 Peter Bienstman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).