- From: Alessandro \(Alex\) Cerruti <"Alessandro>
- Date: Mon, 5 Apr 2004 21:37:43 -0400
Hi all, I'm trying to compile a comedi program using the command: gcc usergrab4.c -lcomedi -o usergrab4 The compiler returns with: /tmp/cckKQIrn.o: In function `main': /tmp/cckKQIrn.o(.text+0x12f): undefined reference to `filename' /tmp/cckKQIrn.o(.text+0x14a): undefined reference to `filename' /tmp/cckKQIrn.o(.text+0x205): undefined reference to `aref' /tmp/cckKQIrn.o(.text+0x214): undefined reference to `range' /tmp/cckKQIrn.o(.text+0x222): undefined reference to `channel' /tmp/cckKQIrn.o: In function `do_cmd': /tmp/cckKQIrn.o(.text+0x358): undefined reference to `dump_cmd' /tmp/cckKQIrn.o(.text+0x3c2): undefined reference to `dump_cmd' /tmp/cckKQIrn.o: In function `prepare_cmd': /tmp/cckKQIrn.o(.text+0x7ac): undefined reference to `subdevice' collect2: ld returned 1 exit status Any idea how to resolve these errors? Similar errors occur when I try to compile, for example, select.c out of /comedilib-0.7.21/demo/. Thanks a whole bunch! Alex
Received on 2004-04-06Z00:37:43