|
我编译nvidia驱动和VirtualBox失败了,都与内核有关。
VirtualBox提示:
Info: using /lib/modules/2.6.20-7-generic/build/include as the include directory of your Linux kernel. If this is not correct, specify KERN_INCL=<directory> and run Make again.
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.20-7-generic/build SUBDIRS=/home/demo/Soft/vbox/out/linux.x86/release/bin/src SRCROOT=/home/demo/Soft/vbox/out/linux.x86/release/bin/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-7-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
编译nvidia失败的提示:
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.20-7-generic/build SUBDIRS=
/tmp/selfgz29498/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
哪位大侠能指教一二? |
|