[Prism54-devel] compile error Kernel 2.4.27-rc3
Hugo Koren
hugo at deltaman.nl
Tue Jul 20 21:08:11 UTC 2004
Hi all,
I am trying to compile te prism54 module with no luck.
This is what I have done so far:
downloaded the kernel 2.4.26
downloaded patch 2.4.27-rc3 (did not rename the kernel directory)
applied the patch, no errors
build the kernel, can boot with it ok.
then I did the following:
wget http://prism54.org/pub/linux/snapshot/tars/prism54-cvs-latest.tar.bz2
tar jxvf prism54-cvs-latest.tar.bz2
make KVER=$1 KDIR=/lib/modules/$1/build KMISC=/lib/modules/$1/kernel/drivers/net/wireless/prism54/ modules
(where $1 = 2.4.27-rc3)
That gives me the following compile error:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.26/include/linux/modversions.h -DPRISM54_COMPAT24 -nostdinc -iwithprefix include -DKBUILD_BASENAME=isl_38xx -c -o isl_38xx.o isl_38xx.c
In file included from islpci_dev.h:27,
from isl_38xx.c:33:
/usr/src/linux-2.4.26/include/linux/netdevice.h:471: parse error before "struct"
make[3]: *** [isl_38xx.o] Error 1
make[3]: Leaving directory `/usr/src/prism54/prism54-cvs-latest/ksrc'
make[2]: *** [_mod_/usr/src/prism54/prism54-cvs-latest/ksrc] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.26'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/prism54/prism54-cvs-latest/ksrc'
make: *** [modules-all] Error 2
What is the problem here?
Grtz,
Hugo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://prism54.org/pipermail/prism54-devel/attachments/20040720/058978dc/attachment.html
More information about the Prism54-devel
mailing list