我ㄉkernel 2.4.18-bf2.4
debian:/usr/src/modules/cdfs# dpkg-buildpackage
dpkg-buildpackage: source package is cdfs-src
dpkg-buildpackage: source version is 0.5c-1
dpkg-buildpackage: source maintainer is Christian Kesselheim <ckesselh@debian.org>
dpkg-buildpackage: host architecture is i386
debian/control: 沒有此一檔案或目錄
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
我看ㄌ看有這一個 debian/control.template
是他ㄇ?
--------------------------------------------------------------------
看ㄌ最後一行 dpkg-buildpackage: (Use -d flag to override.)
debian:/usr/src/modules/cdfs# dpkg-buildpackage -d
dpkg-buildpackage: source package is cdfs-src
dpkg-buildpackage: source version is 0.5c-1
dpkg-buildpackage: source maintainer is Christian Kesselheim <ckesselh@debian.org>
dpkg-buildpackage: host architecture is i386
debian/rules clean
dh_testdir
dh_testdir: cannot read debian/control: 沒有此一檔案或目錄
make: [clean] Error 1 (ignored)
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
#-/usr/bin/make clean
dh_clean
dh_clean: cannot read debian/control: 沒有此一檔案或目錄
make: [clean] Error 1 (ignored)
rm /usr/src/modules/cdfs/debian/control
rm: cannot remove ‘/usr/src/modules/cdfs/debian/control’: 沒有此一檔案或目錄
make: [clean] Error 1 (ignored)
rm -rf /usr/src/modules/cdfs/debian/cdfs-2.*
/usr/bin/make clean
make[1]: Entering directory `/usr/src/modules/cdfs'
make[1]: *** No rule to make target `clean'. Stop.
make[1]: Leaving directory `/usr/src/modules/cdfs'
make: [clean] Error 2 (ignored)
dpkg-source -b cdfs
dpkg-source: error: cannot read control file ./cdfs/debian/control: 沒有此一檔案或目錄
結果被騙ㄌ,還是不行ㄋㄟ!
--------------------------------
乖乖ㄉ,用傳統ㄉ方法
1.
debian:/usr/src/modules/cdfs# ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for linux/fs.h... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 0.0.0
checking for kernel module symbol versions... no
checking for directory to store kernel modules... /lib/modules/0.0.0/kernel/fs/cdfs
checking for processor type... unknown
checking for cdfs version... 0.5c
creating ./config.status
creating Makefile
2.
debian:/usr/src/modules/cdfs# make
gcc -Wall -O2 -DLINUX -DCONFIG_CDFS_VERSION=\"0.5c\" -I/usr/src/linux/include -c audio.c -Wall
In file included from audio.c:26:
cdfs.h:27:31: linux/modversions.h: 沒有此一檔案或目錄
make: *** [audio.o] Error 1
--------------------------------------------
可以幫我看看嗎?
哪裡錯ㄌ壓!
先謝ㄌ囉!