>>> Unpacking source... >>> Unpacking fann-2.1.0beta.zip to /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work * Applying fann-2.1.0_beta-python.patch ...  [ ok ] * Applying fann-2.1.0_beta-benchmark.patch ...  [ ok ] * Applying fann-2.1.0_beta-examples.patch ...  [ ok ] >>> Source unpacked in /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work >>> Compiling source in /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0 ... * econf: updating fann-2.1.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating fann-2.1.0/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... no checking for i686-pc-linux-gnu-f77... no checking for i686-pc-linux-gnu-xlf... no checking for i686-pc-linux-gnu-frt... no checking for i686-pc-linux-gnu-pgf77... no checking for i686-pc-linux-gnu-fort77... no checking for i686-pc-linux-gnu-fl32... no checking for i686-pc-linux-gnu-af77... no checking for i686-pc-linux-gnu-f90... no checking for i686-pc-linux-gnu-xlf90... no checking for i686-pc-linux-gnu-pgf90... no checking for i686-pc-linux-gnu-epcf90... no checking for i686-pc-linux-gnu-f95... no checking for i686-pc-linux-gnu-fort... no checking for i686-pc-linux-gnu-xlf95... no checking for i686-pc-linux-gnu-ifc... no checking for i686-pc-linux-gnu-efc... no checking for i686-pc-linux-gnu-pgf95... no checking for i686-pc-linux-gnu-lf95... no checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ static flag -static works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gfortran static flag -static works... yes checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for gettimeofday... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating fann.pc config.status: creating fann.spec config.status: creating src/include/config.h config.status: src/include/config.h is unchanged config.status: executing depfiles commands make -j14 Making all in src make[1]: Entering directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src' Making all in include make[2]: Entering directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src/include' make all-am make[3]: Entering directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src/include' make[3]: Leaving directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src/include' make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src/include' make[2]: Entering directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src' if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src/include -D_REENTRANT -O2 -pipe -MT floatfann.lo -MD -MP -MF ".deps/floatfann.Tpo" -c -o floatfann.lo floatfann.c; \ then mv -f ".deps/floatfann.Tpo" ".deps/floatfann.Plo"; else rm -f ".deps/floatfann.Tpo"; exit 1; fi if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src/include -D_REENTRANT -O2 -pipe -MT doublefann.lo -MD -MP -MF ".deps/doublefann.Tpo" -c -o doublefann.lo doublefann.c; \ then mv -f ".deps/doublefann.Tpo" ".deps/doublefann.Plo"; else rm -f ".deps/doublefann.Tpo"; exit 1; fi if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src/include -D_REENTRANT -O2 -pipe -MT fixedfann.lo -MD -MP -MF ".deps/fixedfann.Tpo" -c -o fixedfann.lo fixedfann.c; \ then mv -f ".deps/fixedfann.Tpo" ".deps/fixedfann.Plo"; else rm -f ".deps/fixedfann.Tpo"; exit 1; fi mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src/include -D_REENTRANT -O2 -pipe -MT floatfann.lo -MD -MP -MF .deps/floatfann.Tpo -c floatfann.c -fPIC -DPIC -o .libs/floatfann.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src/include -D_REENTRANT -O2 -pipe -MT fixedfann.lo -MD -MP -MF .deps/fixedfann.Tpo -c fixedfann.c -fPIC -DPIC -o .libs/fixedfann.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src/include -D_REENTRANT -O2 -pipe -MT doublefann.lo -MD -MP -MF .deps/doublefann.Tpo -c doublefann.c -fPIC -DPIC -o .libs/doublefann.o In file included from fixedfann.c:26: fann.c: In function 'fann_seed_rand': fann.c:1543: warning: ignoring return value of 'fread', declared with attribute warn_unused_result In file included from fixedfann.c:27: fann_io.c: In function 'fann_create_from_fd': fann_io.c:376: warning: ignoring return value of 'fread', declared with attribute warn_unused_result fann_io.c:463: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:465: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:480: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:482: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:498: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:571: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:598: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src/include -D_REENTRANT -O2 -pipe -MT fixedfann.lo -MD -MP -MF .deps/fixedfann.Tpo -c fixedfann.c -o fixedfann.o >/dev/null 2>&1 In file included from doublefann.c:26: fann.c: In function 'fann_seed_rand': fann.c:1543: warning: ignoring return value of 'fread', declared with attribute warn_unused_result In file included from doublefann.c:27: fann_io.c: In function 'fann_create_from_fd': fann_io.c:376: warning: ignoring return value of 'fread', declared with attribute warn_unused_result fann_io.c:463: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:465: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:480: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:482: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:498: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:549: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:550: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:551: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:552: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:554: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:555: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:556: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:557: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:571: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:598: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src/include -D_REENTRANT -O2 -pipe -MT doublefann.lo -MD -MP -MF .deps/doublefann.Tpo -c doublefann.c -o doublefann.o >/dev/null 2>&1 In file included from floatfann.c:26: fann.c: In function 'fann_seed_rand': fann.c:1543: warning: ignoring return value of 'fread', declared with attribute warn_unused_result In file included from floatfann.c:27: fann_io.c: In function 'fann_create_from_fd': fann_io.c:376: warning: ignoring return value of 'fread', declared with attribute warn_unused_result fann_io.c:463: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:465: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:480: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:482: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:498: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:549: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:550: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:551: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:552: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:554: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:555: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:556: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:557: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:571: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result fann_io.c:598: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src/include -D_REENTRANT -O2 -pipe -MT floatfann.lo -MD -MP -MF .deps/floatfann.Tpo -c floatfann.c -o floatfann.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -D_REENTRANT -O2 -pipe -version-info 2:1:0 -Wl,-O1 -o libfixedfann.la -rpath /usr/lib fixedfann.lo i686-pc-linux-gnu-gcc -shared .libs/fixedfann.o -Wl,-O1 -Wl,-soname -Wl,libfixedfann.so.2 -o .libs/libfixedfann.so.2.0.1 (cd .libs && rm -f libfixedfann.so.2 && ln -s libfixedfann.so.2.0.1 libfixedfann.so.2) (cd .libs && rm -f libfixedfann.so && ln -s libfixedfann.so.2.0.1 libfixedfann.so) i686-pc-linux-gnu-ar cru .libs/libfixedfann.a fixedfann.o i686-pc-linux-gnu-ranlib .libs/libfixedfann.a creating libfixedfann.la (cd .libs && rm -f libfixedfann.la && ln -s ../libfixedfann.la libfixedfann.la) /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -D_REENTRANT -O2 -pipe -version-info 2:1:0 -Wl,-O1 -o libfloatfann.la -rpath /usr/lib floatfann.lo /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -D_REENTRANT -O2 -pipe -version-info 2:1:0 -Wl,-O1 -o libfann.la -rpath /usr/lib floatfann.lo /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -D_REENTRANT -O2 -pipe -version-info 2:1:0 -Wl,-O1 -o libdoublefann.la -rpath /usr/lib doublefann.lo i686-pc-linux-gnu-gcc -shared .libs/floatfann.o -Wl,-O1 -Wl,-soname -Wl,libfloatfann.so.2 -o .libs/libfloatfann.so.2.0.1 i686-pc-linux-gnu-gcc -shared .libs/doublefann.o -Wl,-O1 -Wl,-soname -Wl,libdoublefann.so.2 -o .libs/libdoublefann.so.2.0.1 i686-pc-linux-gnu-gcc -shared .libs/floatfann.o -Wl,-O1 -Wl,-soname -Wl,libfann.so.2 -o .libs/libfann.so.2.0.1 (cd .libs && rm -f libfloatfann.so.2 && ln -s libfloatfann.so.2.0.1 libfloatfann.so.2) (cd .libs && rm -f libfloatfann.so && ln -s libfloatfann.so.2.0.1 libfloatfann.so) (cd .libs && rm -f libdoublefann.so.2 && ln -s libdoublefann.so.2.0.1 libdoublefann.so.2) (cd .libs && rm -f libdoublefann.so && ln -s libdoublefann.so.2.0.1 libdoublefann.so) i686-pc-linux-gnu-ar cru .libs/libdoublefann.a doublefann.o i686-pc-linux-gnu-ranlib .libs/libdoublefann.a creating libdoublefann.la (cd .libs && rm -f libfann.so.2 && ln -s libfann.so.2.0.1 libfann.so.2) i686-pc-linux-gnu-ar cru .libs/libfloatfann.a floatfann.o (cd .libs && rm -f libfann.so && ln -s libfann.so.2.0.1 libfann.so) (cd .libs && rm -f libdoublefann.la && ln -s ../libdoublefann.la libdoublefann.la) i686-pc-linux-gnu-ranlib .libs/libfloatfann.a creating libfloatfann.la i686-pc-linux-gnu-ar cru .libs/libfann.a floatfann.o i686-pc-linux-gnu-ranlib .libs/libfann.a creating libfann.la (cd .libs && rm -f libfloatfann.la && ln -s ../libfloatfann.la libfloatfann.la) (cd .libs && rm -f libfann.la && ln -s ../libfann.la libfann.la) make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src' make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src' make[1]: Entering directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0' make -j14 PYTHON_VERSION=2.6 Running SWIG before: swig -c++ -python pyfann/pyfann.i running build running build_py creating build creating build/lib.linux-i686-2.6 creating build/lib.linux-i686-2.6/pyfann copying pyfann/__init__.py -> build/lib.linux-i686-2.6/pyfann copying pyfann/libfann.py -> build/lib.linux-i686-2.6/pyfann running build_ext building 'pyfann._libfann' extension creating build/temp.linux-i686-2.6 creating build/temp.linux-i686-2.6/pyfann i686-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -pipe -fPIC -DSWIG_COMPILE -I../src/include -I/usr/include/python2.6 -c pyfann/pyfann_wrap.cxx -o build/temp.linux-i686-2.6/pyfann/pyfann_wrap.o i686-pc-linux-gnu-g++ -pthread -shared -Wl,-O1 -O2 -pipe build/temp.linux-i686-2.6/pyfann/pyfann_wrap.o ../src/.libs/doublefann.o -L/usr/lib -lpython2.6 -o build/lib.linux-i686-2.6/pyfann/_libfann.so >>> Source compiled. make -j14 'CFLAGS=-O2 -pipe -I../src/include -L../src/.libs' cc -O2 -pipe -I../src/include -L../src/.libs xor_train.c -o xor_train -lm -lfann cc -O2 -pipe -I../src/include -L../src/.libs xor_test.c -o xor_test -lm -lfann cc -O2 -pipe -I../src/include -L../src/.libs -DFIXEDFANN xor_test.c -o xor_test_fixed -lm -lfixedfann cc -O2 -pipe -I../src/include -L../src/.libs simple_train.c -o simple_train -lm -lfann cc -O2 -pipe -I../src/include -L../src/.libs steepness_train.c -o steepness_train -lm -lfann cc -O2 -pipe -I../src/include -L../src/.libs simple_test.c -o simple_test -lm -lfann cc -O2 -pipe -I../src/include -L../src/.libs robot.c -o robot -lm -lfann cc -O2 -pipe -I../src/include -L../src/.libs mushroom.c -o mushroom -lm -lfann cc -O2 -pipe -I../src/include -L../src/.libs cascade_train.c -o cascade_train -lm -lfann cc -O2 -pipe -I../src/include -L../src/.libs scaling_test.c -o scaling_test -lm -lfann cc -O2 -pipe -I../src/include -L../src/.libs scaling_train.c -o scaling_train -lm -lfann ../src/.libs/libfann.so: undefined reference to `floor' ../src/.libs/libfann.so: undefined reference to `sinf' ../src/.libs/libfann.so: undefined reference to `sqrtf' ../src/.libs/libfann.so: undefined reference to `log' ../src/.libs/libfann.so: undefined reference to `cosf' ../src/.libs/libfann.so: undefined reference to `exp' ../src/.libs/libfann.so: undefined reference to `sin' ../src/.libs/libfann.so: undefined reference to `pow' ../src/.libs/libfann.so: undefined reference to `cos' collect2: ld returned 1 exit status make: *** [xor_test] Error 1 make: *** Waiting for unfinished jobs.... ../src/.libs/libfann.so: undefined reference to `floor' ../src/.libs/libfann.so: undefined reference to `sinf' ../src/.libs/libfann.so: undefined reference to `sqrtf' ../src/.libs/libfann.so: undefined reference to `log' ../src/.libs/libfann.so: undefined reference to `cosf' ../src/.libs/libfann.so: undefined reference to `exp' ../src/.libs/libfann.so: undefined reference to `sin' ../src/.libs/libfann.so: undefined reference to `pow' ../src/.libs/libfann.so: undefined reference to `cos' collect2: ld returned 1 exit status make: *** [xor_train] Error 1 ../src/.libs/libfann.so: undefined reference to `floor' ../src/.libs/libfann.so: undefined reference to `sinf' ../src/.libs/libfann.so: undefined reference to `sqrtf' ../src/.libs/libfann.so: undefined reference to `log' ../src/.libs/libfann.so: undefined reference to `cosf' ../src/.libs/libfann.so: undefined reference to `exp' ../src/.libs/libfann.so: undefined reference to `sin' ../src/.libs/libfann.so: undefined reference to `pow' ../src/.libs/libfann.so: undefined reference to `cos' collect2: ld returned 1 exit status make: *** [robot] Error 1 ../src/.libs/libfixedfann.so: undefined reference to `log' ../src/.libs/libfixedfann.so: undefined reference to `pow' collect2: ld returned 1 exit status make: *** [xor_test_fixed] Error 1 ../src/.libs/libfann.so: undefined reference to `floor' ../src/.libs/libfann.so: undefined reference to `sinf' ../src/.libs/libfann.so: undefined reference to `sqrtf' ../src/.libs/libfann.so: undefined reference to `log' ../src/.libs/libfann.so: undefined reference to `cosf' ../src/.libs/libfann.so: undefined reference to `exp' ../src/.libs/libfann.so: undefined reference to `sin' ../src/.libs/libfann.so: undefined reference to `pow' ../src/.libs/libfann.so: undefined reference to `cos' collect2: ld returned 1 exit status make: *** [simple_test] Error 1 ../src/.libs/libfann.so: undefined reference to `floor' ../src/.libs/libfann.so: undefined reference to `sinf' ../src/.libs/libfann.so: undefined reference to `sqrtf' ../src/.libs/libfann.so: undefined reference to `log' ../src/.libs/libfann.so: undefined reference to `cosf'../src/.libs/libfann.so: undefined reference to `floor' ../src/.libs/libfann.so: undefined reference to `sinf' ../src/.libs/libfann.so: undefined reference to `sqrtf' ../src/.libs/libfann.so: undefined reference to `log' ../src/.libs/libfann.so: undefined reference to `cosf' ../src/.libs/libfann.so: undefined reference to `exp' ../src/.libs/libfann.so: undefined reference to `sin' ../src/.libs/libfann.so: undefined reference to `pow' ../src/.libs/libfann.so: undefined reference to `cos' collect2: ld returned 1 exit status make: *** [simple_train] Error 1 ../src/.libs/libfann.so: undefined reference to `exp' ../src/.libs/libfann.so: undefined reference to `sin' ../../src/.libs/libfann.so: undefined reference to `floor' ../src/.libs/libfann.so: undefined reference to `sinf' ../src/.libs/libfann.so: undefined reference to `sqrtf' ../src/.libs/libfann.so: undefined reference to `log' ../src/.libs/libfann.so: undefined reference to `cosf' ../src/.libs/libfann.so: undefined reference to `exp' ../src/.libs/libfann.so: undefined reference to `sin' ../src/.libs/libfann.so: undefined reference to `pow' ../src/.libs/libfann.so: undefined reference to `cos' collect2: ld returned 1 exit status make: *** [cascade_train] Error 1 src/.libs/libfann.so: undefined reference to `pow' ../src/.libs/libfann.so: undefined reference to `cos' collect2: ld returned 1 exit status make: *** [scaling_train] Error 1 ../src./.libs/libfann.so: undefined reference to .`/floorsrc'/ ..libs.//libfann.sosrc:/ .undefinedlibs /referencelibfann.so :to undefined` floorreference' to. .`/sinfsrc'/ ..libs.//libfann.sosrc:/ .undefinedlibs /referencelibfann.so :to undefined` sinfreference' to. .`/sqrtfsrc'/ ..libs.//libfann.sosrc:/ .undefinedlibs /referencelibfann.so :to undefined` sqrtfreference' to. .`/logsrc'/ ..libs.//libfann.sosrc:/ .undefinedlibs /referencelibfann.so :to undefined` logreference' to. .`/cosfsrc'/ ..libs.//libfann.sosrc:/ .undefinedlibs /referencelibfann.so :to undefined` cosfreference' to. .`/expsrc'/ ..libs.//libfann.sosrc:/ .undefinedlibs /referencelibfann.so :to undefined` expreference' to. .`/sinsrc'/ ..libs.//libfann.sosrc:/ .undefinedlibs /referencelibfann.so :to undefined` sinreference' to. .`/powsrc'/ ..libs.//libfann.sosrc:/ .undefinedlibs /referencelibfann.so :to undefined` powreference' to. .`/cossrc'/ .libs/libfann.so: undefined reference to `cos' collect2: ld returned 1 exit status collect2: ld returned 1 exit status make: *** [steepness_train] Error 1 make: *** [scaling_test] Error 1 ../src/.libs/libfann.so: undefined reference to `floor' ../src/.libs/libfann.so: undefined reference to `sinf' ../src/.libs/libfann.so: undefined reference to `sqrtf' ../src/.libs/libfann.so: undefined reference to `log' ../src/.libs/libfann.so: undefined reference to `cosf' ../src/.libs/libfann.so: undefined reference to `exp' ../src/.libs/libfann.so: undefined reference to `sin' ../src/.libs/libfann.so: undefined reference to `pow' ../src/.libs/libfann.so: undefined reference to `cos' collect2: ld returned 1 exit status make: *** [mushroom] Error 1 * * ERROR: sci-mathematics/fann-2.1.0_beta failed. * Call stack: * ebuild.sh, line 49: Called src_test * environment, line 2980: Called die * The specific snippet of code: * emake CFLAGS="${CFLAGS} -I../src/include -L../src/.libs" || die "emake examples failed"; * The die message: * emake examples failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sci-mathematics/fann-2.1.0_beta:20090828-012242.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/temp/environment'. * >>> Install fann-2.1.0_beta into /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/ category sci-mathematics make -j14 install DESTDIR=/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/ Making install in src make[1]: Entering directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src' Making install in include make[2]: Entering directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src/include' make[3]: Entering directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src/include' make[3]: Nothing to be done for `install-exec-am'. test -z "/usr/include" || mkdir -p -- "/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include" /usr/bin/install -c -m 644 'fann.h' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include/fann.h' /usr/bin/install -c -m 644 'doublefann.h' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include/doublefann.h' /usr/bin/install -c -m 644 'fann_internal.h' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include/fann_internal.h' /usr/bin/install -c -m 644 'floatfann.h' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include/floatfann.h' /usr/bin/install -c -m 644 'fann_data.h' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include/fann_data.h' /usr/bin/install -c -m 644 'fixedfann.h' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include/fixedfann.h' /usr/bin/install -c -m 644 'compat_time.h' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include/compat_time.h' /usr/bin/install -c -m 644 'fann_activation.h' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include/fann_activation.h' /usr/bin/install -c -m 644 'fann_cascade.h' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include/fann_cascade.h' /usr/bin/install -c -m 644 'fann_error.h' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include/fann_error.h' /usr/bin/install -c -m 644 'fann_train.h' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include/fann_train.h' /usr/bin/install -c -m 644 'fann_io.h' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/include/fann_io.h' make[3]: Leaving directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src/include' make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src/include' make[2]: Entering directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src' make[3]: Entering directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src' test -z "/usr/lib" || mkdir -p -- "/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib" make[3]: Nothing to be done for `install-data-am'. /bin/sh ../libtool --mode=install /usr/bin/install -c 'libfloatfann.la' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfloatfann.la' /usr/bin/install -c .libs/libfloatfann.so.2.0.1 /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfloatfann.so.2.0.1 (cd /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib && { ln -s -f libfloatfann.so.2.0.1 libfloatfann.so.2 || { rm -f libfloatfann.so.2 && ln -s libfloatfann.so.2.0.1 libfloatfann.so.2; }; }) (cd /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib && { ln -s -f libfloatfann.so.2.0.1 libfloatfann.so || { rm -f libfloatfann.so && ln -s libfloatfann.so.2.0.1 libfloatfann.so; }; }) /usr/bin/install -c .libs/libfloatfann.lai /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfloatfann.la /usr/bin/install -c .libs/libfloatfann.a /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfloatfann.a chmod 644 /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfloatfann.a i686-pc-linux-gnu-ranlib /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfloatfann.a libtool: install: warning: remember to run `libtool --finish /usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c 'libdoublefann.la' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libdoublefann.la' /usr/bin/install -c .libs/libdoublefann.so.2.0.1 /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libdoublefann.so.2.0.1 (cd /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib && { ln -s -f libdoublefann.so.2.0.1 libdoublefann.so.2 || { rm -f libdoublefann.so.2 && ln -s libdoublefann.so.2.0.1 libdoublefann.so.2; }; }) (cd /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib && { ln -s -f libdoublefann.so.2.0.1 libdoublefann.so || { rm -f libdoublefann.so && ln -s libdoublefann.so.2.0.1 libdoublefann.so; }; }) /usr/bin/install -c .libs/libdoublefann.lai /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libdoublefann.la /usr/bin/install -c .libs/libdoublefann.a /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libdoublefann.a chmod 644 /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libdoublefann.a i686-pc-linux-gnu-ranlib /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libdoublefann.a libtool: install: warning: remember to run `libtool --finish /usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c 'libfixedfann.la' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfixedfann.la' /usr/bin/install -c .libs/libfixedfann.so.2.0.1 /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfixedfann.so.2.0.1 (cd /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib && { ln -s -f libfixedfann.so.2.0.1 libfixedfann.so.2 || { rm -f libfixedfann.so.2 && ln -s libfixedfann.so.2.0.1 libfixedfann.so.2; }; }) (cd /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib && { ln -s -f libfixedfann.so.2.0.1 libfixedfann.so || { rm -f libfixedfann.so && ln -s libfixedfann.so.2.0.1 libfixedfann.so; }; }) /usr/bin/install -c .libs/libfixedfann.lai /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfixedfann.la /usr/bin/install -c .libs/libfixedfann.a /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfixedfann.a chmod 644 /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfixedfann.a i686-pc-linux-gnu-ranlib /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfixedfann.a libtool: install: warning: remember to run `libtool --finish /usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c 'libfann.la' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfann.la' /usr/bin/install -c .libs/libfann.so.2.0.1 /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfann.so.2.0.1 (cd /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib && { ln -s -f libfann.so.2.0.1 libfann.so.2 || { rm -f libfann.so.2 && ln -s libfann.so.2.0.1 libfann.so.2; }; }) (cd /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib && { ln -s -f libfann.so.2.0.1 libfann.so || { rm -f libfann.so && ln -s libfann.so.2.0.1 libfann.so; }; }) /usr/bin/install -c .libs/libfann.lai /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfann.la /usr/bin/install -c .libs/libfann.a /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfann.a chmod 644 /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfann.a i686-pc-linux-gnu-ranlib /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/libfann.a libtool: install: warning: remember to run `libtool --finish /usr/lib' make[3]: Leaving directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src' make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src' make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0/src' make[1]: Entering directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0' make[2]: Entering directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/lib/pkgconfig" || mkdir -p -- "/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/pkgconfig" /usr/bin/install -c -m 644 'fann.pc' '/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image//usr/lib/pkgconfig/fann.pc' make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0' make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/work/fann-2.1.0' make -j14 install ROOT=/var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/ Running SWIG before: swig -c++ -python pyfann/pyfann.i running install running build running build_py copying pyfann/libfann.py -> build/lib.linux-i686-2.6/pyfann running build_ext building 'pyfann._libfann' extension i686-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -pipe -fPIC -DSWIG_COMPILE -I../src/include -I/usr/include/python2.6 -c pyfann/pyfann_wrap.cxx -o build/temp.linux-i686-2.6/pyfann/pyfann_wrap.o i686-pc-linux-gnu-g++ -pthread -shared -Wl,-O1 -O2 -pipe build/temp.linux-i686-2.6/pyfann/pyfann_wrap.o ../src/.libs/doublefann.o -L/usr/lib -lpython2.6 -o build/lib.linux-i686-2.6/pyfann/_libfann.so running install_lib creating /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/usr/lib/python2.6 creating /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/usr/lib/python2.6/site-packages creating /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/usr/lib/python2.6/site-packages/pyfann copying build/lib.linux-i686-2.6/pyfann/libfann.py -> /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/usr/lib/python2.6/site-packages/pyfann copying build/lib.linux-i686-2.6/pyfann/_libfann.so -> /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/usr/lib/python2.6/site-packages/pyfann copying build/lib.linux-i686-2.6/pyfann/__init__.py -> /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/usr/lib/python2.6/site-packages/pyfann byte-compiling /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/usr/lib/python2.6/site-packages/pyfann/libfann.py to libfann.pyc byte-compiling /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/usr/lib/python2.6/site-packages/pyfann/__init__.py to __init__.pyc running install_egg_info Writing /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/usr/lib/python2.6/site-packages/pyfann-2.1.0-py2.6.egg-info >>> Completed installing fann-2.1.0_beta into /var/tmp/portage/sci-mathematics/fann-2.1.0_beta/image/ strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/lib/libfann.so.2.0.1 usr/lib/python2.6/site-packages/pyfann/_libfann.so usr/lib/libfloatfann.so.2.0.1 usr/lib/libfixedfann.so.2.0.1 usr/lib/libdoublefann.so.2.0.1 usr/lib/libfixedfann.a usr/lib/libfloatfann.a usr/lib/libfann.a usr/lib/libdoublefann.a removing executable bit: usr/lib/libdoublefann.la removing executable bit: usr/lib/libfann.la removing executable bit: usr/lib/libfixedfann.la removing executable bit: usr/lib/libfloatfann.la * Removing /usr/share/doc * Removing /usr/share/man * Removing /usr/share/info