Re: compile and link comedi question

> Thanks for your help again. I tried to link with the libkcomedilxrt.a.
> But got a link error message after I added
> "-L/usr/realtime/lib/libkcomedilxrt.a" during linking:  undefined
> reference comedi_open, comedi_do_insn and comedi_do_insnlist. Do you how
> to solve this problem?

What exactly is you link command (the -L shouldn't be necessary if you
specify an absolute path)?

The symbols should be defined in libkcomedilxrt.a (unless something went
wrong when compiling rtai.

[klaas_at_f012 /usr/realtime/lib]$
$ nm --defined-only libkcomedilxrt.a | grep comedi_open
000028a0 T comedi_open
[klaas_at_f012 /usr/realtime/lib]$
$ nm --defined-only libkcomedilxrt.a | grep comedi_do_insn
00003620 T comedi_do_insn

regards,

klaas

Received on 2004-07-13Z06:24:07