Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

wpa_supplicant won't compile on etch

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Pandor
Posts: 2
Joined: 2005-11-06 22:50
Location: Belgium

wpa_supplicant won't compile on etch

#1 Post by Pandor »

hi,

i've just installed debian testing on my laptop.
Now i'm trying to get my SMC wireless cardbus adaptor to work (atheros based) so I checked out and compiled the latest madwifi module sucesfully, but now i cant seem to compile the wpa_supplicant package. (i know it's in the debian rep. but i would like the latest version, including a compiled wpa_gui).

this is the errors i get when doing "make":

Code: Select all

In file included from /usr/src/madwifi/net80211/ieee80211_ioctl.h:502,
                 from driver_madwifi.c:39:
usr/include/linux/if.h:95: error: redefinition of 'struct ifmap'
/usr/include/linux/if.h:131: error: redefinition of 'struct ifreq'
/usr/include/linux/if.h:181: error: redefinition of 'struct ifconf'
driver_madwifi.c: In function 'set80211priv':
driver_madwifi.c:91: error: 'IEEE80211_IOCTL_CHANLIST' undeclared (first use in this function)
driver_madwifi.c:91: error: (Each undeclared identifier is reported only once
driver_madwifi.c:91: error: for each function it appears in.)
make: *** [driver_madwifi.o] Error 1
wpa_gui itself compiled fine btw ("make wpa_gui")

anyone any suggestions?
thx in advance.

User avatar
tovis
Posts: 24
Joined: 2005-11-06 13:59
Location: Hungary

#2 Post by tovis »

At first I would check where in ieee80211_ioctl.h structures are redefined, there should be something like

Code: Select all

#ifndef SOMETHING
struct ...
#endif
Your task to find that "SOMETHING" and why it is not defined.

About 'IEEE80211_IOCTL_CHANLIST' you should find this definition and include it to the "driver_madwifi.c"

These sources not for your kernel source! or there is a bug in sources or in Makefile.
Skype: tovis01

Pandor
Posts: 2
Joined: 2005-11-06 22:50
Location: Belgium

#3 Post by Pandor »

Sorry, forgot to mention i'm using kernel 2.6.12-1-686 and downloaded the 2.6.12 source from the testing rep. (build with oldconfig/make)

haven't had time to check out the source files as you suggested, but i'll have a look at it this evening, gotta go to work now.

Post Reply