I need help on compiling the linux kernel for libdrc.
first I downloaded the latest linux source with
get-apt source linux-image-$(uname -r)
then I copied all files of the drc-mac80211 folder to the mac80211 folder in the source directory. I replaced all files.
then I switched to the source directory and used
make oldconfig
to create the config for the kernel.
at least I tried to compile the kernel with
make
then I get the following error msg:
btw. maybe someone could make a tut, for linux noobs like me, for the whole drc stuff.
first I downloaded the latest linux source with
get-apt source linux-image-$(uname -r)
then I copied all files of the drc-mac80211 folder to the mac80211 folder in the source directory. I replaced all files.
then I switched to the source directory and used
make oldconfig
to create the config for the kernel.
at least I tried to compile the kernel with
make
then I get the following error msg:
Code:
...
LD net/mac80211/built-in.o
CC [M] net/mac80211/main.o
In file included from net/mac80211/main.c:28:0:
net/mac80211/ieee80211_i.h:1347:10: warning: ‘enum nl80211_bss_scan_width’ declared inside parameter list [enabled by default]
enum nl80211_bss_scan_width scan_width);
^
net/mac80211/ieee80211_i.h:1347:10: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
In file included from net/mac80211/main.c:29:0:
net/mac80211/driver-ops.h: In function ‘drv_channel_switch_beacon’:
net/mac80211/driver-ops.h:1081:16: error: ‘const struct ieee80211_ops’ has no member named ‘channel_switch_beacon’
if (local->ops->channel_switch_beacon) {
^
net/mac80211/driver-ops.h:1083:13: error: ‘const struct ieee80211_ops’ has no member named ‘channel_switch_beacon’
local->ops->channel_switch_beacon(&local->hw, &sdata->vif,
^
In file included from net/mac80211/main.c:30:0:
net/mac80211/rate.h: In function ‘rate_control_rate_init’:
net/mac80211/rate.h:73:8: warning: passing argument 3 of ‘ref->ops->rate_init’ from incompatible pointer type [enabled by default]
priv_sta);
^
net/mac80211/rate.h:73:8: note: expected ‘struct ieee80211_sta *’ but argument is of type ‘struct cfg80211_chan_def *’
net/mac80211/rate.h:73:8: error: too many arguments to function ‘ref->ops->rate_init’
net/mac80211/rate.h: In function ‘rate_control_rate_update’:
net/mac80211/rate.h:97:11: warning: passing argument 3 of ‘ref->ops->rate_update’ from incompatible pointer type [enabled by default]
ista, priv_sta, changed);
^
net/mac80211/rate.h:97:11: note: expected ‘struct ieee80211_sta *’ but argument is of type ‘struct cfg80211_chan_def *’
net/mac80211/rate.h:97:11: warning: passing argument 5 of ‘ref->ops->rate_update’ makes integer from pointer without a cast [enabled by default]
net/mac80211/rate.h:97:11: note: expected ‘u32’ but argument is of type ‘void *’
net/mac80211/rate.h:97:11: error: too many arguments to function ‘ref->ops->rate_update’
net/mac80211/main.c: In function ‘ieee80211_hw_conf_chan’:
net/mac80211/main.c:145:2: error: implicit declaration of function ‘ieee80211_chandef_max_power’ [-Werror=implicit-function-declaration]
power = ieee80211_chandef_max_power(&chandef);
^
cc1: some warnings being treated as errors
make[2]: *** [net/mac80211/main.o] Error 1
make[1]: *** [net/mac80211] Error 2
make: *** [net] Error 2
btw. maybe someone could make a tut, for linux noobs like me, for the whole drc stuff.








