Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#590189: linux-headers-2.6.32-5-common: Makefile error when building kernel modules (http://www.linux-archive.org/debian-kernel/403665-bug-590189-linux-headers-2-6-32-5-common-makefile-error-when-building-kernel-modules.html)

oc-spam65 07-24-2010 05:10 PM

Bug#590189: linux-headers-2.6.32-5-common: Makefile error when building kernel modules
 
Package: linux-headers-2.6.32-5-common
Version: 2.6.32-15
Severity: important

Hello,

I am trying to compile two kernel modules for my new laptop, on a freshly installed Debian Testing.
Both tries seem to fail on the same problem:
/usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build:44: /usr/src/linux-headers-2.6.32-5-common/scripts/basic$
make[6]: *** Pas de règle pour fabriquer la cible « /usr/src/linux-headers-2.6.32-5-common/scripts/basic/Makefile ». A$
make[5]: *** [scripts_basic] Erreur 2

or:
/lib/modules/2.6.32-5-amd64/source/scripts/Makefile.build:44: /lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile: No such file or directory
make[3]: *** No rule to make target `/lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile'. Stop.
make[2]: *** [scripts_basic] Error 2

(the two Makefile.build files appear to be identical on my system)

More precise description:

1) I want to build the wireless driver module rtl8192se_linux_2.6.0017.0507.2010.
I run "m-a prepare" and I compile successfully with "make".
The problem happens when I do "make install" (see below the detailed output).

2) I want to build the webcam driver module v4l-dvb.
The instructions tell to run "make menuconfig" but it fails (see below the detailed output).


If you can help and make these things work, it will be great.

Best regards,

O.C.

----------------------------------------------------------------------------------------------------------
Detailed output for problem 1:
sudo make install
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.32-5-amd64 »
Building modules, stage 2.
MODPOST 1 modules
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.32-5-amd64 »
kernel/drivers/staging/rtl8192e/r8192_pci.ko:
make[1]: entrant dans le répertoire « /home/castany/rtl8192se_linux_2.6.0017.0507.2010/HAL/rtl8192 »
make -C /lib/modules/2.6.32-5-amd64/build M= CC=gcc modules
make[2]: entrant dans le répertoire « /usr/src/linux-headers-2.6.32-5-amd64 »
/usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build:44: /usr/src/linux-headers-2.6.32-5-common/scripts/basic/Makefile: Aucun fichier ou dossier de ce type
make[6]: *** Pas de règle pour fabriquer la cible « /usr/src/linux-headers-2.6.32-5-common/scripts/basic/Makefile ». Arrêt.
make[5]: *** [scripts_basic] Erreur 2
make[4]: *** Pas de règle pour fabriquer la cible « include/config/auto.conf », nécessaire pour « include/config/kernel.release ». Arrêt.
make[3]: *** [sub-make] Erreur 2
make[2]: *** [all] Erreur 2
make[2]: quittant le répertoire « /usr/src/linux-headers-2.6.32-5-amd64 »
make[1]: *** [modules] Erreur 2
make[1]: quittant le répertoire « /home/castany/rtl8192se_linux_2.6.0017.0507.2010/HAL/rtl8192 »
make: *** [install] Erreur 2

----------------------------------------------------------------------------------------------------------
Detailed output for problem 2:
make menuconfig
make -C /home/castany/v4l-dvb/v4l menuconfig
make[1]: entrant dans le répertoire « /home/castany/v4l-dvb/v4l »
make[1]: AVERTISSEMENT: fichier « .version » a une date de modification 2,6e+02 dans le futur
make -C /lib/modules/2.6.32-5-amd64/build -f /home/castany/v4l-dvb/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/2.6.32-5-amd64/source v4l-mconf
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
/lib/modules/2.6.32-5-amd64/source/scripts/Makefile.build:44: /lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile: No such file or directory
make[3]: *** No rule to make target `/lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile'. Stop.
make[2]: *** [scripts_basic] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-5-amd64'
make[1]: *** [/lib/modules/2.6.32-5-amd64/build/scripts/kconfig/mconf] Erreur 2
make[1]: quittant le répertoire « /home/castany/v4l-dvb/v4l »
make: *** [menuconfig] Erreur 2
----------------------------------------------------------------------------------------------------------

-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
(not my fault... reportbug didn't want...)


Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 16579041.36039.1279991431809.JavaMail.www@wwinf840 2">http://lists.debian.org/16579041.36039.1279991431809.JavaMail.www@wwinf840 2


All times are GMT. The time now is 05:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.