- From: Emmanuel Mayssat <emmanuel_mayssat_at_lynceantech.com>
- Date: Tue, 13 Jul 2004 08:38:52 -0700
You should use -L/usr/realtime/lib -lcomedilxrt See the man page for gcc -- Emmanuel Klaas Gadeyne wrote: >>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 > > > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi > -- Emmanuel Mayssat Lyncean Technologies, Inc. Direct: 650/320-8300 x409 Cell: 650/248-8811
Received on 2004-07-13Z14:38:52