LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kernel compiling error on i2c (https://www.linuxquestions.org/questions/linux-software-2/kernel-compiling-error-on-i2c-113441/)

lak 11-07-2003 11:13 AM

kernel compiling error on i2c
 
Loading i2c modular error on kernel 2.4.20-8 (kernel compiling error on i2c)

When I load the i2c modular in kernel-2.4.20-8 linux for video support and compile the kernel,then do the make modules; this error occurs and after runs the make modules_install it gives the same error

make[2]: Entering directory `/usr/src/linux-2.4.20-8/drivers/i2c'
mkdir -p /lib/modules/2.4.20-8custom/kernel/drivers/i2c/
cp i2c-core.o /lib/modules/2.4.20-8custom/kernel/drivers/i2c/
cp: cannot stat `i2c-core.o': No such file or directory
make[2]: *** [_modinst__] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-8/drivers/i2c'
make[1]: *** [_modinst_i2c] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/drivers'
make: *** [_modinst_drivers] Error 2

What will be the solution for this?
Do I need to patch the i2c module (i2c-core.o) if so how do I patch it?
or is there any other way to recover this problem

Thanks
Lakshan


All times are GMT -5. The time now is 10:28 AM.