* unresolved symbol
@ 2005-09-08 13:56 vasanth
2005-09-08 13:56 ` vasanth
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: vasanth @ 2005-09-08 13:56 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 463 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 1389 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* unresolved symbol
2005-09-08 13:56 unresolved symbol vasanth
@ 2005-09-08 13:56 ` vasanth
2005-09-08 14:05 ` Ralf Baechle
2005-09-08 15:33 ` Daniel Jacobowitz
2 siblings, 0 replies; 4+ messages in thread
From: vasanth @ 2005-09-08 13:56 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 463 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 1389 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: unresolved symbol
2005-09-08 13:56 unresolved symbol vasanth
2005-09-08 13:56 ` vasanth
@ 2005-09-08 14:05 ` Ralf Baechle
2005-09-08 15:33 ` Daniel Jacobowitz
2 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2005-09-08 14:05 UTC (permalink / raw)
To: vasanth; +Cc: linux-mips
On Thu, Sep 08, 2005 at 07:26:17PM +0530, vasanth wrote:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: unresolved symbol
2005-09-08 13:56 unresolved symbol vasanth
2005-09-08 13:56 ` vasanth
2005-09-08 14:05 ` Ralf Baechle
@ 2005-09-08 15:33 ` Daniel Jacobowitz
2 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-09-08 15:33 UTC (permalink / raw)
To: vasanth; +Cc: linux-mips
On Thu, Sep 08, 2005 at 07:26:17PM +0530, vasanth wrote:
> 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.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-08 15:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-08 13:56 unresolved symbol vasanth
2005-09-08 13:56 ` vasanth
2005-09-08 14:05 ` Ralf Baechle
2005-09-08 15:33 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox