I'm not sure if the fault is with hugin, or wxGTK, but I've tested it with hugin 0.5-rc1, 0.5, and 0.6, along with wxGTK 2.4* and all of the assocated 2.6* versions. On top of that I've rebuilt the system a few time to ensure that its not an unrelated problem with the linker or some other libraries, but I only got linker error with hugin and wxGTK. Anyway below is my emerge --info Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gent oo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.15 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 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 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -momit-le af-frame-pointer -fno-ident" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/sh are/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/te x/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -momit- leaf-frame-pointer -fno-ident -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.espri .arizona.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://ftp.ucsb.edu/pub /mirrors/linux/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_US en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d istfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 crypt mmx nls nptl pam sse sse2 ssl tcpd unicode elibc_glibc input_devi ces_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_en_ US linguas_en userland_GNU video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_fbdev video_cards_vga video_cards_v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS Then below is a summarization of the typical errors gotten: huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x14): undefined reference to `wxObject::ReservedObjectFunc1()' huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x18): undefined reference to `wxObject::ReservedObjectFunc2()' huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x1c): undefined reference to `wxObject::ReservedObjectFunc3()' huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x20): undefined reference to `wxObject::ReservedObjectFunc4()' For the complete error log refer to http://dberens.mystarband.net/log.txt This error log is for hugin-0.6, but I suffer the exact same error with hugin-0.5 and hugin-0.5-rc1 Also here's the forum thread where there appearly is 2+ people with similar issues in that hugin fails to compile. http://forums.gentoo.org/viewtopic-p-3494796.html Then finally the steps to reproduct. Step 1: emerge hugin and all its dependencies Step 2: hugin will suffer linking failure/errors primarly with wxGTK library Anyway at the moment, I'm uncertain if its a wxGTK problem or a hugin problem, but wxGTK compiles correctly though.
Remove -fvisibility-inlines-hidden from you CXXFLAGS. *** This bug has been marked as a duplicate of 127020 ***