|
最近小弟出来碰到一个问题,就是发现编译出来的内核是64位的,最终致使wifi的驱动无法编译过去
出现的错误如下:
make -C tools
make[1]: Entering directory `/wifi/2009_0416_RT2070_Linux_STA_v2.1.0.0_Wim/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/wifi/2009_0416_RT2070_Linux_STA_v2.1.0.0_Wim/tools'
/wifi/2009_0416_RT2070_Linux_STA_v2.1.0.0_Wim/tools/bin2h
cp -f os/linux/Makefile.6 /wifi/2009_0416_RT2070_Linux_STA_v2.1.0.0_Wim/os/linux/Makefile
make -C /kernel/linux-2.6.30.5.2440 SUBDIRS=/wifi/2009_0416_RT2070_Linux_STA_v2.1.0.0_Wim/os/linux modules
make[1]: Entering directory `/kernel/linux-2.6.30.5.2440'
CC [M] /wifi/2009_0416_RT2070_Linux_STA_v2.1.0.0_Wim/os/linux/../../common/crypt_md5.o
/wifi/2009_0416_RT2070_Linux_STA_v2.1.0.0_Wim/os/linux/../../common/crypt_md5.c:1: error: code model ‘kernel’ not supported in the 32 bit mode
/wifi/2009_0416_RT2070_Linux_STA_v2.1.0.0_Wim/os/linux/../../common/crypt_md5.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[2]: *** [/wifi/2009_0416_RT2070_Linux_STA_v2.1.0.0_Wim/os/linux/../../common/crypt_md5.o] Error 1
make[1]: *** [_module_/wifi/2009_0416_RT2070_Linux_STA_v2.1.0.0_Wim/os/linux] Error 2
make[1]: Leaving directory `/kernel/linux-2.6.30.5.2440'
make: *** [LINUX] ErroNUX]
有人碰到过吗?
|
|