Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR pygtk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
giudax18
n00b
n00b


Joined: 15 Sep 2005
Posts: 29

PostPosted: Wed Mar 28, 2007 6:43 am    Post subject: ERROR pygtk Reply with quote

Code:
emerge -av pygtk




Code:
if /bin/sh ../libtool --mode=compile powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.4 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I./gtk   -I/usr/include/pycairo -I/usr/include/cairo   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -O2 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -Wall -std=c9x -MT _gtk_la-gdk.lo -MD -MP -MF ".deps/_gtk_la-gdk.Tpo" -c -o _gtk_la-gdk.lo `test -f 'gdk.c' || echo './'`gdk.c; \
        then mv -f ".deps/_gtk_la-gdk.Tpo" ".deps/_gtk_la-gdk.Plo"; else rm -f ".deps/_gtk_la-gdk.Tpo"; exit 1; fi
 powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.4 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I./gtk -I/usr/include/pycairo -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -Wall -std=c9x -MT _gtk_la-gdk.lo -MD -MP -MF .deps/_gtk_la-gdk.Tpo -c gdk.c  -fPIC -DPIC -o .libs/_gtk_la-gdk.o
/bin/sh ../libtool --mode=link powerpc-unknown-linux-gnu-gcc  -O2 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -Wall -std=c9x   -o _gtk.la -rpath /usr/lib/python2.4/site-packages/gtk-2.0/gtk -module -avoid-version  -export-symbols-regex init_gtk _gtk_la-gtk-types.lo _gtk_la-gtkmodule.lo _gtk_la-gtkobject-support.lo _gtk_la-pygtkcellrenderer.lo _gtk_la-pygtktreemodel.lo _gtk_la-gtk.lo _gtk_la-gdk.lo -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
generating symbol list for `_gtk.la'
/usr/bin/nm -B  .libs/_gtk_la-gtk-types.o .libs/_gtk_la-gtkmodule.o .libs/_gtk_la-gtkobject-support.o .libs/_gtk_la-pygtkcellrenderer.o .libs/_gtk_la-pygtktreemodel.o .libs/_gtk_la-gtk.o .libs/_gtk_la-gdk.o  | sed -n -e 's/^.*[      ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/_gtk.exp
grep -E -e "init_gtk" ".libs/_gtk.exp" > ".libs/_gtk.expT"
mv -f ".libs/_gtk.expT" ".libs/_gtk.exp"
echo "{ global:" > .libs/_gtk.ver
 cat .libs/_gtk.exp | sed -e "s/\(.*\)/\1;/" >> .libs/_gtk.ver
 echo "local: *; };" >> .libs/_gtk.ver
 powerpc-unknown-linux-gnu-gcc -shared  .libs/_gtk_la-gtk-types.o .libs/_gtk_la-gtkmodule.o .libs/_gtk_la-gtkobject-support.o .libs/_gtk_la-pygtkcellrenderer.o .libs/_gtk_la-pygtktreemodel.o .libs/_gtk_la-gtk.o .libs/_gtk_la-gdk.o  /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so -L/usr/lib /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so  -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -Wl,-soname -Wl,_gtk.so -Wl,-version-script -Wl,.libs/_gtk.ver -o .libs/_gtk.so
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../powerpc-unknown-linux-gnu/bin/ld: .libs/_gtk_la-gdk.o(.text+0x2a690): R_PPC_PLTREL24 reloc against local symbol
.libs/_gtk_la-gdk.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [_gtk.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.10.3/work/pygtk-2.10.3/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.10.3/work/pygtk-2.10.3'
make: *** [all] Error 2

!!! ERROR: dev-python/pygtk-2.10.3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3480:   Called src_compile
  pygtk-2.10.3.ebuild, line 55:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-python/pygtk-2.10.3/temp/build.log'.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Mar 28, 2007 12:00 pm    Post subject: Reply with quote

It looks like you're using gcc-3.4.4 instead of the stable gcc-4.1.x. Is there a reason for that? What does your emerge --info look like?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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