Compile error
Ljubomir Zivkovic
ljuba
Wed Jan 21 18:30:11 PST 2004
Hi ,
I cannot compile the newest hostap-driver-0.1.2.
My Linux distro is Fedora Core 1 ( kernel 2.4.22-1.2149.nptl ).
The error is as follows.
Thank you for your help.
# make pci
gcc -I/usr/src/linux-2.4/include -O2 -D__KERNEL__ -DMODULE -Wall -g -c
-DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h
-fomit-frame-pointer -E -D__GENKSYMS__ driver/modules/hostap.c | \
/sbin/genksyms -k 2.4.22 > driver/modules/hostap.ver
In file included from driver/modules/hostap.c:21:
/usr/src/linux-2.4/include/linux/module.h:15:1: warning: "_set_ver"
redefined
In file included from /usr/src/linux-2.4/include/linux/modversions.h:4,
from <command line>:8:
/usr/src/linux-2.4/include/linux/modsetver.h:9:1: warning: this is the
location of the previous definition
gcc -I/usr/src/linux-2.4/include -include driver/modules/hostap.ver -O2
-D__KERNEL__ -DMODULE -Wall -g -c -DMODVERSIONS -include
/usr/src/linux-2.4/include/linux/modversions.h -fomit-frame-pointer -o
driver/modules/hostap_pci.o driver/modules/hostap_pci.c
In file included from /usr/src/linux-2.4/include/asm/semaphore.h:39,
from /usr/src/linux-2.4/include/linux/fs.h:202,
from /usr/src/linux-2.4/include/linux/capability.h:17,
from /usr/src/linux-2.4/include/linux/binfmts.h:4,
from /usr/src/linux-2.4/include/linux/sched.h:10,
from /usr/src/linux-2.4/include/linux/skbuff.h:19,
from driver/modules/hostap_pci.c:12:
/usr/src/linux-2.4/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux-2.4/include/asm/system.h:189: warning: dereferencing
type-punned pointer will break strict-aliasing rules
/usr/src/linux-2.4/include/asm/system.h:189: warning: dereferencing
type-punned pointer will break strict-aliasing rules
In file included from driver/modules/hostap_wlan.h:6,
from driver/modules/hostap_pci.c:24:
driver/modules/hostap_compat.h: At top level:
driver/modules/hostap_compat.h:181: error: redefinition of `free_netdev'
/usr/src/linux-2.4/include/linux/netdevice.h:877: error: `free_netdev'
previously defined here
make: *** [driver/modules/hostap_pci.o] Error 1
More information about the Hostap
mailing list