[ubuntu-uk] kernel - missing header.
matt at daubers.co.uk
Sat Aug 27 18:19:55 UTC 2011
On 27 August 2011 18:49, Barry Drake <ubuntu-advertising at gmx.com> wrote:
> Hi there .... When I tried to re-build the module for my wi-fi dongle, I
> got the error that smp_lock.h was missing. I eventually found a workaround
> on a Swedish site! Simply putting a symlink into an earlier set of headers
> does the trick - this works for me. The file is in
> /usr/src/linux-headers-[XYZ], and if the earlier one is not available legacy
> headers can be found in the repo.
> Might save someone a bit of head scratching. Should I report this as a bug?
> If so, how?
smp_lock.h no longer exists in the kernel. See http://lwn.net/Articles/424677/
specifically the line "delete mode 100644 include/linux/smp_lock.h"
Was part of the BKL :) (http://en.wikipedia.org/wiki/Big_Kernel_Lock)
so the wifi dongle drivers probably aren't truely compatible with
current versions of the kernel.
More information about the ubuntu-uk