My GCC varsion is gcc-4.1.1 and the boinc emerge dies on compile stage with the following errors. x86_64-pc-linux-gnu-g++ -fPIC -DPIC -I../lib -I../api -I../db -I../client -I../tools -I../sched -I/usr/include/mysql -march=k8 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -march=k8 -O3 -pipe -I/usr/include -I/usr/include/openssl -Wl,-rpath -Wl,/usr/lib64 -march=k8 -O3 -pipe -o cgi handle_request.o main.o sched_array.o sched_hr.o sched_resend.o sched_send.o sched_locality.o sched_timezone.o server_types.o synch.o -Wl,-rpath -Wl,/usr/lib64 -march=k8 -O3 -pipe -pthread -L/var/tmp/portage/boinc-5.5.6/work/boinc-5.5.6/lib -L/usr/lib64 -L/usr/lib -L/var/tmp/portage/boinc-5.5.6/work/boinc-5.5.6/sched -lsched -L/usr/lib64/mysql -lmysqlclient -lcrypt -lboinc -lnsl /usr/lib64/libcurl.so -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv /usr/lib64/libidn.so -lssl -lcrypto -ldl -lz -lpthread -lm -lstdc++ -lgcc_eh -lgcc -lc handle_request.o: In function `handle_results(SCHEDULER_REQUEST&, SCHEDULER_REPLY&)': handle_request.C:(.text+0x2bce): undefined reference to `fpops_to_credit(double, double)' handle_request.C:(.text+0x2de4): undefined reference to `fpops_to_credit(double, double)' sched_resend.o: In function `resend_lost_work(SCHEDULER_REQUEST&, SCHEDULER_REPLY&, PLATFORM&, SCHED_SHMEM&)': sched_resend.C:(.text+0x2ae): undefined reference to `DB_RESULT::mark_as_sent(int)' sched_send.o: In function `add_result_to_reply(DB_RESULT&, WORKUNIT&, SCHEDULER_REQUEST&, SCHEDULER_REPLY&, PLATFORM&, APP*, APP_VERSION*)': sched_send.C:(.text+0xcf1): undefined reference to `DB_RESULT::mark_as_sent(int)' /usr/lib64/libsched.a(sched_config.o): In function `SCHED_CONFIG::parse(char*)': sched_config.C:(.text+0xbf): undefined reference to `parse_int(char const*, char const*, int&)' sched_config.C:(.text+0x258): undefined reference to `parse_int(char const*, char const*, int&)' sched_config.C:(.text+0x26e): undefined reference to `parse_int(char const*, char const*, int&)' sched_config.C:(.text+0x284): undefined reference to `parse_int(char const*, char const*, int&)' sched_config.C:(.text+0x29a): undefined reference to `parse_int(char const*, char const*, int&)' /usr/lib64/libsched.a(sched_config.o):sched_config.C:(.text+0x2b0): more undefined references to `parse_int(char const*, char const*, int&)' follow /usr/lib64/libsched.a(sched_config.o): In function `SCHED_CONFIG::parse(char*)': sched_config.C:(.text+0x36f): undefined reference to `match_tag(char const*, char const*)' /usr/lib64/libsched.a(db_base.o): In function `escape_string(char*, int)': db_base.C:(.text+0xbc9): undefined reference to `safe_strncpy(char*, char const*, int)' collect2: ld returned 1 exit status make[2]: *** [cgi] Error 1 make[2]: Leaving directory `/var/tmp/portage/boinc-5.5.6/work/boinc-5.5.6/sched' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/boinc-5.5.6/work/boinc-5.5.6' make: *** [all] Error 2 !!! ERROR: sci-misc/boinc-5.5.6 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile boinc-5.5.6.ebuild, line 67: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-gentoo x86_64) ================================================================= System uname: 2.6.17-gentoo x86_64 AMD Opteron(tm) Processor 240 Gentoo Base System version 1.6.15 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] 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-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="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en fi" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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://trumpetti.ip6.atm.tut.fi/gentoo-portage" USE="amd64 X a52 aac acl aotuv apache2 async avi bash-completion berkdb bitmap-fonts calendar cli crosscompile crypt ctype cups dbus dlloader dri dts eds emacs emboss encode erandom extraengine ffmpeg firefox font-server foomaticdb fortran gcj geoip gif gnome gpm gstreamer gtk gtk2 hdf5 hpn imlib inline ipv6 isdnlog java jpeg kde kerberos logrotate lzw lzw-tiff motif mp3 mpeg mpm-worker mysql mysqli nas ncurses network nls nptl nptlonly ogg opengl pam pcre pdf pdflib perl png pppd profile python qt qt3 qt4 quicktime quotas quotes readline reflection samba sdl server session skey soap sockets spell spl sql sqlite srp ssl swat symlink syslog tcpd theora threads tiff truetype-fonts type1-fonts unicode usb utf8 vhosts vorbis webdav xorg xpm xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en linguas_fi userland_GNU video_cards_radeon video_cards_vesa video_cards_vga video_cards_vmware" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
This happens also on x86.
I think the x86 solution to this bug will do the trick for AMD64 also.
And what's the solution?
Updating wxGTK to unstable fixes this (currently 2.6.3.3).
(In reply to comment #4) > Updating wxGTK to unstable fixes this (currently 2.6.3.3). > That's not the solution. At the time I've joined the solution I've had the most recent WXGTK at that time (2.6.3.2, the one before you're talking about). Anyways, I've trying one more time, and (of course) it failed but I managed to revisit the fail, and the bug, and I've found: /usr/lib64/libsched.a(sched_config.o): In function `SCHED_CONFIG::parse(char*)': that, apparently, was causing the problem. (In my system, x86, /usr/lib/libsched.a) I've searched (with a "equery b") which package contained this library, and, surprise! Yeah, it was boinc. So I unmerged previous boinc and emerged 5.5.6. Finally I've managed to get it compiled.
As there is only one person in CC list, I think I can resolve this one, because the current boinc version 5.8.15 compiles fine.