Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to build v1.09H using legacy kernel source #46

Open
mrdc opened this issue Jul 25, 2024 · 2 comments
Open

Trying to build v1.09H using legacy kernel source #46

mrdc opened this issue Jul 25, 2024 · 2 comments

Comments

@mrdc
Copy link

mrdc commented Jul 25, 2024

Hi,

I’ll use this issue to track the progress of compiling the latest official firmware (1.09H) using the old toolset. It looks like the latest firmwares still use the same kernel & u-boot, but with some patches applied to the kernel (just guessing). I’ll include the support for Edimax EW-7811Un V2 as soon as I’ll compile the whole firmware. Successfully built for 1.04/1.05 as a separate module, but will embed it to make it plug&play by flashing the new firmware.

Kernel:

drivers/net/wireless/b43/main.c:3752: error: 'struct ieee80211_key_conf' has no member named 'alg'
drivers/net/wireless/b43/main.c:3753: error: 'ALG_WEP' undeclared (first use in this function)
drivers/net/wireless/b43/main.c:3753: error: (Each undeclared identifier is reported only once
drivers/net/wireless/b43/main.c:3753: error: for each function it appears in.)
drivers/net/wireless/b43/main.c:3759: error: 'ALG_TKIP' undeclared (first use in this function)
drivers/net/wireless/b43/main.c:3762: error: 'ALG_CCMP' undeclared (first use in this function)
drivers/net/wireless/b43/main.c:4399: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4400: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4401: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4402: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4403: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4410: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4414: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4415: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4416: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4436: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4441: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4582: error: unknown field 'get_tx_stats' specified in initializer
drivers/net/wireless/b43/main.c:4906: error: 'IEEE80211_HW_NOISE_DBM' undeclared (first use in this function)
net/mac80211/driver-ops.h:42: error: dereferencing pointer to incomplete type
net/mac80211/driver-ops.h:42: error: dereferencing pointer to incomplete type
net/mac80211/driver-ops.h:50: error: dereferencing pointer to incomplete type
net/mac80211/driver-ops.h:50: error: dereferencing pointer to incomplete type
net/mac80211/driver-ops.h:78: error: too many arguments to function 'local->ops->prepare_multicast'
net/mac80211/driver-ops.h:125: error: too few arguments to function 'local->ops->update_tkip_key'
net/mac80211/driver-ops.h:132: error: too few arguments to function 'local->ops->hw_scan'
net/mac80211/driver-ops.h:204: error: 'const struct ieee80211_ops' has no member named 'get_tx_stats'
net/mac80211/rate.h:49: error: 'IEEE80211_TX_INTFL_RCALGO' undeclared (first use in this function)
net/mac80211/rate.h:49: error: (Each undeclared identifier is reported only once
net/mac80211/rate.h:49: error: for each function it appears in.)
net/mac80211/rate.h:80: error: too few arguments to function 'ref->ops->rate_update'
net/mac80211/main.c:261: error: implicit declaration of function 'ieee80211_stop_tx_ba_cb'
net/mac80211/main.c:267: error: implicit declaration of function 'ieee80211_start_tx_ba_cb'
@mrdc
Copy link
Author

mrdc commented Jul 26, 2024

The error for b43 can be eliminated by changing kernel build settings.

@mrdc
Copy link
Author

mrdc commented Jul 26, 2024

Almost! :D Only these errors are left to have error-free kernel build for v109D.

net/mac80211/driver-ops.h:42: error: dereferencing pointer to incomplete type
net/mac80211/driver-ops.h:42: error: dereferencing pointer to incomplete type
net/mac80211/driver-ops.h:50: error: dereferencing pointer to incomplete type
net/mac80211/driver-ops.h:50: error: dereferencing pointer to incomplete type
net/mac80211/driver-ops.h:78: error: too many arguments to function 'local->ops->prepare_multicast'
net/mac80211/driver-ops.h:125: error: too few arguments to function 'local->ops->update_tkip_key'
net/mac80211/driver-ops.h:132: error: too few arguments to function 'local->ops->hw_scan'
net/mac80211/driver-ops.h:204: error: 'const struct ieee80211_ops' has no member named 'get_tx_stats'
net/mac80211/rate.h:49: error: 'IEEE80211_TX_INTFL_RCALGO' undeclared (first use in this function)
net/mac80211/rate.h:49: error: (Each undeclared identifier is reported only once
net/mac80211/rate.h:49: error: for each function it appears in.)
net/mac80211/rate.h:80: error: too few arguments to function 'ref->ops->rate_update'
net/mac80211/main.c:261: error: implicit declaration of function 'ieee80211_stop_tx_ba_cb'
net/mac80211/main.c:267: error: implicit declaration of function 'ieee80211_start_tx_ba_cb'
make[2]: *** [net/mac80211/main.o] Error 1
make[1]: *** [net/mac80211] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant