Compilation Errors

Matt Caddy linux
Mon Jul 28 05:40:40 PDT 2003


Hi,

Im trying to run the make pci command and get the following error
below.  Im running redhat 9, kernel version 2.4.20-19.9.  Any one have
any ideas ?? Excuse me if this has been dealt with before, im new !

gcc -I/usr/src/linux-2.4.20-8/include -include
driver/modules/hostap_crypt.ver -include driver/modules/hostap.ver -O2
-D__KERNEL__ -DMODULE -Wall -g -c  -DMODVERSIONS -include
/usr/src/linux-2.4.20-8/include/linux/modversions.h -D__SMP__ -DSMP
-fomit-frame-pointer -o driver/modules/hostap_pci.o
driver/modules/hostap_pci.c
<command line>:3:1: /usr/src/linux-2.4.20-8/include/linux/modversions.h:
No such file or directory
In file included from /usr/include/linux/fs.h:23,
                 from /usr/include/linux/capability.h:17,
                 from /usr/include/linux/binfmts.h:5,
                 from /usr/include/linux/sched.h:9,
                 from /usr/include/linux/skbuff.h:19,
                 from driver/modules/hostap_pci.c:12:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header
in userland!
In file included from /usr/include/linux/sched.h:14,
                 from /usr/include/linux/skbuff.h:19,
                 from driver/modules/hostap_pci.c:12:
/usr/include/linux/timex.h:173: field `time' has incomplete type
/usr/include/linux/timex.h:188: confused by earlier errors, bailing out
make: *** [driver/modules/hostap_pci.o] Error 1




________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________




More information about the Hostap mailing list