0

I am trying to compile linux 3.5.2 kernel. I followed this tutorial "http://blog.techveda.org/index.php/adding-system-calls-linux-kernel-3-5-x/"

and everything was going perfect.but when I tried to do build the kernel I get this error here are the commands I used to build my kernel

sudo cp /boot/config-3.5.0-17-generic ./config
make oldconfig
sudo make -j8

the error when I do the make -j8 is:

ERROR: "__modver_version_show" [drivers/staging/rts5139/rts5139.ko] undefined!
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

I really can't find what is the problem it looks like I have a problem with a driver but how could this happen and I am using my old configuration file that is already working. ??

4

2 回答 2

1

我在编译内核3.2时也遇到了同样的问题,通过“su -”到root然后重新编译来解决它。

于 2014-01-21T06:01:56.653 回答
0

如果您不需要此驱动程序,只需修改配置字段,如下所示:

 CONFIG_RTS5139=n
于 2013-04-14T17:16:52.017 回答