Compilation compat-wireless for Atheros 8161 FAIL

Hi,

I can’t recompile my Ethernet driver since I have updated my CLD to calculate-kernel-3.7.7.

calculate ~ # cd compat-wireless-2012-03-12-p
calculate compat-wireless-2012-03-12-p # ./scripts/driver-select alx
Processing new driver-select request...
Backing up makefile: Makefile.bk
Backup exists: Makefile.bk
Backing up makefile: drivers/net/ethernet/broadcom/Makefile.bk
Backing up makefile: drivers/net/ethernet/atheros/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
calculate compat-wireless-2012-03-12-p # make
./scripts/gen-compat-autoconf.sh /root/compat-wireless-2012-03-12-p/.config /root/compat-wireless-2012-03-12-p/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/3.7.7-calculate/build M=/root/compat-wireless-2012-03-12-p modules
make[1] : on entre dans le répertoire « /usr/src/linux-3.7.7-calculate »

  WARNING: Symbol version dump /usr/src/linux-3.7.7-calculate/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /root/compat-wireless-2012-03-12-p/compat/main.o
  LD [M]  /root/compat-wireless-2012-03-12-p/compat/compat.o
  CC [M]  /root/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alx_main.o
/root/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alx_main.c: In function ‘alx_hw_printk’:
/root/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alx_main.c:130:3: erreur: implicit declaration of function ‘__netdev_printk’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[4]: *** [/root/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alx_main.o] Erreur 1
make[3]: *** [/root/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx] Erreur 2
make[2]: *** [/root/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros] Erreur 2
make[1]: *** [_module_/root/compat-wireless-2012-03-12-p] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-3.7.7-calculate »
make: *** [modules] Erreur 2
calculate compat-wireless-2012-03-12-p # 

Can you help me ? I must reboot on the kernel 3.6.7 to have network.

Thanks.

Hello,

Please verify if the USE FLAGS “minimal” for sys-kernel/calculate-sources is present …

Thanks

XKomodor | Julien

Hi,

The USE FLAG is on “-minimal”, and I have the line in my /etc/portage/package.use/custom:

sys-kernel/calculate-sources -minimal

I can’t rebuild modules (via module-rebuild -X rebuild, i can’t remember the exact command)

Thanks.

Hello,

Re-emerge calculate-sources like :

emerge -pv sys-kernel/calculate-sources

you must show that :

[ebuild   R    ] sys-kernel/calculate-sources-3.7.7-r1:3.7.7::calculate  USE="symlink vmlinuz -build -minimal*" 82,029 kB

Now :

emerge -qv sys-kernel/calculate-sources

and to finish :

module-rebuild -X rebuild

Reboot your laptop and reinstall your driver.

Thanks

XKomodor | Julien

Yes,

[ebuild   R    ] sys-kernel/calculate-sources-3.7.7-r1:3.7.7::calculate  USE="symlink vmlinuz -build -minimal" 82,029 kB

But:

module-rebuild -X rebuild

Not work. Emerge fail on the first package : nvidia-driver.

I try three times but CL doesnt compile…

I have blocked the package calculate-sources for the moment, and I stay on kernel 3.6.11.

I know that Mageia included my Atheros Driver Ethernet in the 3.4.24 kernel.

I think it should not delay in other distributions. My network card is fairly recent.

Hello,

After various tests, I also have big problems compiling with this new kernel. For my part, I’m back on the previous kernel. To see therefore with the development team.

I recommend you stay at the moment on the previous kernel : 3.6.11.

Thanks.

XKomodor | Julien

OK Thanks !