Four_0h_Three
Four_0h_Three

Reputation: 612

Error when building wifi drivers on Ubuntu 13.10

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

Answers (2)

Emad
Emad

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

K3---rnc
K3---rnc

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

Related Questions