This is the error I get: powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -DHAVE_XFIXES -O2 -mcpu=G4 -mtune=G4 -mabi=altivec -pipe -MT libgstximagesink_la-gstximageplugin.lo -MD -MP -MF .deps/libgstximagesink_la-gstximageplugin.Tpo -c gstximageplugin.c -fPIC -DPIC -o .libs/libgstximagesink_la-gstximageplugin.o ximagesrc.c: In function 'gst_ximagesrc_change_state': ximagesrc.c:443: error: 'struct _GstXimagesrc' has no member named 'damage_event_base' make[3]: *** [libgstximagesink_la-ximagesrc.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11/sys/ximage' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11/sys' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11' make: *** [all] Error 2 !!! ERROR: media-libs/gst-plugins-0.8.11 failed. !!! Function src_compile, Line 52, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. # emerge info Portage 2.0.51.22-r3 (default-linux/ppc/2005.1/ppc/G4, gcc-4.0.2, glibc-2.3.5-r2, 2.6.14-rc5 ppc) ================================================================= System uname: 2.6.14-rc5 ppc 7447A, altivec supported Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -pipe -fomit-frame-pointer" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentopia" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X a52 aac acl alsa altivec berkdb bitmap-fonts bluetooth cairo cdr crypt cups dbus dga dri dvd dvdr eds emboss evo fbcon firefox flac fortran gif gimpprint glitz gnome gphoto2 gpm gstreamer gtk gtk2 hal howl ieee1394 ipv6 jpeg libwww logrotate matroska mng mono mp3 mpeg nautilus ncurses nfs nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pci pdflib perl pic pie png pnp posix ppds python readline samba scanner spell ssl svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LINGUAS
Oops sorry, that was my mistake. Since I use modular X I didn't have libXdamage installed so gst-plugins didn't compile. You can remove that bug...
Well, there's apparently another problem now. When doing gst-register-0.8 I get: ERROR: Caught a segmentation fault while loading plugin file: /usr/lib/gstreamer-0.8/libgstvideotestsrc.so Please either: - remove it and restart. - run with --gst-disable-segtrap and debug. removing that file shows the same problem with libgstvideobalance.so
This is all related to the problem of liboil and ppc: http://bugs.gentoo.org/show_bug.cgi?id=109270
This now works fine since liboil-0.3.6 is in portage, see bug 109270