Reputation: 612
I'm building the wireless driver from https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.10.4/backports-3.10.4-1.tar.bz2 and I get this error message. I have build-essential and the generic headers installed.. not sure where to go from here. Any help would be appreciated!
ipw2200.c:8259:4: error: implicit declaration of function ‘__list_for_each’ [-Werror=implicit-function-declaration] __list_for_each(p, &priv->ibss_mac_hash[index]) {
Upvotes: 2
Views: 1502
Reputation: 31
I changed the actual code in that line __list_for_each
to list_for_each
in 3.13.x which is referred by my linux/list.h
Upvotes: 3
Reputation: 7059
The kernel you are running (or the one you have includes for) is missing __list_for_each
macro (AFAICT, last found in 3.10's linux/list.h
, missing in 3.11 kernel).
Install 3.10 kernel (and associated headers) from repositories, reboot into it, and reconfigure.
Upvotes: 1