- From: Jose Sanchez <joseos_at_okstate.edu>
- Date: Mon, 19 May 2003 14:30:29 -0500
Hi, I recently installed SUSE 8.2 in my laptop and I was trying to install comedi. The installation of comedi went without problems, however, I coudn't install comedilib. The error reported by the compiler is: gcc -Wall -Wstrict-prototypes -O2 -DI18N -I../include -c -o other.o other.c other.c: In function `comedi_nanodelay': other.c:29: warning: implicit declaration of function `memset' 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' comedi_calibrate.o(.text+0x10f): In function `main': : undefined reference to `comedi_find_subdevice_by_type' comedi_calibrate.o(.text+0x128): In function `main': : undefined reference to `comedi_find_subdevice_by_type' comedi_calibrate.o(.text+0x204): In function `main': : undefined reference to `comedi_get_board_name' comedi_calibrate.o(.text+0x220): In function `main': : undefined reference to `comedi_get_driver_name' comedi_calibrate.o(.text+0x324): In function `main': : undefined reference to `comedi_get_version_code' comedi_calibrate.o(.text+0x33c): In function `main': : undefined reference to `comedi_get_version_code' comedi_calibrate.o(.text+0x350): In function `main': : undefined reference to `comedi_get_version_code' comedi_calibrate.o(.text+0x50b): In function `set_target': : undefined reference to `comedi_get_range' comedi_calibrate.o(.text+0x525): In function `set_target': : undefined reference to `comedi_get_maxdata' comedi_calibrate.o(.text+0x536): In function `set_target': : undefined reference to `comedi_from_phys' comedi_calibrate.o(.text+0x544): In function `set_target': : undefined reference to `comedi_to_phys' comedi_calibrate.o(.text+0x61b): In function `preobserve': : undefined reference to `comedi_do_insn' comedi_calibrate.o(.text+0x808): In function `postgain_cal': : undefined reference to `comedi_get_range' comedi_calibrate.o(.text+0x891): In function `postgain_cal': : undefined reference to `comedi_get_range' comedi_calibrate.o(.text+0x13e5): In function `setup_caldacs': : undefined reference to `comedi_get_n_channels' comedi_calibrate.o(.text+0x145e): In function `setup_caldacs': : undefined reference to `comedi_get_maxdata' comedi_calibrate.o(.text+0x15c7): In function `update_caldac': : undefined reference to `comedi_data_write' comedi_calibrate.o(.text+0x1c1d): In function `get_bipolar_lowgain': : undefined reference to `comedi_get_n_ranges' comedi_calibrate.o(.text+0x1c50): In function `get_bipolar_lowgain': : undefined reference to `comedi_get_range' comedi_calibrate.o(.text+0x1cad): In function `get_bipolar_highgain': : undefined reference to `comedi_get_n_ranges' comedi_calibrate.o(.text+0x1ce0): In function `get_bipolar_highgain': : undefined reference to `comedi_get_range' comedi_calibrate.o(.text+0x1d3d): In function `get_unipolar_lowgain': : undefined reference to `comedi_get_n_ranges' comedi_calibrate.o(.text+0x1d8e): In function `get_unipolar_lowgain': : undefined reference to `comedi_get_range' comedi_calibrate.o(.text+0x1de5): In function `read_eeprom': : undefined reference to `comedi_data_read' comedi_calibrate.o(.text+0x1f32): In function `new_sv_init': : undefined reference to `comedi_get_maxdata' comedi_calibrate.o(.text+0x1f4d): In function `new_sv_init': : undefined reference to `comedi_get_range' comedi_calibrate.o(.text+0x1fb6): In function `new_sv_measure': : undefined reference to `comedi_data_read_hint' comedi_calibrate.o(.text+0x1ff1): In function `new_sv_measure': : undefined reference to `comedi_data_read_n' comedi_calibrate.o(.text+0x2019): In function `new_sv_measure': : undefined reference to `comedi_to_phys' comedi_calibrate.o(.text+0x2081): In function `new_sv_measure': : undefined reference to `comedi_to_phys' comedi_calibrate.o(.text+0x2139): In function `new_sv_measure_order': : undefined reference to `comedi_data_read_n' comedi_calibrate.o(.text+0x2161): In function `new_sv_measure_order': : undefined reference to `comedi_to_phys' comedi_calibrate.o(.text+0x21d1): In function `new_sv_measure_order': : undefined reference to `comedi_to_phys' cb.o(.text+0xcf6): In function `actual_source_voltage': : undefined reference to `comedi_data_read' collect2: ld returned 1 exit status make[1]: *** [comedi_calibrate] Error 1 make[1]: Leaving directory `/home/jose/Documents/comedilib-0.7.19/comedi_calibrate' make: *** [subdirs] Error 2 linux:/home/jose/Documents/comedilib-0.7.19 # My version of gcc is 3.2. I hope someone has an idea. Thanks Jose
Received on 2003-05-19Z18:30:29