hostap-driver-0.3.9 compilation error on 2.4.19 kernel

Mazen.Arakji at colorado.edu Mazen.Arakji at colorado.edu
Mon Aug 8 10:51:27 EDT 2005


Thanks for the reply.

Since the 2.4.19-rmk6 kernel is the most recent for the  iPAQ h3900, I decided
to try hostap-driver-0.2.6.  However, I still get the same error messages:

guest at ipaq2:~/homes/meezoak at hotmail.com/hostap-driver-0.2.6$ make
Makefile:49: 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.2.6/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.2.6/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.2.6/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: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:1696: structure has no member named `cmd'
hostap_ioctl.c:1697: structure has no member named `u'
hostap_ioctl.c:1698: structure has no member named `u'
hostap_ioctl.c:1705: structure has no member named `len'
hostap_ioctl.c:1705: `IW_EV_ADDR_LEN' undeclared (first use in this function)
hostap_ioctl.c:1707: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1712: structure has no member named `cmd'
hostap_ioctl.c:1713: structure has no member named `u'
hostap_ioctl.c:1714: structure has no member named `u'
hostap_ioctl.c:1715: structure has no member named `len'
hostap_ioctl.c:1715: `IW_EV_POINT_LEN' undeclared (first use in this function)
hostap_ioctl.c:1715: structure has no member named `u'
hostap_ioctl.c:1716: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1719: structure has no member named `cmd'
hostap_ioctl.c:1725: structure has no member named `u'
hostap_ioctl.c:1727: structure has no member named `u'
hostap_ioctl.c:1728: structure has no member named `len'
hostap_ioctl.c:1728: `IW_EV_UINT_LEN' undeclared (first use in this function)
hostap_ioctl.c:1730: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1734: structure has no member named `cmd'
hostap_ioctl.c:1735: structure has no member named `u'
hostap_ioctl.c:1737: structure has no member named `u'
hostap_ioctl.c:1738: structure has no member named `len'
hostap_ioctl.c:1738: `IW_EV_FREQ_LEN' undeclared (first use in this function)
hostap_ioctl.c:1740: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1743: structure has no member named `cmd'
hostap_ioctl.c:1743: `IWEVQUAL' undeclared (first use in this function)
hostap_ioctl.c:1745: structure has no member named `u'
hostap_ioctl.c:1746: structure has no member named `u'
hostap_ioctl.c:1748: structure has no member named `u'
hostap_ioctl.c:1749: structure has no member named `u'
hostap_ioctl.c:1752: structure has no member named `len'
hostap_ioctl.c:1752: `IW_EV_QUAL_LEN' undeclared (first use in this function)
hostap_ioctl.c:1754: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1757: structure has no member named `cmd'
hostap_ioctl.c:1759: structure has no member named `u'
hostap_ioctl.c:1761: structure has no member named `u'
hostap_ioctl.c:1762: structure has no member named `u'
hostap_ioctl.c:1763: structure has no member named `len'
hostap_ioctl.c:1763: structure has no member named `u'
hostap_ioctl.c:1764: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1767: structure has no member named `cmd'
hostap_ioctl.c:1768: `IW_EV_LCP_LEN' undeclared (first use in this function)
hostap_ioctl.c:1774: structure has no member named `u'
hostap_ioctl.c:1775: warning: implicit declaration of function
`iwe_stream_add_value'
hostap_ioctl.c:1777: `IW_EV_PARAM_LEN' undeclared (first use in this function)
hostap_ioctl.c:1777: warning: assignment makes pointer from integer without a
cast
hostap_ioctl.c:1674: warning: `current_val' might be used uninitialized in this
function
hostap_ioctl.c: In function `prism2_translate_scan':
hostap_ioctl.c:1849: `IW_SCAN_MAX_DATA' undeclared (first use 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.2.6/driver/modules'
make[1]: ***
[_mod_/home/guest/homes/meezoak at hotmail.com/hostap-driver-0.2.6/driver/modules]
Error 2
make[1]: Leaving directory `/home/guest/homes/meezoak at hotmail.com/linux-2.4.19'
make: *** [2.4] Error 2



Is it possible that the hostap-driver-0.2.6 is also incompatible with kernel
version 2.4.19-rmk6?  If so, what version should I use?



Quoting Jouni Malinen <jkmaline at cc.hut.fi>:

> On Fri, Aug 05, 2005 at 01:06:11PM -0600, Mazen.Arakji at colorado.edu wrote:
>
> > 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:
>
> Linux 2.4.19 is quite old and Host AP driver 0.3.x and 0.4.x versions
> support only newer kernel versions. You will either need to upgrade your
> kernel (or at least wireless extensions support in it) or use Host AP
> driver 0.2.x.
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>





More information about the HostAP mailing list