hostapd on Slackware Linux 12.2 - compile errors
Jesper Juhl
jj
Thu Apr 2 14:57:30 PDT 2009
Hi,
I'm trying to get my 'fit-PC slim'
(http://www.fit-pc.com/new/fit-pc-slim-specifications.html), currently
running Slackware Linux 12.2, going as a wireless access point.
The built-in wifi NIC is RaLink RT2571W that supports both NIC and
access-point mode (as far as I've been able to find out) and should be
supported by the rt73usb driver in Linux.
I tried to research the requirements for getting this working and
concluded that I'd need a Linux 2.6.29+ kernel, libnl 1.1+ and the latest
stable hostapd.
I'm currently running a 2.6.29 kernel with all the required bits enabled
(.config available upon request) - actually, it's a kernel.org git
snapshot as of today, so slightly patched compared to plain 2.6.29.
I couldn't access the libnl homepage - it seems to be having problems
currently, so I grabbed the current git repo from kernel.org - it build
and installed perfectly.
My current problem is with hostapd. I downloaded the latest stable version
(0.6.9), created a .config (attached) and tried to build it, but it fails
with the following :
# make
...
cc -MMD -O2 -Wall -g -DHOSTAPD_DUMP_STATE -I../src -I../src/crypto
-I../src/utils -I../src/common -DCONFIG_CTRL_IFACE
-DCONFIG_CTRL_IFACE_UNIX -DCONFIG_IAPP -DCONFIG_RSN_PREAUTH
-DCONFIG_PEERKEY -DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_NL80211 -DEAP_MD5
-DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_SERVER
-DEAP_TLS_FUNCS -DPKCS12_FUNCS -DINTERNAL_SHA256 -DCONFIG_NO_FIPS186_2_PRF
-DCONFIG_NO_T_PRF -DCONFIG_IPV6 -c -o driver_nl80211.o driver_nl80211.c
driver_nl80211.c: In function 'send_and_recv_msgs':
driver_nl80211.c:182: warning: passing argument 1 of
'nl_send_auto_complete' from incompatible pointer type
driver_nl80211.c:197: warning: passing argument 1 of 'nl_recvmsgs' from
incompatible pointer type
driver_nl80211.c: In function 'i802_init_sockets':
driver_nl80211.c:2198: warning: implicit declaration of function
'nl_handle_alloc_cb'
driver_nl80211.c:2198: warning: assignment makes pointer from integer
without a cast
driver_nl80211.c:2204: warning: passing argument 1 of 'genl_connect' from
incompatible pointer type
driver_nl80211.c:2215: warning: passing argument 1 of
'genl_ctrl_alloc_cache' from incompatible pointer type
driver_nl80211.c:2215: error: too few arguments to function
'genl_ctrl_alloc_cache'
driver_nl80211.c: In function 'i802_deinit':
driver_nl80211.c:2651: warning: implicit declaration of function
'nl_handle_destroy'
make: *** [driver_nl80211.o] Error 1
Any input as to what I'm doing wrong would be greatly appreciated.
If there's any additional info you need me to provide, don't hesitate to
ask.
Thank you in advance for any help you may be able to provide.
--
Jesper Juhl <jj at chaosbits.net> http://www.chaosbits.net/
Plain text mails only, please http://www.expita.com/nomime.html
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
More information about the Hostap
mailing list