- From: Bernd Porr <Bernd.Porr_at_cn.stir.ac.uk>
- Date: Tue, 02 Mar 2004 19:42:26 +0000
Hi!
Just replace "-lcomedi" with "/usr/local/lib/libcomedi.a" and it should
work.
/Bernd
Pierre Guisse wrote:
> Hi !
>
> I tried to compile a test.c program which is exactly the same as tut1.c
> in the comedilib demos:
> # cc test.c -lcomedi -o test
> /tmp/ccDpvhzZ.o(.text+0x20): In function `main':
> : undefined reference to « comedi_open »
> /tmp/ccDpvhzZ.o(.text+0x4a): In function `main':
> : undefined reference to « comedi_data_read »
> collect2: ld returned 1 exit status
>
> I tried with other commands, like "gcc -Wall -lcomedi test.c -o test" or
> in the C compiler anjuta, but I have the same error.
>
> The "modprobe" and "comedi_config" works OK, but it can be because of
> the wrong comedilib install:
> I tried to install comedilib 0.7.21 but I got errors like this one :
> jade:/root/comedi_rpm/comedilib-0.7.21/doc/html/./../comedilib.sgml:104:14:E:
> end tag for "PARA" omitted, but OMITTAG NO was specified
>
> I don't think the error came from this, because it's just adocumentation
> install.
>
> Any ideas ?
>
> Pierre Guisse
>
> _________________________________________________________________
> Trouvez l'âme soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551
>
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
--
www: http://www.cn.stir.ac.uk/~bp1/
http://www.linux-usb-daq.com/
e-mail: Bernd.Porr_at_cn.stir.ac.uk
Mobile: +44 (0)7769-506746
Landl.: +44 (0)1324 875445
Work: +44 (0)1786-46-6378
Postal: Room: 3B141, Univ of Stir, FK9 4LA, Scotl
Received on 2004-03-02Z19:42:26