[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] Trying to compile dlm-kernel-2.6.9-34.0.src.rpm



Hello,

I'm trying to build the dlm-kernel SRPM and I'm getting this error when
building the SMP module of DLM.

+ /lib/modules/2.6.9-11.ELsmp/build//scripts/mod/modpost -m
-i /lib/modules/2.6.9-11.ELsmp/kernel/cluster/cman.symvers src/dlm.o -o
dlm.s ymvers
src/dlm.o: No such file or directory
/var/tmp/rpm-tmp.45995: line 31: 31466 Aborted
$kernel_src/scripts/mod/modpost -m -i /lib/modules/2.6.9-11.EL
$flavor/kern el/cluster/cman.symvers src/dlm.o -o dlm.symvers
error: Bad exit status from /var/tmp/rpm-tmp.45995 (%build)


This is on a RHEL-4 machine that's completely up to date.


Thanks, 
Andrew

Complete Output:


[forgue server02 SPECS]$ sudo rpmbuild -bb --target=i686 dlm-kernel.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.45995
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf dlm-kernel-2.6.9-34
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/dlm-kernel-2.6.9-34.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd dlm-kernel-2.6.9-34
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ sed -i -e '/RELEASE_NAME/s/"<CVS>"/"2.6.9-34.0"/' src/dlm_internal.h
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.45995
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd dlm-kernel-2.6.9-34
+ LANG=C
+ export LANG
+ unset DISPLAY
++ pwd
+ cp -r /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34 ../smp
++ pwd
+ cp -r /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34 ../hugemem
+ Build_dlm i686
+ cpu_type=i686
+ flavor=
+ kernel_src=/lib/modules/2.6.9-11.EL/build/
+ '[' -d /lib/modules/2.6.9-11.EL/build//. ']'
+ echo 'Kernel 2.6.9-11.EL found.'
Kernel 2.6.9-11.EL found.
+ echo /lib/modules/2.6.9-11.EL/build/
/lib/modules/2.6.9-11.EL/build/
+ ./configure --kernel_src=/lib/modules/2.6.9-11.EL/build/
--incdir=/usr/include

Configuring Makefiles for your system...
Completed Makefile configuration

+ make symverfile=/lib/modules/2.6.9-11.EL/kernel/cluster/cman.symvers
cd src && make all
make[1]: Entering directory
`/usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src'
if [ ! -e cluster ]; then ln -s . cluster; fi
if [ ! -e service.h ]; then cp //usr/include/cluster/service.h .; fi
if [ ! -e cnxman.h ]; then cp //usr/include/cluster/cnxman.h .; fi
if [ ! -e cnxman-socket.h ]; then
cp //usr/include/cluster/cnxman-socket.h .; fi
make -C /lib/modules/2.6.9-11.EL/build/
M=/usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src modules USING_KBUILD=yes
make[2]: Entering directory `/usr/src/kernels/2.6.9-11.EL-i686'
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/ast.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/config.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/device.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/dir.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/lkb.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/locking.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/lockqueue.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/lockspace.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/lowcomms.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/main.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/memory.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/midcomms.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/nodes.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/proc.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/queries.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/rebuild.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/reccomms.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/recover.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/recoverd.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/rsb.o
  CC [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/util.o
  LD [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/dlm.o
  Building modules, stage 2.
  MODPOST
  CC      /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/dlm.mod.o
  LD [M]  /usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src/dlm.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.9-11.EL-i686'
make[1]: Leaving directory
`/usr/src/redhat/BUILD/dlm-kernel-2.6.9-34/src'
+ /lib/modules/2.6.9-11.EL/build//scripts/mod/modpost -m
-i /lib/modules/2.6.9-11.EL/kernel/cluster/cman.symvers src/dlm.o -o
dlm.symvers
+ cd ../smp
+ Build_dlm i686 smp
+ cpu_type=i686
+ flavor=smp
+ kernel_src=/lib/modules/2.6.9-11.ELsmp/build/
+ '[' -d /lib/modules/2.6.9-11.ELsmp/build//. ']'
+ echo 'Kernel 2.6.9-11.EL found.'
Kernel 2.6.9-11.EL found.
+ echo /lib/modules/2.6.9-11.ELsmp/build/
/lib/modules/2.6.9-11.ELsmp/build/
+ ./configure --kernel_src=/lib/modules/2.6.9-11.ELsmp/build/
--incdir=/usr/include

Configuring Makefiles for your system...
Completed Makefile configuration

+ make
symverfile=/lib/modules/2.6.9-11.ELsmp/kernel/cluster/cman.symvers
cd src && make all
make[1]: Entering directory `/usr/src/redhat/BUILD/smp/src'
rm -f cluster
ln -s . cluster
make -C /lib/modules/2.6.9-11.ELsmp/build/
M=/usr/src/redhat/BUILD/smp/src modules USING_KBUILD=yes
make[2]: Entering directory `/usr/src/kernels/2.6.9-11.EL-smp-i686'
  Building modules, stage 2.
  MODPOST
make[2]: Leaving directory `/usr/src/kernels/2.6.9-11.EL-smp-i686'
make[1]: Leaving directory `/usr/src/redhat/BUILD/smp/src'
+ /lib/modules/2.6.9-11.ELsmp/build//scripts/mod/modpost -m
-i /lib/modules/2.6.9-11.ELsmp/kernel/cluster/cman.symvers src/dlm.o -o
dlm.s ymvers
src/dlm.o: No such file or directory
/var/tmp/rpm-tmp.45995: line 31: 31466 Aborted
$kernel_src/scripts/mod/modpost -m -i /lib/modules/2.6.9-11.EL
$flavor/kern el/cluster/cman.symvers src/dlm.o -o dlm.symvers
error: Bad exit status from /var/tmp/rpm-tmp.45995 (%build)

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]