can't compile

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 

Received on 2007-07-06Z11:00:51