Hi
Ich wil mir ein DKMS Paket für den motionsensor im T400 bauen. Alles geht soweit gut bis zur install, da kommt dann:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | manuel@think:/usr/src/tp_smapi-0.40/tp-smapi-dkms-mkdsc$ sudo dpkg -i ../tp-smapi-dkms_0.40_all.deb Selecting previously deselected package tp-smapi-dkms. (Reading database ... 214613 files and directories currently installed.) Unpacking tp-smapi-dkms (from ../tp-smapi-dkms_0.40_all.deb) ... Setting up tp-smapi-dkms (0.40) ... Removing old tp_smapi-0.40 DKMS files... Loading new tp_smapi-0.40 DKMS files... Loading tarball for module: tp_smapi / version: 0.40 Loading /usr/src/tp_smapi-0.40... Warning! /var/lib/dkms/tp_smapi/0.40/source already exists. Skipping... DKMS: ldtarball Completed. Installing prebuilt kernel module binaries (if any) shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Building module... shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Kernel preparation unnecessary for this kernel. Skipping... chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Building module: cleaning build area.... make KERNELRELEASE=2.6.28-13-generic -C /lib/modules/2.6.28-13-generic/build M=/var/lib/dkms/tp_smapi/0.40/build.... Error! Build of hdaps.ko failed for: 2.6.28-13-generic (x86_64) Consult the make.log in the build directory /var/lib/dkms/tp_smapi/0.40/build/ for more information. dpkg: error processing tp-smapi-dkms (--install): subprocess post-installation script returned error exit status 7 Errors were encountered while processing: tp-smapi-dkms |
Und im make.log steht:
DKMS make.log for tp_smapi-0.40 for kernel 2.6.28-13-generic (x86_64) Mon Jul 20 13:35:49 CEST 2009 make: Entering directory `/usr/src/linux-headers-2.6.28-13-generic' sed: can't read tp_smapi.c: No such file or directory Building modules, stage 2. sed: can't read tp_smapi.c: No such file or directory MODPOST 0 modules make: Leaving directory `/usr/src/linux-headers-2.6.28-13-generic'
So, wie kann ich im jetzt sagen das im gleichen dir (/var/..../build) die sourcen liegen und nicht im /usr/src/linux-headers-2.6.28-13-generic dir?
PS: https://help.ubuntu.com/community/Kernel/DkmsDriverPackage?highlight=((Kernel|DkmsDriverPackage))
Danke