From: Munir Nassar (nassarmu_at_redconcepts.net)
Date: 2002-10-13 05:54:37 UTC
Has anyone experienced problems compiling hostap against the redhat kernel
coming with RH8.0?
what i did in the past is this:
edit the Makefile in the kernel-source and removed the "custom"
make menuconfig, exit and save
make dep
in the hostap tree
edit the makefile and point it to /usr/src/linux-2.4
make pccard
make install pccard
and this worked great in RH7.3
in rh8.0 i get:
gcc -I/usr/src/linux-2.4/include -include driver/modules/hostap_crypt.ver
-include driver/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -c -DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h -fomit-frame-pointer -o driver/modules/hostap_cs.odriver/modules/hostap_cs.c
In file included from /usr/src/linux-2.4/include/linux/prefetch.h:13, from /usr/src/linux-2.4/include/linux/list.h:6, from /usr/src/linux-2.4/include/linux/module.h:12, from driver/modules/hostap_cs.c:8:
<snip, as this goes on for quite a bit for this and socket.h, kernel.h and many others>
Munir Nassar
Systems Administrator
RedConcepts.NET