I'm trying to compile net-p2p/amule with armeb-softfloat-linux-uclibc an no GUI (-X). wxGTK compiles fine in all versions, but this error occurs when compiling amule: MuleDebug.cpp:36:23: execinfo.h: No such file or directory MuleDebug.cpp: In function `wxString get_backtrace(unsigned int)': MuleDebug.cpp:291: error: `backtrace' was not declared in this scope MuleDebug.cpp:291: warning: unused variable 'backtrace' MuleDebug.cpp:296: error: `backtrace_symbols' was not declared in this scope MuleDebug.cpp:296: warning: unused variable 'backtrace_symbols' make[4]: *** [libmulecommon_a-MuleDebug.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/amule-2.1.3/work/aMule-2.1.3/src/libs/common' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/amule-2.1.3/work/aMule-2.1.3/src/libs' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/amule-2.1.3/work/aMule-2.1.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/amule-2.1.3/work/aMule-2.1.3' make: *** [all] Error 2 !!! ERROR: net-p2p/amule-2.1.3 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile amule-2.1.3.ebuild, line 104: Called die I've tried it with several versions, pre and post 2.1 and every time this message is shown. My USE flags in package.use are net-p2p/amule -gtk -unicode amuled remote -stats x11-libs/wxGTK -unicode -gtk -gtk2 -wxgtk1 as far as I can tell from using google, execinfo belongs to glibc, which should not be searched here. There seems to be a similar problem when compiling on freeBSD, which ist explained here: http://www.amule.org/wiki/index.php?title=Install-amule-freebsd#Patch_2 my emerge --info: Portage 2.1-r2 (uclibc/arm, gcc-3.4.6, uclibc-0.9.28-r0, 2.6.16 armv5teb) ================================================================= System uname: 2.6.16 armv5teb XScale-IXP42x Family rev 1 (v5b) Gentoo Base System version 1.6.15 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] 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="arm" AUTOCLEAN="yes" CBUILD="armeb-softfloat-linux-uclibc" CFLAGS="-march=armv5t -mtune=xscale -Os" CHOST="armeb-softfloat-linux-uclibc" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=armv5t -mtune=xscale -Os" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="arm apache2 berkdb bitmap-fonts bzip2 cli dlloader doc dri exif logrotate ncurses pcre perl php python readline reflection session spl ssl syslog truetype-fonts type1-fonts uclibc unicode xml xorg zlib elibc_uclibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_dummy video_cards_fbdev video_cards_v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
*** Bug 146698 has been marked as a duplicate of this bug. ***
yeah, amule should make sure execinfo.h is provided and if not, stub out its backtrace calls ... those functions are a total GNUism
Forwardered this issue upstream, but it's quite possible that it'll not be fixed there soon - such reports are good with patches.
I got this error when compiling amule: ----------------------------------------------------------------------------- Compiling TerminationProcess.cpp Compiling TerminationProcessAmuleweb.cpp Compiling UserEvents.cpp Compiling OtherFunctions.cpp Compiling NetworkFunctions.cpp Linking amule amule-CatDialog.o: In function `CCatDialog::OnBnClickColor(wxCommandEvent&)': CatDialog.cpp:(.text+0x4e9): undefined reference to `wxColour::IsOk() const' amule-PrefsUnifiedDlg.o: In function `PrefsUnifiedDlg::OnButtonColorChange(wxCommandEvent&)': PrefsUnifiedDlg.cpp:(.text+0x5323): undefined reference to `wxColour::IsOk() const' collect2: ld return 1 make[3]: *** [amule] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 * * ERROR: net-p2p/amule-2.2.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2499: Called die * The specific snippet of code: * emake -j1 || die * The die message: * (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/net-p2p/amule-2.2.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/amule-2.2.1/temp/environment'. ---------------------------------------------------------------------------- I have got same error with several versions too. My USE: net-p2p/amule-2.2.1 "gtk nls unicode -daemon% -debug -geoip% -remote -stats -upnp% (-amuled%)" wxGTK-2.8.7.1-r2 X gnome opengl -debug -doc -gstreamer -odbc -pch -sdl default-linux/x86/2006.1, gcc-4.2.1, glibc-2.6.1-r0, 2.6.22-gentoo-r5vvgloo i686
This is resolved upstream. See also bug #441676.