Problem compiling on Fedora Linux core 1

Sikko__man sikko__man
Tue Dec 2 04:23:38 PST 2003


Hi,

At this moment I am using hostap 0.0.3 on my Fedora Linux core 1 system. It
runs fine. I'm using a Netgear Wireless PCI card.

Now I'm trying to compile the new 0.1.2 version, but when I do this, I get
the following output:

make pci EXTRA_FLAGS="-DPRISM2_DOWNLOAD_SUPPORT -DPRISM2_HOSTAPD"

gcc -I/usr/src/linux/include -O2 -D__KERNEL__ -DMODULE -Wall -g -c  -DMODVER
SIONS -include
/usr/src/linux/include/linux/modversions.h -fomit-frame-pointer -E -D__GENKS
YMS__ 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/include/linux/module.h:15:1: warning: "_set_ver" redefined
In file included from /usr/src/linux/include/linux/modversions.h:4,
                 from <command line>:8:
/usr/src/linux/include/linux/modsetver.h:9:1: warning: this is the location
of the previous definition
gcc -I/usr/src/linux/include -include
driver/modules/hostap.ver  -O2 -D__KERNEL__ -DMODULE -Wall -g -c  -DMODVERSI
ONS -include
/usr/src/linux/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/include/asm/semaphore.h:39,
                 from /usr/src/linux/include/linux/fs.h:202,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/binfmts.h:4,
                 from /usr/src/linux/include/linux/sched.h:10,
                 from /usr/src/linux/include/linux/skbuff.h:19,
                 from driver/modules/hostap_pci.c:12:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned
pointer will break strict-aliasing rules
/usr/src/linux/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/include/linux/netdevice.h:877: error: `free_netdev'
previously defined here
make: *** [driver/modules/hostap_pci.o] Error 1

Does anyone have an idea how to resolve this?

Regards,

Sikko




More information about the Hostap mailing list