The build fails because of casts from const void* to various types. I'm attaching a log of the entire compilation, since it's too big to just paste inline. my /usr/src/linux is actually sys-kernel/gentoo-sources-2.6.16-r7, but I'm running emerge while chrooted from Ubuntu Dapper. So ignore the kernel, basically. # emerge --info Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.3.6-r3, 2.6.15-23-k7 i686) ================================================================= System uname: 2.6.15-23-k7 i686 Mobile AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 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.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon-xp" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe -march=athlon-xp" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://distfiles.gentoo.org/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_CA.UTF-8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/portage/overlay" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X X509 Xaw3d a52 aac aalib acpi alsa apache2 arts asf asm audiofile avahi avi bash-completion berkdb bitmap-fonts bl bootsplash branding bzip2 cairo cddb cdparanoia cdr chroot cjk cli cpudetection crypt cscope ctype cups curl curlwrappers dbus dhcp doc dri dts dv dvd dvdr dvdread dvi edl eds emboss encode esd exif expat fam fat fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm gif gimp gimpprint glitz gmp gnome gnutls gpm gs gstreamer gtk gtk2 gtkhtml hal hfs hpn iconv idn ieee1394 imagemagick imlib ipv6 isdnlog java javascript jfs joystick jpeg jpeg2k kde kdeenablefinal lcms ldap libcaca libg++ libwww lirc live logitech-mouse logrotate lua lzo mad matroska md5sum memlimit mikmod mjpeg mmap mmx mmxext mng motif mp3 mpeg mplayer multicall musicbrainz mysql nas nautilus ncurses network new-login nfs nls nntp no-htdocs nptl nptlonly nsplugin ntfs offensive ogg oggvorbis on-the-fly-crypt openal opengl oss pam pcmcia pcre pda pdf pdflib perl php png povray ppds pppd python qt quicktime rdesktop readline real reflection reiser4 reiserfs rtc ruby samba sasl scanner sdl session simplexml slp soap sockets speex spell spl sqlite sse sse2 ssl startup-notification subtitles svg svga syslog t1lib tcpd tetex tga theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vidix vim-with-x vorbis vv wifi win32codecs wmf xanim xcomposite xfs xine xinerama xml2 xorg xpm xprint xrandr xscreensaver xv xvid xvmc zeroconf zlib video_cards_ati video_cards_fglrx input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Created attachment 87749 [details] log of pose compilation
Starge enough, your issue is reported in some other bugreports, but just for AMD64. On my x86 gcc-4.1.1 system it doesn't emerge but with a different log: ../BuildUnix/../SrcShared/EmStream.h: In member function 'EmStream& EmStream::operator>>(std::deque<T, std::allocator<_CharT> >&)': ../BuildUnix/../SrcShared/EmStream.h:93: error: expected `;' before 'iter' ../BuildUnix/../SrcShared/EmStream.h:94: error: 'iter' was not declared in this scope ../BuildUnix/../SrcShared/EmStream.h: In member function 'EmStream& EmStream::operator>>(std::list<T, std::allocator<_CharT> >&)': ../BuildUnix/../SrcShared/EmStream.h:111: error: expected `;' before 'iter' ../BuildUnix/../SrcShared/EmStream.h:112: error: 'iter' was not declared in this scope ../BuildUnix/../SrcShared/EmStream.h: In member function 'EmStream& EmStream::operator>>(std::vector<T, std::allocator<_CharT> >&)': ../BuildUnix/../SrcShared/EmStream.h:129: error: expected `;' before 'iter' ../BuildUnix/../SrcShared/EmStream.h:130: error: 'iter' was not declared in this scope ../BuildUnix/../SrcShared/EmStream.h: In member function 'EmStream& EmStream::operator<<(const std::deque<T, std::allocator<_CharT> >&)': ../BuildUnix/../SrcShared/EmStream.h:146: error: expected `;' before 'iter' ../BuildUnix/../SrcShared/EmStream.h:147: error: 'iter' was not declared in this scope ../BuildUnix/../SrcShared/EmStream.h: In member function 'EmStream& EmStream::operator<<(const std::list<T, std::allocator<_CharT> >&)': ../BuildUnix/../SrcShared/EmStream.h:163: error: expected `;' before 'iter' ../BuildUnix/../SrcShared/EmStream.h:164: error: 'iter' was not declared in this scope ../BuildUnix/../SrcShared/EmStream.h: In member function 'EmStream& EmStream::operator<<(const std::vector<T, std::allocator<_CharT> >&)': ../BuildUnix/../SrcShared/EmStream.h:180: error: expected `;' before 'iter' ../BuildUnix/../SrcShared/EmStream.h:181: error: 'iter' was not declared in this scope ../BuildUnix/../SrcUnix/EmApplicationFltk.h: In constructor 'EmApplicationFltk::EmApplicationFltk()': ../BuildUnix/../SrcUnix/EmApplicationFltk.h:44: warning: 'EmApplicationFltk::fClipboardWidget' will be initialized after ../BuildUnix/../SrcUnix/EmApplicationFltk.h:43: warning: 'EmWindowFltk* EmApplicationFltk::fAppWindow' ../BuildUnix/../SrcUnix/EmApplicationFltk.cpp:116: warning: when initialized here make[1]: *** [EmApplicationFltk.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/pose-3.5-r4/work/Emulator_Src_3.5/build-normal' make: *** [all-recursive] Error 1 !!! ERROR: app-emulation/pose-3.5-r4 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile pose-3.5-r4.ebuild, line 57: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant.
Removed