LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   code model 'kernel' not supported in the 32 bit mode (https://www.linuxquestions.org/questions/linux-newbie-8/code-model-kernel-not-supported-in-the-32-bit-mode-872289/)

Eli Lee 03-31-2011 11:32 PM

code model 'kernel' not supported in the 32 bit mode
 
An error occured when I install my r8101 dirver.
I have got the message:

/home/driver/r8101/src/r8101_n.c:1: error: code model 'kernel' not supported in the 32 bit mode
/home/driver/r8101/src/r8101_n.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[3]: *** [/home/driver/r8101/src/r8101_n.o] Error 1
make[2]: *** [_module_/home/driver/r8101/src] Error 2
make[1]: *** [modules] Error 2
make: *** [modules] Error 2

I dont know whats the matter...
maybe something wrong with my kernel configuration?

thank you..

ashish_neekhra 03-31-2011 11:50 PM

If i am not wrong you are trying to install 64Bit driver in to your 32Bit machine. You have to use only 32Bit drivers if you are using 32-Bit CPU arch.

Eli Lee 04-01-2011 09:46 PM

Quote:

Originally Posted by ashish_neekhra (Post 4310294)
If i am not wrong you are trying to install 64Bit driver in to your 32Bit machine. You have to use only 32Bit drivers if you are using 32-Bit CPU arch.

thanks for your help,the problem looks have been solved when I recompiled the kernel,but I still don't know why...


All times are GMT -5. The time now is 10:24 PM.