<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I get the following error while compiling my very basic kernel
Module (a hello world module)<br>
<br>
<b><br>
//--------------------------------------------------------------------------------------------------------------</b><br>
make -C /home/arun/Dev/linux-stable
M=/home/arun/Dev/practice/Kmodules modules<br>
make[1]: Entering directory `/home/arun/Dev/linux-stable'<br>
<br>
WARNING: Symbol version dump
/home/arun/Dev/linux-stable/Module.symvers<br>
is missing; modules will have no dependencies and
modversions.<br>
<br>
CC [M] /home/arun/Dev/practice/Kmodules/Hello_world.o<br>
/home/arun/Dev/practice/Kmodules/Hello_world.c:1:0: error: code
model ‘kernel’ not supported in the 32 bit mode<br>
/home/arun/Dev/practice/Kmodules/Hello_world.c:1:0: sorry,
unimplemented: 64-bit mode not compiled in<br>
make[2]: *** [/home/arun/Dev/practice/Kmodules/Hello_world.o] Error
1<br>
make[1]: *** [_module_/home/arun/Dev/practice/Kmodules] Error 2<br>
make[1]: Leaving directory `/home/arun/Dev/linux-stable'<br>
make: *** [all] Error 2<br>
<b>//-----------------------------------------------------------------------------------------------------------------</b><br>
<br>
what could be the possible cause of this error?<br>
<br>
on my system<br>
<br>
<b>$uname -a</b><br>
<br>
returns the following..<br>
<br>
<b>Linux linux-xh55.site 3.4.6-2.10-desktop #1 SMP PREEMPT Thu Jul
26 09:36:26 UTC 2012 (641c197) i686 i686 i386 GNU/Linux</b><br>
</body>
</html>