hostap-driver-0.3.9 compilation error on 2.4.19 kernel

Mazen.Arakji at colorado.edu Mazen.Arakji
Fri Aug 5 12:06:11 PDT 2005


Hello:

I'm new to this list.  I'm trying to compile the hostap-driver-0.3.9 for my iPAQ
h3900.  I am developing on the the iPAQ cluster provided by handhelds.org.

So the first thing I did was get and patch the kernel source of the kernel I
have on my iPAQ which is 2.4.19 rmk6.   Then I configured it for my
architecture so that it could be used by other programs.

However when I go into my hostap-driver-0.3.9 directory and type make, I get the
follwoing error messages:




guest at ipaq2:~/homes/meezoak at hotmail.com/hostap-driver-0.3.9$ make
Makefile:53: WARNING: Linux wireless extensions, CONFIG_NET_RADIO, not enabled
in the kernel
make -C /home/guest/homes/meezoak at hotmail.com/linux-2.4.19
SUBDIRS=/home/guest/homes/meezoak at hotmail.com/hostap-driver-0.3.9/driver/modules
modules
make[1]: Entering directory `/home/guest/homes/meezoak at hotmail.com/linux-2.4.19'
make -C 
/home/guest/homes/meezoak at hotmail.com/hostap-driver-0.3.9/driver/modules
CFLAGS="-D__KERNEL__
-I/home/guest/homes/meezoak at hotmail.com/linux-2.4.19/include -Wall
-Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm
-fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4
-mtune=strongarm1100 -mshort-load-bytes -msoft-float -Uarm -DMODULE"
MAKING_MODULES=1 modules
make[2]: Entering directory
`/home/guest/homes/meezoak at hotmail.com/hostap-driver-0.3.9/driver/modules'
gcc -D__KERNEL__ -I/home/guest/homes/meezoak at hotmail.com/linux-2.4.19/include
-Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common
-Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4
-mtune=strongarm1100 -mshort-load-bytes -msoft-float -Uarm -DMODULE  -nostdinc
-I /usr/lib/gcc-lib/arm-linux/2.95.4/include -DKBUILD_BASENAME=hostap   -c -o
hostap.o hostap.c
In file included from hostap.c:21:
/home/guest/homes/meezoak at hotmail.com/linux-2.4.19/include/linux/module.h:21:
linux/modversions.h: No such file or directory
In file included from hostap.c:107:
hostap_ap.c: In function `prism2_ap_translate_scan':
hostap_ap.c:2380: `IW_SCAN_MAX_DATA' undeclared (first use in this function)
hostap_ap.c:2380: (Each undeclared identifier is reported only once
hostap_ap.c:2380: for each function it appears in.)
hostap_ap.c:2393: structure has no member named `cmd'
hostap_ap.c:2394: structure has no member named `u'
hostap_ap.c:2395: structure has no member named `u'
hostap_ap.c:2396: structure has no member named `len'
hostap_ap.c:2396: `IW_EV_ADDR_LEN' undeclared (first use in this function)
hostap_ap.c:2397: warning: implicit declaration of function
`iwe_stream_add_event'
hostap_ap.c:2398: warning: assignment makes pointer from integer without a cast
hostap_ap.c:2403: structure has no member named `cmd'
hostap_ap.c:2405: structure has no member named `u'
hostap_ap.c:2407: structure has no member named `u'
hostap_ap.c:2408: structure has no member named `len'
hostap_ap.c:2408: `IW_EV_UINT_LEN' undeclared (first use in this function)
hostap_ap.c:2410: warning: assignment makes pointer from integer without a cast
hostap_ap.c:2414: structure has no member named `cmd'
hostap_ap.c:2414: `IWEVQUAL' undeclared (first use in this function)
hostap_ap.c:2416: structure has no member named `u'
hostap_ap.c:2419: structure has no member named `u'
hostap_ap.c:2421: structure has no member named `u'
hostap_ap.c:2422: structure has no member named `u'
hostap_ap.c:2423: structure has no member named `u'
hostap_ap.c:2424: structure has no member named `len'
hostap_ap.c:2424: `IW_EV_QUAL_LEN' undeclared (first use in this function)
hostap_ap.c:2426: warning: assignment makes pointer from integer without a cast
hostap_ap.c:2431: structure has no member named `cmd'
hostap_ap.c:2432: structure has no member named `u'
hostap_ap.c:2433: structure has no member named `u'
hostap_ap.c:2434: warning: implicit declaration of function
`iwe_stream_add_point'
hostap_ap.c:2436: warning: assignment makes pointer from integer without a cast
hostap_ap.c:2439: structure has no member named `cmd'
hostap_ap.c:2441: structure has no member named `u'
hostap_ap.c:2444: structure has no member named `u'
hostap_ap.c:2448: warning: assignment makes pointer from integer without a cast
hostap_ap.c:2453: structure has no member named `cmd'
hostap_ap.c:2454: structure has no member named `u'
hostap_ap.c:2456: structure has no member named `u'
hostap_ap.c:2459: `IW_EV_FREQ_LEN' undeclared (first use in this function)
hostap_ap.c:2459: warning: assignment makes pointer from integer without a cast
In file included from hostap.c:108:
hostap_info.c: In function `hostap_report_scan_complete':
hostap_info.c:234: warning: implicit declaration of function
`wireless_send_event'
hostap_info.c:234: `SIOCGIWSCAN' undeclared (first use in this function)
In file included from hostap.c:109:
hostap_ioctl.c: In function `__prism2_translate_scan':
hostap_ioctl.c:1773: structure has no member named `cmd'
hostap_ioctl.c:1774: structure has no member named `u'
hostap_ioctl.c:1775: structure has no member named `u'
hostap_ioctl.c:1782: structure has no member named `len'
hostap_ioctl.c:1782: `IW_EV_ADDR_LEN' undeclared (first use in this function)
hostap_ioctl.c:1784: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1789: structure has no member named `cmd'
hostap_ioctl.c:1790: structure has no member named `u'
hostap_ioctl.c:1791: structure has no member named `u'
hostap_ioctl.c:1792: structure has no member named `len'
hostap_ioctl.c:1792: `IW_EV_POINT_LEN' undeclared (first use in this function)
hostap_ioctl.c:1792: structure has no member named `u'
hostap_ioctl.c:1793: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1796: structure has no member named `cmd'
hostap_ioctl.c:1806: structure has no member named `u'
hostap_ioctl.c:1808: structure has no member named `u'
hostap_ioctl.c:1809: structure has no member named `len'
hostap_ioctl.c:1809: `IW_EV_UINT_LEN' undeclared (first use in this function)
hostap_ioctl.c:1811: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1815: structure has no member named `cmd'
hostap_ioctl.c:1825: structure has no member named `u'
hostap_ioctl.c:1826: structure has no member named `u'
hostap_ioctl.c:1827: structure has no member named `len'
hostap_ioctl.c:1827: `IW_EV_FREQ_LEN' undeclared (first use in this function)
hostap_ioctl.c:1829: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1834: structure has no member named `cmd'
hostap_ioctl.c:1834: `IWEVQUAL' undeclared (first use in this function)
hostap_ioctl.c:1836: structure has no member named `u'
hostap_ioctl.c:1837: structure has no member named `u'
hostap_ioctl.c:1839: structure has no member named `u'
hostap_ioctl.c:1841: structure has no member named `u'
hostap_ioctl.c:1844: structure has no member named `len'
hostap_ioctl.c:1844: `IW_EV_QUAL_LEN' undeclared (first use in this function)
hostap_ioctl.c:1846: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1850: structure has no member named `cmd'
hostap_ioctl.c:1852: structure has no member named `u'
hostap_ioctl.c:1854: structure has no member named `u'
hostap_ioctl.c:1855: structure has no member named `u'
hostap_ioctl.c:1856: structure has no member named `len'
hostap_ioctl.c:1856: structure has no member named `u'
hostap_ioctl.c:1857: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1862: structure has no member named `cmd'
hostap_ioctl.c:1863: `IW_EV_LCP_LEN' undeclared (first use in this function)
hostap_ioctl.c:1869: structure has no member named `u'
hostap_ioctl.c:1870: warning: implicit declaration of function
`iwe_stream_add_value'
hostap_ioctl.c:1872: `IW_EV_PARAM_LEN' undeclared (first use in this function)
hostap_ioctl.c:1872: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1751: warning: `current_val' might be used uninitialized in this
function
In file included from hostap.c:111:
hostap_80211_rx.c: In function `__hostap_get_bss':
hostap_80211_rx.c:303: warning: implicit declaration of function `list_move'
make[2]: *** [hostap.o] Error 1
make[2]: Leaving directory
`/home/guest/homes/meezoak at hotmail.com/hostap-driver-0.3.9/driver/modules'
make[1]: ***
[_mod_/home/guest/homes/meezoak at hotmail.com/hostap-driver-0.3.9/driver/modules]
Error 2
make[1]: Leaving directory `/home/guest/homes/meezoak at hotmail.com/linux-2.4.19'
make: *** [2.4] Error 2
guest at ipaq2:~/homes/meezoak at hotmail.com/hostap-driver-0.3.9$


Does anyone know what I'm doing wrong?




More information about the Hostap mailing list