|
我从kernel2.2.4升级到2.6.8后出现了不少问题,搞了好久才能进入x了
可是当apt-get install 装软件时都会有如下:
正在设置 cpad-kernel-source (0.9-4) ...
Building cpad module for Linux 2.6.8-2-k7 (this may take a few minutes)...
dh_testdir
dh_testroot
rm -f *-stamp
dh_clean
dh_testdir
dh_testroot
cd cpad && /usr/bin/make clean;
make[1]: Entering directory `/usr/src/modules/cpad-kernel/cpad'
rm -f cpad.o
make[1]: Leaving directory `/usr/src/modules/cpad-kernel/cpad'
cd cpad-2.6 && /usr/bin/make clean;
make[1]: Entering directory `/usr/src/modules/cpad-kernel/cpad-2.6'
rm -f -fr *.o *.ko *.mod.c .*.cmd .tmp_versions *~
make[1]: Leaving directory `/usr/src/modules/cpad-kernel/cpad-2.6'
rm -f debian/cpad-kernel-module-2.6.8-2-k7.* debian/control
Nothing to configure
/usr/bin/make -f debian/rules binary-modules
make[1]: Entering directory `/usr/src/modules/cpad-kernel'
sed -e 's/${kpkg\:Kernel\-Version}/2.6.8-2-k7/' \
debian/cpad.control > debian/control
# Is this needed for setting up a Depends?
#echo "kpkgackage-Version=0.9-4+2.6.8-2-k7" \
# >> debian/cpad-kernel.substvars
echo "kpkg:Kernel-Version=2.6.8-2-k7" > \
debian/cpad-kernel-module-2.6.8-2-k7.substvars
# The substvars mechanism seems slightly broken, hack to get around it
# stolen from the qce-ga package. Yaaaa!
# We do this above instead so control exists when the clean targets
# are run.
#sed -e 's/${kpkg\:Kernel\-Version}/2.6.8-2-k7/' \
#debian/cpad.control > debian/control
# Make sure we've had a chance to get a control file before doing this:
dh_testdir
dh_testroot
dh_clean -k
# Set up per package control files with suitable names
for f in modules templates; do \
cp -a debian/cpad.$f debian/cpad-kernel-module-2.6.8-2-k7.$f; \
done
for f in postinst config; do \
echo "#!/bin/sh" | cat - debian/cpad.$f > debian/cpad-kernel-module-2.6.8-2-k7.$f; \
done
case "6" in \
4) \
( cd cpad && /usr/bin/make ); \
dh_install cpad/cpad.o lib/modules/2.6.8-2-k7/kernel/drivers/usb; \
dh_installmodules; \
;; \
6) \
( cd cpad-2.6 && /usr/bin/make ); \
dh_install cpad-2.6/cpad.ko lib/modules/2.6.8-2-k7/extra; \
;; \
*) \
echo " *** Error unknown or unsupported kernel patchlevel"; \
exit 1; \
;; \
esac
make[2]: Entering directory `/usr/src/modules/cpad-kernel/cpad-2.6'
/usr/bin/make modules -C /lib/modules/`uname -r`/build SUBDIRS=`pwd`
make[3]: Entering directory `/usr/src/kernel-headers-2.6.8-2-k7'
CC [M] /usr/src/modules/cpad-kernel/cpad-2.6/cpad.o
In file included from /usr/src/modules/cpad-kernel/cpad-2.6/cpad.c:73:
/usr/src/modules/cpad-kernel/cpad-2.6/cpadconfig.h:40:3: warning: #warning : Framebuffer disabled. Compile kernel with CONFIG_FB and CONFIG_FB_VESA to enable it.
/usr/src/modules/cpad-kernel/cpad-2.6/cpad.c: In function `repossess_devices':
/usr/src/modules/cpad-kernel/cpad-2.6/cpad.c:260: warning: implicit declaration of function `usb_lock_device'
/usr/src/modules/cpad-kernel/cpad-2.6/cpad.c:265: error: structure has no member named `owner'
/usr/src/modules/cpad-kernel/cpad-2.6/cpad.c:265: error: structure has no member named `owner'
/usr/src/modules/cpad-kernel/cpad-2.6/cpad.c:280: warning: implicit declaration of function `driver_probe_device'
/usr/src/modules/cpad-kernel/cpad-2.6/cpad.c:285: warning: implicit declaration of function `usb_unlock_device'
/usr/src/modules/cpad-kernel/cpad-2.6/cpad.c: At top level:
/usr/src/modules/cpad-kernel/cpad-2.6/cpad.c:2448: warning: `cpad_fb_free' defined but not used
/usr/src/modules/cpad-kernel/cpad-2.6/cpad.c:2445: warning: `disable_fb' defined but not used
make[4]: *** [/usr/src/modules/cpad-kernel/cpad-2.6/cpad.o] 错误 1
make[3]: *** [_module_/usr/src/modules/cpad-kernel/cpad-2.6] 错误 2
make[3]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-k7'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/usr/src/modules/cpad-kernel/cpad-2.6'
cp: stat‘./cpad-2.6/cpad.ko’失败: 没有那个文件或目录
dh_install: command returned error code 256
make[1]: *** [binary-modules] 错误 1
make[1]: Leaving directory `/usr/src/modules/cpad-kernel'
make: *** [kdist_image] 错误 2
dpkg:处理 cpad-kernel-source (--configure)时出错:
子进程·post-installation script·返回了错误号·2
正在设置 kicker-applets (3.3.2-2) ...
正在设置 kdeaddons (3.3.2-2) ...
正在设置 kopete (3.3.2-1) ...
正在设置 kdenetwork (3.3.2-1) ...
正在设置 kde (44) ...
在处理时有错误发生:
cpad-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
不知如何解决,请帮忙! |
|