
我正在安裝乾淨的 Debian 7.7。安裝後,除了 Iceweasel 瀏覽器中的網路攝影機之外,一切正常。經過大量閱讀後,我發現最好的解決方案是安裝閃光燈1.4.5。
After downloading the sources, I did a make and got an error:
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-headers-3.2.0-4-common/Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
讀了一些東西,發現我必須安裝核心來源並準備編譯:
apt-get install linux-source linux-source-3.2
tar jxf /usr/src/linux-source-3.2.tar.bz2
cd linux-source-3.2
cp /boot/config-3.2.0-4-amd64 ./.config
make oldconfig
make prepare
linux-sources
現在我的本機資料夾 ( )中有一個 autoconf.h 文件,linux-sources/include/generated/autoconf.h
但在*/usr/src/linux-headers-3.2.0-4-common/include/*
我假設的 FlashCam 來源正在尋找的資料夾中卻沒有。我現在該怎麼做?手動複製這個資料夾有點可怕,我找不到其他說明來使其工作。
答案1
建構樹外核心模組的最新說明是這裡。將核心配置標頭安裝到系統包含目錄不是該過程的一部分。相反,您make
從內核原始碼樹內部呼叫並使用參數將其指向模組的源代碼樹M=
。
FlashCam 已經有一段時間沒有更新了,因此如果不進行一些移植工作,可能無法針對最新的核心建置它。