Configured Rtai for inlining
Donato Azevedo
donatoaz at gmail.com
Fri Nov 9 14:57:07 CET 2007
On Nov 9, 2007 10:49 AM, Breno Maia de Carvalho <brenoaut at yahoo.com.br> wrote:
> /usr/bin/ld: cannot find -llxrt
> collect2: ld returned 1 exit status
It is not finding the lxrt library,
Anyway, Breno, I study at the same school as you do, if you wish you
can visit me at the Laboratório de Processos Secos at the new
engineering school building.
You may do the following to check for your libs:
ls `rtai-config --library-dir`
The output here was:
[root at linux-lec usbtest]# ls `rtai-config --library-dir`
liblxrt.a liblxrt.so liblxrt.so.1.0.0 librtdm.la librtdm.so.0
liblxrt.la liblxrt.so.1 librtdm.a librtdm.so librtdm.so.0.0.0
Meaning Ive got the lxrt lib.
If you lack the lxrt lib you may have to check your rtai
compilation/installation process.
If you do have the lib, you may try and do the following:
as root run
# ldconfig -v `rtai-config --library-dir` | grep lxrt
The output must be something like:
[root at linux-lec usbtest]# ldconfig -v `rtai-config --library-dir` | grep lxrt
liblxrt.so.1 -> liblxrt.so.1.0.0
meaning the system was able to configure the dynamic linker stuff...
kindly,
Donato Vitelli
UFMG - Brazil
More information about the Rtai
mailing list