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

Bug#703205: Unable to compile "compat-drivers"



Package: src:linux
Version: 3.2.39-2
Severity: normal

I'm trying to compile "compat-drivers" but it fails:

Kernel version:

root@stt300:~# dpkg -l | grep linux-image
ii  linux-image-3.2.0-4-686-pae          3.2.39-2                           i386         Linux 3.2 for modern PCs
ii  linux-image-686-pae                  3.2+46                             i386         Linux for modern PCs (meta-package)

Build tools installed:

root@stt300:~# LANG=POSIX apt-get install build-essential linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
linux-headers-3.2.0-4-686-pae is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

But when running the build commands:

hpc03@stt300:~/Escritorio/compat-drivers-3.9-rc2-2-su$ ./scripts/driver-select brcmsmac
Processing new driver-select request...
Backing up makefile: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backing up makefile: drivers/net/wireless/Makefile.bk
Backing up makefile: drivers/net/wireless/brcm80211/Makefile.bk

hpc03@stt300:~/Escritorio/compat-drivers-3.9-rc2-2-su$ LANG=POSIX make
make -C /lib/modules/3.2.0-4-686-pae/build M=/home/hpc03/Escritorio/compat-drivers-3.9-rc2-2-su modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-686-pae'
  CC [M]  /home/hpc03/Escritorio/compat-drivers-3.9-rc2-2-su/compat/main.o
In file included from /home/hpc03/Escritorio/compat-drivers-3.9-rc2-2-su/include/linux/compat-2.6.h:67:0,
                 from <command-line>:0:
/home/hpc03/Escritorio/compat-drivers-3.9-rc2-2-su/include/linux/compat-3.4.h:43:21: error: redefinition of 'kmalloc_array'
/usr/src/linux-headers-3.2.0-4-common/include/linux/slab.h:243:21: note: previous definition of 'kmalloc_array' was here
/home/hpc03/Escritorio/compat-drivers-3.9-rc2-2-su/include/linux/compat-3.4.h:104:20: error: redefinition of 'eth_hw_addr_random'
/usr/src/linux-headers-3.2.0-4-common/include/linux/etherdevice.h:165:20: note: previous definition of 'eth_hw_addr_random' was here
make[5]: *** [/home/hpc03/Escritorio/compat-drivers-3.9-rc2-2-su/compat/main.o] Error 1
make[4]: *** [/home/hpc03/Escritorio/compat-drivers-3.9-rc2-2-su/compat] Error 2
make[3]: *** [_module_/home/hpc03/Escritorio/compat-drivers-3.9-rc2-2-su] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-686-pae'
make: *** [modules] Error 2

Note: I've tried with a bunch of different "compat-drivers" and "compat-wireless" packages but none succeeded.


Reply to: