I downloaded the driver from the link
http://www.cacs.louisiana.edu/~cxg9....4.19-6.src.rpm
(not the Dell driver).
I still got errors:
STEP 3
[root@localhost BCM_last]# rpmbuild --rebuild BCMSM-3.4.19-6.src.rpm
Installing BCMSM-3.4.19-6.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.74744
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf BCMSM-3.4.19
+ /bin/gzip -dc /usr/src/RPM/SOURCES/BCMSM-3.4.19.tar.gz
+ tar -xvvf -
drwxr-xr-x root/root 0 2003-04-06 19:35:27 BCMSM-3.4.19/
-rwxr-xr-x root/root 100322 2003-04-06 19:35:27 BCMSM-3.4.19/lkvi.c
-rwxr-xr-x root/root 20442 2003-04-06 19:35:27 BCMSM-3.4.19/lkvi.h
-rw-r--r-- root/root 1109440 2003-04-06 19:35:27 BCMSM-3.4.19/BCMSM_lib.o
-rw-r--r-- root/root 2377 2003-04-06 19:35:27 BCMSM-3.4.19/BCMSM-init-redha
t
-rw-r--r-- root/root 3252 2003-04-06 19:35:27 BCMSM-3.4.19/BCMSM.inf
-rw-r--r-- root/root 39907 2003-04-06 19:35:27 BCMSM-3.4.19/INF2C.c
-rw-r--r-- root/root 9788 2003-04-06 19:35:27 BCMSM-3.4.19/Makefile
-rw-r--r-- root/root 485 2003-04-06 19:35:27 BCMSM-3.4.19/ChangeLog
-rw-r--r-- root/root 2957 2003-04-06 19:35:27 BCMSM-3.4.19/BCMSM-3.4.19.spe
c.template
-rw-r--r-- root/root 3150 2003-04-06 19:35:27 BCMSM-3.4.19/README
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd BCMSM-3.4.19
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.16931
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd BCMSM-3.4.19
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.16931
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd BCMSM-3.4.19
+ make clean
touch LastRPMBuildInfo
rm -f lkvi.o INF2C.o BCMSM.o BCMSM_inf.o BCMSM_inf.c *.rpm
+ make install KERNEL_VERSION=2.4.18-27.8.0 KERNEL_DIR=/usr/src/linux-2.4.18-27.
8.0 RPM=1 INSTALL_ROOT=
Building Linux Kernel Version Independent layer for this system..
gcc -minline-all-stringops -D__KERNEL__ -DMODULE -I/usr/src/linux-2.4.18-27.8.0
/include -O2 -o lkvi.o -c lkvi.c
In file included from lkvi.c:15:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/module.h:11,
from lkvi.c:25:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (no
t in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from /usr/include/linux/module.h:297,
from lkvi.c:25:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from lkvi.c:25:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
/usr/include/linux/module.h: In function `print_symbol':
/usr/include/linux/module.h:433: `ESRCH' undeclared (first use in this function)
/usr/include/linux/module.h:433: (Each undeclared identifier is reported only on
ce
/usr/include/linux/module.h:433: for each function it appears in.)
lkvi.c:53:2: #error This driver compiles only for Linux versions 2.0.0 and later
In file included from lkvi.c:163:
/usr/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated,
use linux/slab.h instead.
lkvi.c: In function `lkvi_use_lock_init_unused':
lkvi.c:269: incompatible types in assignment
lkvi.c:574:26: linux/bios32.h: No such file or directory
lkvi.c: In function `lkvi_wait_queue_sleep':
lkvi.c:675: warning: passing arg 1 of `sleep_on' from incompatible pointer type
lkvi.c: In function `lkvi_wait_queue_sleep_interruptible':
lkvi.c:685: warning: passing arg 1 of `interruptible_sleep_on' from incompatible
pointer type
lkvi.c: In function `lkvi_wait_queue_wake':
lkvi.c:695: warning: passing arg 1 of `__wake_up' from incompatible pointer type
lkvi.c: In function `lkvi_wait_queue_wake_interruptible':
lkvi.c:705: warning: passing arg 1 of `__wake_up' from incompatible pointer type
lkvi.c: In function `lkvi_tty_driver__write':
lkvi.c:945: `VERIFY_READ' undeclared (first use in this function)
lkvi.c: In function `lkvi_tty_driver__ioctl':
lkvi.c:1158: `VERIFY_WRITE' undeclared (first use in this function)
lkvi.c:1181: `VERIFY_READ' undeclared (first use in this function)
lkvi.c: In function `lkvi_char_device__read':
lkvi.c:2359: `VERIFY_WRITE' undeclared (first use in this function)
lkvi.c: In function `lkvi_char_device__write':
lkvi.c:2395: `VERIFY_READ' undeclared (first use in this function)
lkvi.c: At top level:
lkvi.c:2413: parse error before "select_table"
lkvi.c: In function `lkvi_char_device__select':
lkvi.c:2421: `filp' undeclared (first use in this function)
lkvi.c:2433: `mode' undeclared (first use in this function)
lkvi.c:2439: `table' undeclared (first use in this function)
lkvi.c: In function `lkvi_char_device_init':
lkvi.c:2575: warning: assignment from incompatible pointer type
lkvi.c:2576: warning: assignment from incompatible pointer type
lkvi.c:2578: structure has no member named `select'
lkvi.c:2582: warning: assignment from incompatible pointer type
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:46,
from lkvi.c:2822:
/usr/include/linux/irq.h: At top level:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in
a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:46,
from lkvi.c:2822:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from lkvi.c:2822:
/usr/include/linux/interrupt.h:129: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:129: requested alignment is not a constant
lkvi.c: In function `lkvi_atomic_int_init':
lkvi.c:2938: incompatible types in assignment
lkvi.c: In function `lkvi_atomic_int_get':
lkvi.c:2949: incompatible types in return
lkvi.c: In function `lkvi_atomic_int_set':
lkvi.c:2959: incompatible types in assignment
lkvi.c: In function `lkvi_is_signal_pending':
lkvi.c:3663: structure has no member named `signal'
lkvi.c:3663: wrong type argument to bit-complement
make: *** [lkvi.o] Erreur 1
error: Bad exit status from /var/tmp/rpm-tmp.16931 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.16931 (%install)
[root@localhost BCM_last]#
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
STEP 7:
[root@localhost SPECS]# rpmbuild -bb --target i686 BCMSM-3.4.19.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8856
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf BCMSM-3.4.19
+ /bin/gzip -dc /usr/src/RPM/SOURCES/BCMSM-3.4.19.tar.gz
+ tar -xvvf -
drwxr-xr-x root/root 0 2003-04-06 19:35:27 BCMSM-3.4.19/
-rwxr-xr-x root/root 100322 2003-04-06 19:35:27 BCMSM-3.4.19/lkvi.c
-rwxr-xr-x root/root 20442 2003-04-06 19:35:27 BCMSM-3.4.19/lkvi.h
-rw-r--r-- root/root 1109440 2003-04-06 19:35:27 BCMSM-3.4.19/BCMSM_lib.o
-rw-r--r-- root/root 2377 2003-04-06 19:35:27 BCMSM-3.4.19/BCMSM-init-redhat
-rw-r--r-- root/root 3252 2003-04-06 19:35:27 BCMSM-3.4.19/BCMSM.inf
-rw-r--r-- root/root 39907 2003-04-06 19:35:27 BCMSM-3.4.19/INF2C.c
-rw-r--r-- root/root 9788 2003-04-06 19:35:27 BCMSM-3.4.19/Makefile
-rw-r--r-- root/root 485 2003-04-06 19:35:27 BCMSM-3.4.19/ChangeLog
-rw-r--r-- root/root 2957 2003-04-06 19:35:27 BCMSM-3.4.19/BCMSM-3.4.19.spec.template
-rw-r--r-- root/root 3150 2003-04-06 19:35:27 BCMSM-3.4.19/README
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd BCMSM-3.4.19
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8856
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd BCMSM-3.4.19
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8856
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd BCMSM-3.4.19
+ make clean
touch LastRPMBuildInfo
rm -f lkvi.o INF2C.o BCMSM.o BCMSM_inf.o BCMSM_inf.c *.rpm
+ make install KERNEL_VERSION=2.4.21-0.13mdk KERNEL_DIR=/usr/src/linux-2.4.21-0.13mdk RPM=1 INSTALL_ROOT=
Building Linux Kernel Version Independent layer for this system..
gcc -minline-all-stringops -D__KERNEL__ -DMODULE -I/usr/src/linux-2.4.21-0.13mdk/include -O2 -o lkvi.o -c lkvi.c
In file included from lkvi.c:15:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/module.h:11,
from lkvi.c:25:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from /usr/include/linux/module.h:297,
from lkvi.c:25:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from lkvi.c:25:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
/usr/include/linux/module.h: In function `print_symbol':
/usr/include/linux/module.h:433: `ESRCH' undeclared (first use in this function)
/usr/include/linux/module.h:433: (Each undeclared identifier is reported only once
/usr/include/linux/module.h:433: for each function it appears in.)
lkvi.c:53:2: #error This driver compiles only for Linux versions 2.0.0 and later
In file included from lkvi.c:163:
/usr/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
lkvi.c: In function `lkvi_use_lock_init_unused':
lkvi.c:269: incompatible types in assignment
lkvi.c:574:26: linux/bios32.h: No such file or directory
lkvi.c: In function `lkvi_wait_queue_sleep':
lkvi.c:675: warning: passing arg 1 of `sleep_on' from incompatible pointer type
lkvi.c: In function `lkvi_wait_queue_sleep_interruptible':
lkvi.c:685: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
lkvi.c: In function `lkvi_wait_queue_wake':
lkvi.c:695: warning: passing arg 1 of `__wake_up' from incompatible pointer type
lkvi.c: In function `lkvi_wait_queue_wake_interruptible':
lkvi.c:705: warning: passing arg 1 of `__wake_up' from incompatible pointer type
lkvi.c: In function `lkvi_tty_driver__write':
lkvi.c:945: `VERIFY_READ' undeclared (first use in this function)
lkvi.c: In function `lkvi_tty_driver__ioctl':
lkvi.c:1158: `VERIFY_WRITE' undeclared (first use in this function)
lkvi.c:1181: `VERIFY_READ' undeclared (first use in this function)
lkvi.c: In function `lkvi_char_device__read':
lkvi.c:2359: `VERIFY_WRITE' undeclared (first use in this function)
lkvi.c: In function `lkvi_char_device__write':
lkvi.c:2395: `VERIFY_READ' undeclared (first use in this function)
lkvi.c: At top level:
lkvi.c:2413: parse error before "select_table"
lkvi.c: In function `lkvi_char_device__select':
lkvi.c:2421: `filp' undeclared (first use in this function)
lkvi.c:2433: `mode' undeclared (first use in this function)
lkvi.c:2439: `table' undeclared (first use in this function)
lkvi.c: In function `lkvi_char_device_init':
lkvi.c:2575: warning: assignment from incompatible pointer type
lkvi.c:2576: warning: assignment from incompatible pointer type
lkvi.c:2578: structure has no member named `select'
lkvi.c:2582: warning: assignment from incompatible pointer type
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:46,
from lkvi.c:2822:
/usr/include/linux/irq.h: At top level:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:46,
from lkvi.c:2822:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from lkvi.c:2822:
/usr/include/linux/interrupt.h:129: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:129: requested alignment is not a constant
lkvi.c: In function `lkvi_atomic_int_init':
lkvi.c:2938: incompatible types in assignment
lkvi.c: In function `lkvi_atomic_int_get':
lkvi.c:2949: incompatible types in return
lkvi.c: In function `lkvi_atomic_int_set':
lkvi.c:2959: incompatible types in assignment
lkvi.c: In function `lkvi_is_signal_pending':
lkvi.c:3663: structure has no member named `signal'
lkvi.c:3663: wrong type argument to bit-complement
make: *** [lkvi.o] Erreur 1
error: Bad exit status from /var/tmp/rpm-tmp.8856 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.8856 (%install)
Thanks for your help !