On 27 August 2011 18:49, Barry Drake <ubuntu-advertis...@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. -Matt Daubney -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/