View previous topic :: View next topic |
Author |
Message |
JaguarIV n00b
Joined: 16 Aug 2002 Posts: 21 Location: Fremont, California
|
Posted: Thu Mar 06, 2003 7:03 pm Post subject: Unresolved Symbols in libgcc.a |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Mar 06, 2003 7:50 pm Post subject: |
|
|
Could you try installing lib-compat? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
JaguarIV n00b
Joined: 16 Aug 2002 Posts: 21 Location: Fremont, California
|
Posted: Mon Mar 10, 2003 5:00 pm Post subject: That is what I needed. |
|
|
Thanks for the reply. I finally figured out that is what I needed. _________________ JaguarIV |
|
Back to top |
|
|
|
|
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
|
|