我从Linus的github克隆了内核源代码,我对usbhid驱动程序进行了一些修改(这可以很好地编译为模块,没有错误),但如果我尝试构建整个内核,我会收到此错误:
AR drivers/gpu/drm/built-in.o
AR drivers/gpu/built-in.o
Makefile:1023: recipe for target 'drivers' failed
make: *** [drivers] Error 2
这没什么特别的 . 可能是什么问题呢?
1 回答
UPDATE: 9-15-18 This issue is resolved.. The kernel will now compile with the commands I have given below.
同样的问题在这里4.19.0-rc3将无法在Threadripper 2990WX上编译 . 顺便说一下,我目前正在运行4.19.0-rc2而没有任何问题 .
这些是我使用的命令 . 请注意,我也试过没有LD静态标志 .