* kernel module compilation error
@ 2009-05-15 11:51 Vijay Nikam
0 siblings, 0 replies; only message in thread
From: Vijay Nikam @ 2009-05-15 11:51 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Scott Wood, Ron Madrid
Hello All,
I upgraded the Linux kernel version from 2.6.20 to 2.6.23 on eval
board mpc8313erdb. Then I wrote a simple hello_world kernel module for
testing but when I do make it gives following compilation error.
Whereas I did not had this problem with kernel 2.6.20 !!!
It says; 'include/asm/current.h:35: error: invalid register name for =91cur=
rent=92'
Following is complete error log
################################
make -C /usr/local/mpc8313/linux-2.6.23 M=3D/opt/test/module/hello_world mo=
dules
make[1]: Entering directory `/usr/local/mpc8313/linux-2.6.23'
CC [M] /opt/test/module/hello_world/hello.o
In file included from include/linux/capability.h:48,
from include/linux/sched.h:50,
from include/asm/elf.h:6,
from include/linux/elf.h:8,
from include/linux/module.h:15,
from /opt/test/module/hello_world/hello.c:5:
include/asm/current.h:35: error: invalid register name for =91current=92
make[2]: *** [/opt/test/module/hello_world/hello.o] Error 1
make[1]: *** [_module_/opt/test/module/hello_world] Error 2
make[1]: Leaving directory `/usr/local/mpc8313/linux-2.6.23'
make: *** [all] Error 2
############################################
Could anyone please let me know the way to proceed or a way to think
to resolve this issue ? ? ?
Kindly please acknowledge ... thank you.
Kind Regards,
Vijay Nikam
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-15 11:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-15 11:51 kernel module compilation error Vijay Nikam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).