Kernel Module Compilation error

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Mon Apr 14 12:58:41 EDT 2014


On Tue, 15 Apr 2014 03:26:14 +0530, Arun M Kumar said:

> /home/arun/Dev/practice/Kmodules/Hello_world.c:1:0: error: code model 'kernel' not supported in the 32 bit mode
> /home/arun/Dev/practice/Kmodules/Hello_world.c:1:0: sorry, unimplemented: 64-bit mode not compiled in

> what could be the possible cause of this error?

Based on the error messages, I'd say you're trying to compile in 64-bit mode
with a compiler build to support only 32-bit, or similar.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140414/5d0137d3/attachment.bin 


More information about the Kernelnewbies mailing list