2011-04-30 21:41:34

by George Nychis

[permalink] [raw]
Subject: bug: implicit declaration error in nightly build compat-wireless-2011-04-29

Hi all,

After checking linux-wireless.org, I think this is the right place to
report a bug (albiet simple).

I believe there is a missing header file in the nightly build for
compat-wireless-2011-04-29, which pops up when trying to cross-compile
compat-wireless to the arm architecture. It does not show when
building not cross-compiling.

compat-wireless-2011-04-29/compat/compat-2.6.37.c: In function 'vzalloc':
compat-wireless-2011-04-29/compat/compat-2.6.37.c:350: error: implicit
declaration of function 'vmalloc'

I believe compat-2.6.37.c is missing:
#include <linux/vmalloc.h>

... which fixed my compilation.

- George