make check error
Doruk Fisek
dfisek at fisek.com.tr
Wed May 21 11:47:06 PDT 2008
Hi,
I'm preparing an Exempi package for Pardus.
The package compiles with GCC 4.3.0 / GLIBC 2.8 without any problems,
yet when I try to run make check I get the following error :
/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -static
-L/usr/lib -R/usr/lib -o test1 test1.o utils.o ../libexempi.la
-lboost_unit_test_framework g++ -g -O2 -o test1 test1.o utils.o
-L/usr/lib ../.libs/libexempi.so /usr/lib/libexpat.so /usr/lib/libstdc+
+.so -lboost_unit_test_framework -Wl,--rpath
-Wl,/home/dfisek/exempi-2.0.1/exempi/.libs -Wl,--rpath
-Wl,/usr/lib /usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../crt1.o: In
function `_start': (.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status make[3]: *** [test1] Error 1 make
[3]: Leaving directory `/home/dfisek/exempi-2.0.1/exempi/tests' make
[2]: *** [check-am] Error 2 make[2]: Leaving directory
`/home/dfisek/exempi-2.0.1/exempi/tests' make[1]: *** [check-recursive]
Error 1 make[1]: Leaving directory `/home/dfisek/exempi-2.0.1/exempi'
make: *** [check-recursive] Error 1
I also tested on an older system with GCC 3.4.6 and GLIBC 2.3.6, that
time I get "4 of 5 tests failed" as a result of make check.
Why are these tests failing?
Doruk
--
FISEK ENSTITUSU - http://www.fisek.com.tr
More information about the Exempi-devel
mailing list