LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   "i2c_register_board_info" undefinied (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/i2c_register_board_info-undefinied-4175526736/)

webquinty 11-28-2014 06:51 AM

"i2c_register_board_info" undefinied
 
I have tried to compile a kernel driver as module but return me a warning.

Quote:

WARNING: "i2c_register_board_info" ar1020-i2c.ko undefined!
My kernel is 3.6.11

CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=y

any advice?

Best regards.

smallpond 11-28-2014 06:56 AM

Are you compiling it separately from the rest of the kernel? Is your modules.symvers file installed?

webquinty 11-28-2014 08:09 AM

Hello smallpond,

Yes, I am compiling it separately from the rest of the kernel?

Quote:

Is your modules.symvers file installed?
My linux folder /linux-3.6.11 :

Quote:


-rw-r--r-- 1 john john 8517 Nov 28 14:06 modules.builtin
-rw-r--r-- 1 john john 135 Nov 28 14:09 modules.order
-rw-r--r-- 1 john john 310817 Nov 28 14:09 Module.symvers


smallpond 11-28-2014 02:14 PM

Are you using the correct make command?


All times are GMT -5. The time now is 03:43 PM.