Operating System - Linux
1828225 Members
2193 Online
109975 Solutions
New Discussion

make: [mppLnx_Spinlock_Size] Error 1 when installing RDAC driver

 
Yogeeraj_1
Honored Contributor

make: [mppLnx_Spinlock_Size] Error 1 when installing RDAC driver

Hi experts!

We are trying to install the RDAC driver on our system but it is failing during the build process (make clean is ok; make is failing)

Below an extract of the error message:
==========================================================================
Building modules, stage 2.
make -rR -f /usr/src/kernels/2.6.9-42.EL/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/kernels/2.6.9-42.EL/Module.symvers /home/install/linuxrdac-09.01.B5.55/mppUpper.o /home/install/linuxrdac-09.01.B5.55/mppVhba.o
gcc -m64 -Wp,-MD,/home/install/linuxrdac-09.01.B5.55/.mppUpper.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -g -Wdeclaration-after-statement -msoft-float -pipe -mminimal-toc -mtraceback=none -fno-unit-at-a-time -DKBUILD_BASENAME=mppUpper -DKBUILD_MODNAME=mppUpper -DMODULE -c -o /home/install/linuxrdac-09.01.B5.55/mppUpper.mod.o /home/install/linuxrdac-09.01.B5.55/mppUpper.mod.c
ld -r -o /home/install/linuxrdac-09.01.B5.55/mppUpper.ko /home/install/linuxrdac-09.01.B5.55/mppUpper.o /home/install/linuxrdac-09.01.B5.55/mppUpper.mod.o
gcc -m64 -Wp,-MD,/home/install/linuxrdac-09.01.B5.55/.mppVhba.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -g -Wdeclaration-after-statement -msoft-float -pipe -mminimal-toc -mtraceback=none -fno-unit-at-a-time -DKBUILD_BASENAME=mppVhba -DKBUILD_MODNAME=mppVhba -DMODULE -c -o /home/install/linuxrdac-09.01.B5.55/mppVhba.mod.o /home/install/linuxrdac-09.01.B5.55/mppVhba.mod.c
ld -r -o /home/install/linuxrdac-09.01.B5.55/mppVhba.ko /home/install/linuxrdac-09.01.B5.55/mppVhba.o /home/install/linuxrdac-09.01.B5.55/mppVhba.mod.o
make[1]: Leaving directory `/usr/src/kernels/2.6.9-42'
make V=1 -C/lib/modules/2.6.9-42.EL/build M=/home/install/linuxrdac-09.01.B5.55 MODVERDIR=/lib/modules/2.6.9-42.EL/build/.tmp_versions SUBDIRS=/home/install/linuxrdac-09.01.B5.55 modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-42.EL'
mkdir -p /lib/modules/2.6.9-42.EL/build/.tmp_versions
make -f scripts/Makefile.build obj=/home/install/linuxrdac-09.01.B5.55
Building modules, stage 2.
make -rR -f /usr/src/kernels/2.6.9-42.EL/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/kernels/2.6.9-42.EL/Module.symvers /home/install/linuxrdac-09.01.B5.55/mppUpper.o /home/install/linuxrdac-09.01.B5.55/mppVhba.o
make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.EL'
gcc -m64 -D__KERNEL__ -I/lib/modules/2.6.9-42.EL/build/include mppLnx26_spinlock_size.c -o mppLnx_Spinlock_Size
/usr/bin/ld: skipping incompatible /usr/lib/gcc/redhat-linux/3.4.6/../../../libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/redhat-linux/3.4.6/../../../libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [mppLnx_Spinlock_Size] Error 1
[root@sdblx1 linuxrdac-09.01.B5.55]#
==========================================================================

please advise

kind regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
2 REPLIES 2
Ivan Ferreira
Honored Contributor

Re: make: [mppLnx_Spinlock_Size] Error 1 when installing RDAC driver

Is this a x86_64 system? Maybe you need to install the compatibility libraries.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Yogeeraj_1
Honored Contributor

Re: make: [mppLnx_Spinlock_Size] Error 1 when installing RDAC driver

Hi Ivan,

Thank you for the reply.

Found the solution.

glibc-devel was not installed.

Installed and the RDAC driver compilation completed smoothly...
========================================
...

image=/vmlinuz-2.6.9-42.EL
label=MPP
read-only
initrd=/mpp-2.6.9-42.EL.img
append=root=LABEL=/
...
MPP driver package has been sucessfully installed on your system.
========================================

Kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)