View previous topic :: View next topic |
Author |
Message |
amigafan Tux's lil' helper
Joined: 10 Jul 2003 Posts: 134 Location: Ahrensburg, Germany
|
Posted: Sun Oct 10, 2004 3:37 pm Post subject: Cannot emerge xorg |
|
|
Hi,
I've a fresh stage3 install of gentoo 2004.2 with the experimental stage3. I've updated the system with . This worked well. Now I want to install x.org but it fails with some undefined references in libGLU.so . This happens with both, the 6.8 and the 6.7 release of x.org. Code: | CFLAGS="-march=k8 -O2 -pipe" | Any ideas? |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Oct 10, 2004 4:01 pm Post subject: |
|
|
post the error output!
cheers
SteveB |
|
Back to top |
|
|
amigafan Tux's lil' helper
Joined: 10 Jul 2003 Posts: 134 Location: Ahrensburg, Germany
|
Posted: Sun Oct 10, 2004 5:14 pm Post subject: |
|
|
ah yes sorry Here it is: Code: | gcc -o glxinfo -march=k8 -O2 -pipe -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -L../../exports/lib glxinfo.o
-lGLU -lGL -lXext -lX11 -lpthread -lm -Wl,-rpath-link,../../exports/lib
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by ../../exports/lib/libGLU.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libgcc_s.so.1, needed by ../../exports/lib/libGLU.so, not found (try using -rpath or -rpath-link)
../../exports/lib/libGLU.so: undefined reference to `_Unwind_Resume@GCC_3.0'
../../exports/lib/libGLU.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'
../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@CXXABI_1.3'
../../exports/lib/libGLU.so: undefined reference to `operator delete[](void*)@GLIBCXX_3.4'
../../exports/lib/libGLU.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.3'
../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3'
../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'
../../exports/lib/libGLU.so: undefined reference to `operator new[](unsigned long)@GLIBCXX_3.4'
../../exports/lib/libGLU.so: undefined reference to `__gxx_personality_v0@CXXABI_1.3'
../../exports/lib/libGLU.so: undefined reference to `operator new(unsigned long)@GLIBCXX_3.4'
collect2: ld gab 1 als Ende-Status zurück
make[4]: *** [glxinfo] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc/programs/glxinfo'
make[3]: *** [all] Fehler 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc/programs'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc'
make[1]: *** [World] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc'
make: *** [World] Fehler 2
!!! ERROR: x11-base/xorg-x11-6.8.0-r1 failed.
!!! Function src_compile, Line 626, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Oct 10, 2004 6:01 pm Post subject: |
|
|
amigafan wrote: | Code: | gcc -o glxinfo -march=k8 -O2 -pipe -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -L../../exports/lib glxinfo.o
-lGLU -lGL -lXext -lX11 -lpthread -lm -Wl,-rpath-link,../../exports/lib
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by ../../exports/lib/libGLU.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libgcc_s.so.1, needed by ../../exports/lib/libGLU.so, not found (try using -rpath or -rpath-link) |
|
this shows me that something is wrong with your gcc configuration or setup. if i search for the missing files i get the following: Code: | root@gentoo / # qpkg -I -nc -v -f /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.2/libstdc++.so.6
sys-devel/gcc-3.4.2-r2
root@gentoo / # qpkg -I -nc -v -f /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.2/libgcc_s.so.1
sys-devel/gcc-3.4.2-r2
root@gentoo / # |
could you try to set the gcc version used with gcc-config? i see you use x86_64. don't know if you need to do something special about that. on my system i would do: Code: | ldconfig
gcc-config i686-pc-linux-gnu-3.4.2
env-udpate
source /etc/profile |
and then remerge xorg?
or could you try to rebuild glibc and gcc and then try again to build xorg?
cheers
SteveB |
|
Back to top |
|
|
amigafan Tux's lil' helper
Joined: 10 Jul 2003 Posts: 134 Location: Ahrensburg, Germany
|
Posted: Sun Oct 10, 2004 7:51 pm Post subject: |
|
|
Thank you, that worked fine! But I still don't know why . There was only one gcc so there couldn't be the wrong one selected!? |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Oct 10, 2004 8:14 pm Post subject: |
|
|
i don't know exactly what the problem is. i had the same stuff on my system and gcc-config fixed it.
cheers / Grüsse
SteveB |
|
Back to top |
|
|
|