- From: Mark Hounschell <markh_at_compro.net>
- Date: Mon, 27 Oct 2003 09:27:24 -0500
Jeremiah Johnson wrote: > > I think your right. If it happens when you run comedi_calibrate it's trying > to run functions stored in .so files. If it happens at compile time it's > looking for .a files. Are there any other libcomedi.so* files? Maybe you > have a corrupted libcomedi.so* somewhere. you might try to delete every > instance of the comedi libraries on your filesystem. Did you specify an > install directory? I don't think it should be an issue but the double > slashes ( for example: /usr/lib//libcomedi.so) might cause problems. > > /Jermieha Ok I'll make sure and remove all of them first: Also modified the top make file to remove the double slashes. pc244:/usr/src/Advantech/comedilib-0.7.19 # find / -name "*libcomedi*" | xargs rm -rf pc244:/usr/src/Advantech/comedilib-0.7.19 # make clean pc244:/usr/src/Advantech/comedilib-0.7.19 # make . . . no errors pc244:/usr/src/Advantech/comedilib-0.7.19 # make install install -d /usr/include install -m 644 include/comedilib.h /usr/include install -m 644 include/comedi.h /usr/include ln -sf libcomedi.so.0.7.19 /usr/lib/libcomedi.so install -m 644 lib/libcomedi.a /usr/lib install lib/libcomedi.so.0.7.19 /usr/lib ln -sf libcomedi.so.0.7.19 /usr/lib/libcomedi.so.0 install -s -m 755 comedi_config/comedi_config /usr/sbin #install -s -m 755 comedi_calibrate/comedi_calibrate /usr/bin install -d /usr/share/doc/libcomedi install README doc/FAQ doc/drivers.txt /usr/share/doc/libcomedi install -d /usr/share/doc/libcomedi/html/ install doc/html/*.html /usr/share/doc/libcomedi/html/ install -d /usr/share/doc/libcomedi/etc/ install -m 755 etc/das1600.conf /usr/share/doc/libcomedi/etc/ install -m 755 etc/dt282x.conf /usr/share/doc/libcomedi/etc/ install -d /usr/share/doc/libcomedi/examples/ install -m 644 demo/README demo/*.c /usr/share/doc/libcomedi/examples/ install -d /usr/share/man/man3/ install -d /usr/share/man/man7/ install -d /usr/share/man/man8/ install doc/man/*.3 /usr/share/man/man3/ install man/*.7 /usr/share/man/man7/ install man/*.8 /usr/share/man/man8/ pc244:/usr/src/Advantech/comedilib-0.7.19 # cd comedi_calibrate pc244:/usr/src/Advantech/comedilib-0.7.19/comedi_calibrate # make gcc -o comedi_calibrate comedi_calibrate.o ni.o cb.o other.o -L../lib/ -lcomedi -lm comedi_calibrate.o(.text+0x9f): In function `main': : undefined reference to `comedi_open' comedi_calibrate.o(.text+0xdd): In function `main': : undefined reference to `comedi_find_subdevice_by_type' comedi_calibrate.o(.text+0xf6): In function `main': : undefined reference to `comedi_find_subdevice_by_type' . . . same errors. ?????? I saw reference to a cvs repository somewhere in the doc. Is it possible to maybe access this to see if this may have already been fixed. Mark
Received on 2003-10-27Z14:27:24