[openib-general] [libibcm] linking object files with the libibcm failed on latest driver

Dotan Barak dotanb at mellanox.co.il
Thu Aug 3 02:15:23 PDT 2006


Hi.

I tried to add a (basic) support of libibcm to one of our tests and i got linking problems with latest driver.
(several days ago, i didn't get this error).

Here are the machine and driver props:
*************************************************************
Host Name         : sw087
Host Architecture : x86_64
Linux Distribution: Fedora Core release 4 (Stentz)
Kernel Version    : 2.6.11-1.1369_FC4smp
Memory size       : 4071672 kB
Driver Version    : gen2_linux-20060803-0800 (REV=8813)
HCA ID(s)         : mthca0
HCA model(s)      : 23108
FW version(s)     : 3.4.000
Board(s)          : MT_0030000001
*************************************************************

Here are the compilation errors:

gcc main.o cmd_pars.o common.o qp_test.o connect_qp.o data_operation.o -o qp_test -libverbs -libcm -lvl
/usr/local/lib64/libibcm.so: undefined reference to `_dlist_mark_move'
/usr/local/lib64/libibcm.so: undefined reference to `dlist_destroy'
/usr/local/lib64/libibcm.so: undefined reference to `sysfs_get_mnt_path'
/usr/local/lib64/libibcm.so: undefined reference to `sysfs_close_class_device'
/usr/local/lib64/libibcm.so: undefined reference to `dlist_push'
/usr/local/lib64/libibcm.so: undefined reference to `sysfs_open_class'
/usr/local/lib64/libibcm.so: undefined reference to `sysfs_get_classdev_attr'
/usr/local/lib64/libibcm.so: undefined reference to `sysfs_read_attribute'
/usr/local/lib64/libibcm.so: undefined reference to `sysfs_open_class_device'
/usr/local/lib64/libibcm.so: undefined reference to `sysfs_get_class_devices'
/usr/local/lib64/libibcm.so: undefined reference to `dlist_start'
/usr/local/lib64/libibcm.so: undefined reference to `sysfs_close_attribute'
/usr/local/lib64/libibcm.so: undefined reference to `sysfs_close_class'
/usr/local/lib64/libibcm.so: undefined reference to `dlist_new'
/usr/local/lib64/libibcm.so: undefined reference to `sysfs_open_attribute'
collect2: ld returned 1 exit status
make: *** [qp_test] Error 1


Did you notice this error before?
Thanks
Dotan




More information about the general mailing list