[Prism54-users] make prism54 error

dhobner@ideorlando.org dhobner@ideorlando.org
Wed, 17 Mar 2004 15:06:37 -0500 (EST)


Running kernal version:

[root@ntclap2 prism54-cvs-latest]# uname -a
Linux ntclap2 2.4.24 #2 Wed Mar 17 10:32:32 EST 2004 i686 i686 i386 GNU/Linux

Buildinging driver and getting error:


make KDIR=/usr/src/linux-2.4.24 clean modules

gcc -D__KERNEL__ -I/usr/src/linux-2.4.24/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE  -nostdinc
-iwithprefix include -DKBUILD_BASENAME=islpci_mgt  -c -o islpci_mgt.o
islpci_mgt.c
islpci_mgt.c:25:31: linux/moduleparam.h: No such file or directory
islpci_mgt.c:59: error: syntax error before "int"
islpci_mgt.c:59: warning: type defaults to `int' in declaration of
`module_param'
islpci_mgt.c:59: warning: function declaration isn't a prototype
islpci_mgt.c:59: warning: data definition has no type or storage class

make is looking for moduleparam.h in:
/usr/src/linux-2.4/include/linux/

but it is not there?

Do I have the correct version of the kernal?