Klavs Guru
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Fri Jun 07, 2002 2:44 pm Post subject: problem compiling gtk+ with gcc-3.1 |
|
|
hi guys,
I've compiled/installed my gentoo 1.3-gcc3-test-stage1.tbz2 and have gotten as far so my system can now boot.. I tried emerge KDE and now it stops with gtk+
I also tried to emerge the gtk+ package with -i686 -02 flags.. but still the same problem.
I can't find any instances of this error message on google
I hope you have any ideas, cause I'm at a loss.
I get this - why, oh why?
gcc -march=athlon -m3dnow -mmmx -O3 -pipe -Wall -o .libs/testinput testinput.o -rdynamic ./.libs/libgtk.so ../gdk/.libs/libgdk.so -L/usr/X11R6/lib -lXi -lXext -lX11 -L/usr/lib /usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lm
./.libs/libgtk.so: undefined reference to `_Xsetlocale'
collect2: ld returned 1 exit status
make[2]: *** [testinput] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r8/work/gtk+-1.2.10/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r8/work/gtk+-1.2.10'
make: *** [all-recursive-am] Error 2
make all-recursive
make[1]: Entering directory `/var/tmp/portage/gtk+-1.2.10-r8/work/gtk+-1.2.10'
Making all in po
make[2]: Entering directory `/var/tmp/portage/gtk+-1.2.10-r8/work/gtk+-1.2.10/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r8/work/gtk+-1.2.10/po'
Making all in gdk
make[2]: Entering directory `/var/tmp/portage/gtk+-1.2.10-r8/work/gtk+-1.2.10/gdk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r8/work/gtk+-1.2.10/gdk'
Making all in gtk
make[2]: Entering directory `/var/tmp/portage/gtk+-1.2.10-r8/work/gtk+-1.2.10/gtk'
/bin/sh ../libtool --mode=link gcc -march=athlon -m3dnow -mmmx -O3 -pipe -Wall -o testgtk testgtk.o libgtk.la ../gdk/libgdk.la -L/usr/X11R6/lib -lXi -lXext -lX11 -L/usr/lib -rdynamic -lgmodule -lglib -ldl -lm
gcc -march=athlon -m3dnow -mmmx -O3 -pipe -Wall -o .libs/testgtk testgtk.o -rdynamic ./.libs/libgtk.so ../gdk/.libs/libgdk.so -L/usr/X11R6/lib -lXi -lXext -lX11 -L/usr/lib /usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lm
./.libs/libgtk.so: undefined reference to `_Xsetlocale'
collect2: ld returned 1 exit status
make[2]: *** [testgtk] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r8/work/gtk+-1.2.10/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r8/work/gtk+-1.2.10'
make: *** [all-recursive-am] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 49, Exitcode 2
!!! (no error message)
!!! emerge aborting on /usr/portage/x11-libs/gtk+/gtk+-1.2.10-r8.ebuild . _________________ Best regards,
Klavs Klavsen
Denmark
Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38. |
|