x86_64-pc-linux-gnu-g++ -I../lib -I../api -I../db -I../RSAEuro/source -I../client -I../tools -I../sched -I/usr/include/mysql -march=athlon64 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -D_GNU_SOURCE -include ../config.h -O2 -march=athlon64 -pipe -nodefaultlibs -o cgi handle_request.o main.o sched_send.o sched_locality.o sched_timezone.o server_types.o synch.o -pthread -L/var/tmp/portage/boinc-4.72.20050813/work/boinc_public/sched -lsched -L/usr/lib/mysql /usr/lib64/mysql/libmysqlclient.so -L/usr/lib64 -L/usr/lib -lcrypt -lssl -lcrypto -L/var/tmp/portage/boinc-4.72.20050813/work/boinc_public/lib -lboinc -ldl -lnsl -lz /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so -L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lgcc_s -lgcc_eh -lgcc -lm -lpthread -lc -Wl,--rpath -Wl,/usr/lib64/mysql -Wl,--rpath -Wl,/usr/lib64/mysql /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -I../lib -I../api -I../db -I../RSAEuro/source -I../client -I../tools -I../sched -I/usr/include/mysql -march=athlon64 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -D_GNU_SOURCE -pthread -include ../config.h -O2 -march=athlon64 -pipe -pthread -nodefaultlibs -o feeder feeder.o synch.o -L. -lsched -L/usr/lib/mysql -lmysqlclient -L/usr/lib -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto -L../lib -lboinc -ldl -lnsl -lz -lstdc++ -lgcc_eh -lgcc -lm -lpthread -lc sched_locality.o(.text+0x238): In function `make_more_work_for_file(char*)': : undefined reference to `boinc_touch_file' sched_locality.o(.text+0x693): In function `send_results_for_file(char*, int&, SCHEDULER_REQUEST&, SCHEDULER_REPLY&, PLATFORM&, SCHED_SHMEM&, bool)': : undefined reference to `boincerror(int)' sched_locality.o(.text+0x708): In function `send_results_for_file(char*, int&, SCHEDULER_REQUEST&, SCHEDULER_REPLY&, PLATFORM&, SCHED_SHMEM&, bool)': : undefined reference to `boinc_touch_file' server_types.o(.text+0x3150): In function `SCHEDULER_REQUEST::parse(_IO_FILE*)': : undefined reference to `skip_unrecognized(char*, _IO_FILE*)' server_types.o(.text+0x376a): In function `SCHEDULER_REQUEST::parse(_IO_FILE*)': : undefined reference to `skip_unrecognized(char*, _IO_FILE*)' collect2: ld returned 1 exit status Reproducible: Always Steps to Reproduce: 1. 2. 3.
Please provide you emerge info. I have tested this using 2004.3 and 2005.0 profile amd64 machines and have not encountered this error and am unable to reproduce it now.
USE="-X -server" emerge boinc # worked USE="server" emerge boinc # worked emerge boinc # worked (imagine my surprise) Just for the records: Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-r9-ck6 x86_64) ================================================================= System uname: 2.6.12-r9-ck6 x86_64 AMD Athlon(tm) 64 Processor 4000+ Gentoo Base System version 1.6.13 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.12 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 sys-devel/binutils: 2.15.92.0.2-r1, 2.15.92.0.2-r3, 2.15.92.0.2-r9, 2.16-r1, 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/run/dspam /var/service /var/spool/dspam" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg candy ccache distlocks moo sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://194.117.143.70/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LC_ALL="de_DE.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://137.226.34.228/gentoo-portage" USE="X server"