unresolved symbol
Hi,
I am getting the folowing error message when i do insmod .
insmod: unresolved symbol __udelay
insmod: unresolved symbol atomic_add
insmod: unresolved symbol atomic_sub
I complied the driver code for mips processor using the folowing command mips-linux-gcc -G O -mno-abicalls -fno-pic -pipe -mtune=4kc -mips32 -c lcddriver.c -I/mykernel/include It is compiling without any error .
Can anybody know how to solve this problem.?
Regards,
Vasanth.
Quoted 8 lines · vasanth
I am getting the folowing error message when i do insmod .
insmod: unresolved symbol__udelay
insmod: unresolved symbolatomic_add
insmod: unresolved symbolatomic_subI complied the driver code for mips processor using the folowing command mips-linux-gcc -G O -mno-abicalls -fno-pic -pipe -mtune=4kc -mips32 -c
lcddriver.c-I/mykernel/include It is compiling without any error .
Use -O2. In fact use _exactly_ the same options as for the kernel build itself.
Ralf
Quoted 11 lines · vasanth
Hi,
I am getting the folowing error message when i do insmod .
insmod: unresolved symbol__udelay
insmod: unresolved symbolatomic_add
insmod: unresolved symbolatomic_subI complied the driver code for mips processor using the folowing command mips-linux-gcc -G O -mno-abicalls -fno-pic -pipe -mtune=4kc -mips32 -c
lcddriver.c-I/mykernel/include It is compiling without any error .
Can anybody know how to solve this problem.?
Turn on optimization.
Signature · 2 lines
Daniel Jacobowitz CodeSourcery, LLC