Re: Two problems and one revision

[email protected]
Newsgroups gmane.science.robotics.orocos.user
Organization KU Leuven
Message-ID <[email protected]>
On Thursday 16 January 2003 16:21, [email protected] 
wrote:
> We have two Core installation problem.
> We are using the kernel 2.4.18, RTAI 24.1.10, gcc 2.95.3.
> RTAI is correctly installed (all RTAI tests passed) and all modules are
> loaded.
>
> Note: in the Orocos-Core online manual in the subsection "RTAI Settings,
> the items "Bits" and "Typed Mailboxes" are missing, otherwise not all RTAI
> modules can be loaded.

indeed, the old menu is still listed in the docs. I'll change it.

>
> Problem 1:
> in the output of './configure --with-rtai=/usr/src/rtai-24.1.10' we can
> see:
>
> checking rtai/rtai.h usability... no
> checking rtai/rtai.h presence... no --> but present!
> checking for rtai/rtai.h... no
> checking rtai/rtai_sched.h usability... no
> checking rtai/rtai_sched.h presence... no --> but present!
> checking for rtai/rtai_sched.h... no
> checking rtai/rtai_fifos.h usability... no
> checking rtai/rtai_fifos.h presence... no --> but present!
> checking for rtai/rtai_fifos.h... no
> checking rtai/rtai_pthread.h usability... no
> checking rtai/rtai_pthread.h presence... no --> actually not present in the
> RTAI directory
> checking for rtai/rtai_pthread.h... no
> checking rtai/rtai_pthread_int.h usability... no
> checking rtai/rtai_pthread_int.h presence... no --> actually not present in
> the RTAI directory
> checking for rtai/rtai_pthread_int.h... no

This will be fixed in the new release (fix already in CVS), do not worry about 
it, it does not influence your build whatsoever. 

>
> Problem 2:
> The 'make' command exits because of this error:
>
> Making all in tests
> make[2]: Entering directory `/root/orocos-core-0.9.0-0/build/tests'
> ld -r -o test-rt.o /root/orocos-core-0.9.0-0/build/src/crtbegin.o test.o
> module.o /root/orocos-core-0.9.0-0/build/src/crtend.o -lm -lc
> ld: cannot find -lm
> make[2]: *** [test-rt.o] Error 1
> make[2]: Leaving directory `/root/orocos-core-0.9.0-0/build/tests'

try to remove the -lm -lc flags since rtai has its own libm loaded in the 
kernel and libc is userspace. This can also be considered as a bug. But i do 
not understand why it does not find your libm.a ... 

try adding the line 
/usr/lib 
in
your /etc/ld.so.conf and see if it helps.  

Peter.

>
> but "libm.a" and "libc.a" are present in /usr/lib!
>
> Can someone help us? Thanks.
>
> Regards
>
> Piercarlo
> Fabrizio
>
>
> _______________________________________________
> Orocos mailing list
> [email protected]
> http://mail.mech.kuleuven.ac.be/mailman/listinfo/orocos
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.