Skip to contentSkip to conversation

unresolved symbol

DISCUSSION vasanth 3 participants 3 messages Sep 8, 2005 MIPS

lore
Share & tools
lore

vasanth

author
#0 lore raw

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.

#1 lore raw
Quoted 8 lines · vasanth

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 .

Use -O2. In fact use _exactly_ the same options as for the kernel build itself.

Ralf

#2 lore raw
In reply to vasanth
Quoted 11 lines · vasanth

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.?

Turn on optimization.

Signature · 2 lines
Daniel Jacobowitz
CodeSourcery, LLC