Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#243 closed bug (fixed)

tests don't link

Reported by: Thomas Kahle <tom111@…> Owned by: somebody
Priority: minor Milestone: 3-1-2 and higher
Component: singular-libs Version: 3-1-1
Keywords: Cc:

Description

I try to run the tests but linking fails. Note that I build libsingular and the correct -Lpath to the Singular subdir is present. I have cppunit and cmake installed.

to reproduce: unpack the tarball ./configure make make libsingular make test

Linking CXX executable Singular_test_suite cd /home/tom/temp/Singular/Singular-3-1-1/build/tests/Singular && /usr/bin/cmake -E cmake_link_script CMakeFiles/Singular_test_suite.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC CMakeFiles/Singular_test_suite.dir//main.cpp.o -o Singular_test_suite -rdynamic -L/home/tom/temp/Singular/Singular-3-1-1/x86_64-Linux/lib -L/home/tom/temp/Singular/Singular-3-1-1/kernel -L/home/tom/temp/Singular/Singular-3-1-1/Singular libSingular-test.a -lcppunit -Wl,-Bstatic -lsingular -Wl,-Bdynamic ../../../Singular/libsingular-tesths.o -lgmp -lreadline -Wl,-rpath,/home/tom/temp/Singular/Singular-3-1-1/x86_64-Linux/lib:/home/tom/temp/Singular/Singular-3-1-1/kernel:/home/tom/temp/Singular/Singular-3-1-1/Singular /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsingular collect2: ld returned 1 exit status

Change History (2)

comment:1 Changed 13 years ago by hannes

Resolution: fixed
Status: newclosed

comment:2 Changed 13 years ago by hannes

make test is currently a dummy entry which will be filled someday. Testing Singular is done via Tst/regress.cmd, see Tst/README for details.

Note: See TracTickets for help on using tickets.