Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem compiling gtk+ with gcc-3.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Fri Jun 07, 2002 2:44 pm    Post subject: problem compiling gtk+ with gcc-3.1 Reply with quote

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.
Back to top
View user's profile Send private message
alec
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 270
Location: Here

PostPosted: Fri Jun 07, 2002 4:08 pm    Post subject: Reply with quote

Try posting this in the GCC 3 forum. This thread might be of some assistance.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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