Error installing snapapi26 on Fedora 16
Hi,
I'm having a problem installing the snapapi26 on Fedora 16 with kernel 3.6.11-4. No problems installing it on CentOS 6 with kernel version 2.6.32-279.
Here's my ouput of installed packages and the make.log.
rpm -qa | grep kernel
abrt-addon-kerneloops-2.0.7-3.fc16.x86_64
kernel-3.6.11-4.fc16.x86_64
libreport-plugin-kerneloops-2.0.10-3.fc16.x86_64
kernel-3.6.7-4.fc16.x86_64
kernel-3.6.10-2.fc16.x86_64
kernel-devel-3.6.11-4.fc16.x86_64
kernel-headers-3.6.11-4.fc16.x86_64
rpm -qa | grep gcc
gcc-4.6.3-2.fc16.x86_64
libgcc-4.6.3-2.fc16.i686
libgcc-4.6.3-2.fc16.x86_64
dkms build -m snapapi26 -v 0.7.64 --arch x86_64 --config /bo
oot/config-3.6.11-4.fc16.x86_64 --kernelsourcedir /usr/src/kernels/3.6.11-4.fc16.
.x86_64
Preparing kernel 3.6.11-4.fc16.x86_64 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....(bad exit status: 2)
using /boot/config-3.6.11-4.fc16.x86_64
make oldconfig....
make prepare-all....(bad exit status: 2)
Building module:
cleaning build area....
make KERNELRELEASE=3.6.11-4.fc16.x86_64 -C /lib/modules/3.6.11-4.fc16.x86_64/build SUBDIRS=/var/lib/dkms/snapapi26/0.7.64/build modules....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.6.11-4.fc16.x86_64 (x86_64)
Consult /var/lib/dkms/snapapi26/0.7.64/build/make.log for more information.
[root@x]# cat /var/lib/dkms/snapapi26/0.7.64/build/make.log DKMS make.log for snapapi26-0.7.64 for kernel 3.6.11-4.fc16.x86_64 (x86_64)
Fri Feb 22 14:31:01 EST 2013
make: Entering directory `/usr/src/kernels/3.6.11-4.fc16.x86_64'
CC [M] /var/lib/dkms/snapapi26/0.7.64/build/snapapi26.o
/var/lib/dkms/snapapi26/0.7.64/build/snapapi26.c:29:24: fatal error: asm/system.h: No such file or directory
compilation terminated.
make[1]: *** [/var/lib/dkms/snapapi26/0.7.64/build/snapapi26.o] Error 1
make: *** [_module_/var/lib/dkms/snapapi26/0.7.64/build] Error 2
make: Leaving directory `/usr/src/kernels/3.6.11-4.fc16.x86_64'
[root@x]# dkms build -m snapapi26 -v 0.7.64 -k 'uname -r' --arch 'uname -m' --kernelsourcedir /lib/modules/'uname -r'/build
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
Any help would be appreciated!!
Thanks,
Alicia

- Log in to post comments