From: arunkr.linux@gmail.com (Arun M Kumar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Kernel Module Compilation error
Date: Tue, 15 Apr 2014 03:26:14 +0530 [thread overview]
Message-ID: <534C597E.1090600@gmail.com> (raw)
Hi,
I get the following error while compiling my very basic kernel
Module (a hello world module)
*
//--------------------------------------------------------------------------------------------------------------*
make -C /home/arun/Dev/linux-stable M=/home/arun/Dev/practice/Kmodules
modules
make[1]: Entering directory `/home/arun/Dev/linux-stable'
WARNING: Symbol version dump /home/arun/Dev/linux-stable/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/arun/Dev/practice/Kmodules/Hello_world.o
/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
make[2]: *** [/home/arun/Dev/practice/Kmodules/Hello_world.o] Error 1
make[1]: *** [_module_/home/arun/Dev/practice/Kmodules] Error 2
make[1]: Leaving directory `/home/arun/Dev/linux-stable'
make: *** [all] Error 2
*//-----------------------------------------------------------------------------------------------------------------*
what could be the possible cause of this error?
on my system
*$uname -a*
returns the following..
*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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140415/824dc2a5/attachment.html
next reply other threads:[~2014-04-14 21:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-14 21:56 Arun M Kumar [this message]
2014-04-14 16:32 ` Kernel Module Compilation error Pranay Kr. Srivastava
2014-04-14 16:58 ` Valdis.Kletnieks at vt.edu
-- strict thread matches above, loose matches on Subject: below --
2009-05-15 11:51 kernel module compilation error Vijay Nikam
2004-08-31 12:39 Kernel Module Compilation Error Jeba Anandhan A
2004-08-31 11:47 ` Alan Cox
2004-08-31 12:49 ` Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=534C597E.1090600@gmail.com \
--to=arunkr.linux@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.