[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#590189: marked as done (linux-headers-2.6.32-5-common: Makefile error when building kernel modules)



Your message dated Sat, 24 Jul 2010 19:37:15 +0100
with message-id <1279996635.4915.13.camel@localhost>
and subject line Re: Bug#590189: linux-headers-2.6.32-5-common: Makefile error when building kernel modules
has caused the Debian Bug report #590189,
regarding linux-headers-2.6.32-5-common: Makefile error when building kernel modules
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
590189: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590189
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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




--- End Message ---
--- Begin Message ---
On Sat, 2010-07-24 at 19:10 +0200, oc-spam65 wrote:
> 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)

They are the same file; /lib/modules/2.6.32-5-amd64/source is a link to
/usr/src/linux-headers-2.6.32-5-common.

Anyway, this is a bug in the out-of-tree module source.  It should use
the 'build' link not the 'source' link.

> More precise description:
> 
> 1) I want to build the wireless driver module rtl8192se_linux_2.6.0017.0507.2010.

This driver (though not exactly the same version) is already included in
kernel image packages.

> 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.
[...]

This is a whole class of modules, not a specific module.  Which driver
do you actually need?  Most of them are already included.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: