[ofa-general] OFED-1.2-20070302-0600 build failure

Ira Weiny weiny2 at llnl.gov
Fri Mar 2 10:17:02 PST 2007


I just got the latest OFED 1.2 build to see if it built.

I got the following failure with this system:

09:09:43 > uname -a
Linux wopri 2.6.9-61chaos #1 SMP Fri Feb 16 11:12:35 PST 2007 x86_64 x86_64 x86_64 GNU/Linux

I was _NOT_ building the kernel modules as I know there are issues in that code and our custom kernel.  This is basically a RHEL4U3 system.

More information:

09:17:23 > file /usr/lib/libsysfs.so
/usr/lib/libsysfs.so: symbolic link to `libsysfs.so.1.0.2'
09:18:05 > file /usr/lib/libsysfs.so.1.0.2 
/usr/lib/libsysfs.so.1.0.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
09:18:15 > file /usr/lib64/libsysfs.so.1.0.2 
/usr/lib64/libsysfs.so.1.0.2: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped


Thanks,
Ira Weiny
weiny2 at llnl.gov

make[2]: Entering directory `/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/libibcm'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include  -I../libibverbs/include -g -Wall -D_GNU_SOURCE -g -O2 -MT cm.lo -MD -MP -MF ".deps/cm.Tpo" -c -o cm.lo `test -f 'src/cm.c' || echo './'`src/cm.c; \
then mv -f ".deps/cm.Tpo" ".deps/cm.Plo"; else rm -f ".deps/cm.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I../libibverbs/include -g -Wall -D_GNU_SOURCE -g -O2 -MT cm.lo -MD -MP -MF .deps/cm.Tpo -c src/cm.c  -fPIC -DPIC -o .libs/cm.o
/bin/sh ./libtool --tag=CC --mode=link gcc -g -Wall -D_GNU_SOURCE -g -O2 -L../libibverbs/src -libverbs -lsysfs -L. -o src/libibcm.la -rpath /usr/lib64 -avoid-version  cm.lo  
mkdir src/.libs
gcc -shared  .libs/cm.o  -Wl,--rpath -Wl,/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/libibverbs/src/.libs /tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/libibverbs/src/.libs/libibverbs.so /usr/lib/libsysfs.so -L/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/libibcm  -Wl,-soname -Wl,libibcm.so -o src/.libs/libibcm.so
/usr/lib/libsysfs.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [src/libibcm.la] Error 1
make[2]: Leaving directory `/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/libibcm'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/libibcm'
make: *** [libibcm] Error 2
error: Bad exit status from /home/weiny2/rpm/tmp/rpm-tmp.16816 (%install)




More information about the general mailing list