致命错误:linux/smp_lock.h:没有那个文件或目录

Jam*_*ald 4 make

我正在尝试为电视调谐器构建一些驱动程序,但在构建时出现此错误:

make -s -C /lib/modules/3.2.0-23-generic/build SUBDIRS=/home/jtp/IT9135_SRC modules
In file included from /home/jtp/IT9135_SRC/it9135-core.c:21:0:
/home/jtp/IT9135_SRC/it9135.h:11:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[2]: *** [/home/jtp/IT9135_SRC/it9135-core.o] Error 1
make[1]: *** [_module_/home/jtp/IT9135_SRC] Error 2
make: *** [default] Error 2
Run Code Online (Sandbox Code Playgroud)

我错过了什么?

Ala*_*rry 8

<linux/smp_lock.h>是“Big Kernel Lock”的头文件,自 2.6.39 起不再存在。这个驱动程序的作者需要做一些工作来更新它。

另外,我看到较新的内核包含一个dvb-usb-it913x模块。也许您可以停止使用旧的树外驱动程序并改用它?