- From: Yoshiya Matsuzaka <matsuzay_at_mail.tains.tohoku.ac.jp>
- Date: Fri, 06 Jul 2007 22:31:02 +0900
Hello, When compiling your own program, did you pass "-lcomedi" option to gcc? Regards, YAMADA Ken wrote: > I've just started to use comedi and comedilib on a PC/104 board. > Configure, compile and install are completed, and demo (in the > comedilib folder) is working, but can't compile own program. The > program is just "comedi_open" program, exactly the same as 'tut1.c' in > the comedilib document. It shows "/tmp/ccV31Jgq.o(.text+0x44): In > function 'main'. undefined reference to 'comedi_open' " when compile > is failed. anyone knows the solution of the problem? > > My environment is, > Linux version: Vine Linux 4.1 > Kernel version: 2.6.16 > comedi version 0.7.73 > comedilib version 0.7.22 > SBC: Gene-4312 > target board: PCM-3724 (ADVANTECH) > > > Ken Yamada > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi > -- ---------------------------------------------------- Yoshiya Matsuzaka Dept. of Physiol., Graduate School of Medical Science, Tohoku Univ. 2-1 Seiryo machi, Aoba ward, Sendai 980-8575, JAPAN Tel: +81-22-717-8073, Fax: +81-22-717-8077 ----------------------------------------------------
Received on 2007-07-06Z12:31:02