Problem with tests

[email protected]
Newsgroups gmane.science.robotics.orocos.user
Message-ID <[email protected]>
When we launch 'make check' we can see:

You are root
../src/orocos_core-rtai.o: unresolved symbol rtf_destroy
../src/orocos_core-rtai.o: unresolved symbol rtf_put
../src/orocos_core-rtai.o: unresolved symbol rtf_get
../src/orocos_core-rtai.o: unresolved symbol rtf_create_handler
../src/orocos_core-rtai.o: unresolved symbol rtf_create
../src/orocos_core-rtai.o: unresolved symbol rtf_resize
../src/orocos_core-rtai.o:
[...]
=====================
11 of 11 tests failed
=====================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/root/prova/orocos/core/build/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/root/prova/orocos/core/build/tests'
make: *** [check-recursive] Error 1

But if we do first 'modprobe orocos_core_run-rt' (we can do it because we have
run 'make install' anyway) the output is:

You are root
insmod: a module named orocos_core-rtai already exists
insmod: a module named orocos_core_run-rt already exists
FAIL: testload.sh
You are root
./test-rt.o: unresolved symbol asin
./test-rt.o:
rmmod: module test-rt is not loaded
FAIL: test-rt.sh
You are root
Warning: loading ./test_heartbeat-rt.o will taint the kernel: no license
  See http://www.tux.org/lkml/#s1-18 for information about tainted modules
Warning: loading ./test_heartbeat-rt.o will taint the kernel: forced load
Module test_heartbeat-rt loaded, with warnings
PASS: test_heartbeat-rt.sh
[...]
You are root
./TestCore-rt.o: unresolved symbol __ls__Q29StoneHead6streaml
./TestCore-rt.o:
rmmod: module TestCore-rt is not loaded
FAIL: TestCore-rt.sh
PASS: testunload.sh
====================
3 of 11 tests failed
====================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/root/prova/orocos/core/build/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/root/prova/orocos/core/build/tests'
make: *** [check-recursive] Error 1

Why? Where we are wrong? Does a test in real-time consists only in load and
unload modules in the kern
tput of 'lsmod' (before 'modprobe
orocos_core_run-rt'):

Module
rtai_fifos
rtai_pthread  
rtai_utils   
rtai_cpp  
rtai_sched_ext    
rtai_bits       
rtai_lxrt          
rtai_tbx        
rtai_sched       
rt_mem_mgr      
rtai 

Regards
Piercarlo
Fabrizio
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.