Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unresolved Symbols in libgcc.a
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
JaguarIV
n00b
n00b


Joined: 16 Aug 2002
Posts: 21
Location: Fremont, California

PostPosted: Thu Mar 06, 2003 7:03 pm    Post subject: Unresolved Symbols in libgcc.a Reply with quote

Ok. Here's the problem. I am trying to get a pre-compiled version (no source available) of SGI Performer 2.4 working under Gentoo. Gentoo is a new 1.4_rc3 install using gcc 3.2.2. When compiling my application, which uses Performer libraries, I get the following erros:
Code:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libpf_ogl.so: undefined reference to `__pure_virtual'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libpf_ogl.so: undefined reference to `__rtti_user'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libpf_ogl.so: undefined reference to `__rtti_si'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libpf_ogl.so: undefined reference to `__check_eh_spec'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libpf_ogl.so: undefined reference to `__throw'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libpf_ogl.so: undefined reference to `terminate(void)'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libpf_ogl.so: undefined reference to `__cp_pop_exception'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libpf_ogl.so: undefined reference to `__builtin_vec_new'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libpf_ogl.so: undefined reference to `__cp_eh_info'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libpf_ogl.so: undefined reference to `__builtin_delete'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libpf_ogl.so: undefined reference to `__builtin_new'


I have traced to problem to the fact that neither libgcc, nor libstdc++ contain these symbols. I tried a work-around https://forums.gentoo.org/viewtopic.php?t=35008&postdays=0&postorder=asc&start=25 that was used for mozilla and the same problem. This work-around only worked for a couple of the symbols, namely __pure_virtual and the builtin_ bunch. I am attempting to migrate from Redhat to Gentoo on my work machine, and I found that if I use the Redhat libgcc and libstdc++ (2.95) libraries, then the build is successful (I have not tried running it yet as I am currently under Redhat.) I don't know that this is necessarily a Gentoo problem, but I don't know enough about gcc and glibc to know the difference. Perhaps some one can bring some light to the subject.

Thanks,
_________________
JaguarIV
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Mar 06, 2003 7:50 pm    Post subject: Reply with quote

Could you try installing lib-compat?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
JaguarIV
n00b
n00b


Joined: 16 Aug 2002
Posts: 21
Location: Fremont, California

PostPosted: Mon Mar 10, 2003 5:00 pm    Post subject: That is what I needed. Reply with quote

Thanks for the reply. I finally figured out that is what I needed.
_________________
JaguarIV
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum