View previous topic :: View next topic |
Author |
Message |
angela Apprentice


Joined: 16 Feb 2005 Posts: 150
|
Posted: Sat Feb 02, 2008 1:02 pm Post subject: [rt61] prob de compilation, demande EXTRA_CFLAGS |
|
|
Salut,
j'ai un problème pour compiler le driver ralink-rt61:
Quote: | * checking ebuild checksums ... [ ok ]
* checking auxfile checksums ... [ ok ]
* checking miscfile checksums ... [ ok ]
* checking IS_Linux_STA_6x_D_1.1.1.0.tar.gz ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.24-gentoo/build
* Found sources for kernel version:
* 2.6.24-gentoo
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Unpacking IS_Linux_STA_6x_D_1.1.1.0.tar.gz to /var/tmp/portage/net-wireless/ralink-rt61-1.1.1.0/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-wireless/ralink-rt61-1.1.1.0/work/IS_Linux_STA_6x_D_1.1.1.0 ...
* Applying rtmp_main.diff ... [ ok ]
* Preparing rt61 module
make -C /lib/modules/2.6.24-gentoo/build SUBDIRS=/var/tmp/portage/net-wireless/ralink-rt61-1.1.1.0/work/IS_Linux_STA_6x_D_1.1.1.0/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/net-wireless/ralink-rt61-1.1.1.0/work/IS_Linux_STA_6x_D_1.1.1.0/Module/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/var/tmp/portage/net-wireless/ralink-rt61-1.1.1.0/work/IS_Linux_STA_6x_D_1.1.1.0/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo'
make: *** [all] Error 2
*
* ERROR: net-wireless/ralink-rt61-1.1.1.0 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ralink-rt61-1.1.1.0.ebuild, line 42: Called linux-mod_src_compile
* linux-mod.eclass, line 519: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \
* ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \
* || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."
* The die message:
* Unable to make .
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/net-wireless:ralink-rt61-1.1.1.0:20080202-125914.log'.
*
* Messages for package net-wireless/ralink-rt61-1.1.1.0:
*
* ERROR: net-wireless/ralink-rt61-1.1.1.0 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ralink-rt61-1.1.1.0.ebuild, line 42: Called linux-mod_src_compile
* linux-mod.eclass, line 519: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \
* ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \
* || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."
* The die message:
* Unable to make .
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/net-wireless:ralink-rt61-1.1.1.0:20080202-125914.log'.
*
|
Il y a donc : "Fix it to use EXTRA_CFLAGS. Stop.", je sais pas ce que c'est ça, j'ai vu aucun extra-cflags.
Note:
Code: | uname -a
Linux Sion_ordi 2.6.24-gentoo #1 SMP Sat Feb 2 13:51:40 CET 2008 i686 Intel(R) Pentium(R) Dual CPU E2160 @ 1.80GHz GenuineIntel GNU/Linux |
et aussi
Code: | grep WIR /usr/src/linux/.config
CONFIG_WIRELESS_EXT=y
|
Merci |
|
Back to top |
|
 |
razer l33t

Joined: 08 Oct 2004 Posts: 893 Location: Paris - France
|
Posted: Sat Feb 02, 2008 2:03 pm Post subject: |
|
|
Ton problème se situe peut être là :
Code: | warning: jobserver unavailable: using -j1. Add `+' to parent make rule |
Essayes tu de faire du multithread de compile ? Quel paramètre suit la ligne "makeopts" dans ton make.conf ?
Par ailleurs, je te conseille d'utiliser le CVS dispo sur le site de http://rt2x00.serialmonkey.com qui sera probablement plus à jour que celui de l'arbre de portage. Perso ce driver compile et fonctionne parfaitement sur 3 de mes machines : une gentoo, une ubuntu, et mon serveur debian. |
|
Back to top |
|
 |
matlerouge n00b


Joined: 29 Aug 2004 Posts: 68
|
Posted: Sat Feb 02, 2008 4:11 pm Post subject: |
|
|
Ils sont pas dans le kernel 2.6.24 les drivers pour tous les ralink ? Je crois qu'ils ont été ajouté dans cette version du kernel. |
|
Back to top |
|
 |
Tanki Apprentice


Joined: 29 Mar 2005 Posts: 195 Location: Bordeaux/France
|
Posted: Sat Feb 02, 2008 5:01 pm Post subject: |
|
|
matlerouge wrote: | Ils sont pas dans le kernel 2.6.24 les drivers pour tous les ralink ? Je crois qu'ils ont été ajouté dans cette version du kernel. |
si ils y sont
je les ai testés et il marchent super bien, et c'est nettement moins chiant qu'en module externe toussa toussa
donc, angela, tu devrais compiler ton module en dur dans le noyau à mon avis tu te feras nettement moins ch*er
bon week end et bonne compile  _________________ Kick Ass !
Dell XPS 13 Developer Edition 9350 | Intel Core i7 @2.20 GHz | 16 Go DDR3 | SSD Samsung PM951 NVMe 512Go |
|
Back to top |
|
 |
angela Apprentice


Joined: 16 Feb 2005 Posts: 150
|
Posted: Sun Feb 03, 2008 10:11 am Post subject: |
|
|
Mais, c'est ce qu'il me semblait, que les drivers pour rt2x00 étaient dans le kernel. Je les ai cherché de fond en comble, pas trouvé :s. Code: | grep -i ral .config ou grep -i rt .config | ne me donne rien de concluant.
Par ailleurs, j'ai besoin du driver rt61, les autres ne marchaient pas très bien à ce que je me rappelle.
Device Driver -> Network device support -> Wireless Lan -> y'a po. J'ai du Atmel, Aironet, Strip, Xircom, Intel, Planet, Cisco, etc, mais pas de ralink .
EDIT: J'avais oublié d'activer dans networking -> Wireless -> mac80211[, du coup, ralink est apparu. Je vais essayer de recompiler le noyau maintenant. |
|
Back to top |
|
 |
YetiBarBar Guru

Joined: 23 Dec 2005 Posts: 512
|
Posted: Sun Feb 03, 2008 4:45 pm Post subject: |
|
|
angela wrote: | Mais, c'est ce qu'il me semblait, que les drivers pour rt2x00 étaient dans le kernel. Je les ai cherché de fond en comble, pas trouvé :s. Code: | grep -i ral .config ou grep -i rt .config | ne me donne rien de concluant.
Par ailleurs, j'ai besoin du driver rt61, les autres ne marchaient pas très bien à ce que je me rappelle.
Device Driver -> Network device support -> Wireless Lan -> y'a po. J'ai du Atmel, Aironet, Strip, Xircom, Intel, Planet, Cisco, etc, mais pas de ralink .
EDIT: J'avais oublié d'activer dans networking -> Wireless -> mac80211[, du coup, ralink est apparu. Je vais essayer de recompiler le noyau maintenant. |
C'est une nouveauté du 2.6.24 (le tout dernier qui doit être en ~arch) |
|
Back to top |
|
 |
razer l33t

Joined: 08 Oct 2004 Posts: 893 Location: Paris - France
|
Posted: Mon Feb 04, 2008 9:36 am Post subject: |
|
|
Si, en effet, il s'agit de la version unifiée rt2xx présente dans le noyau 2.6.24, je comprend qu'angela préfère compiler la version spécifique du driver rt61 : les rt2xx offrent des performances lamentables chez moi, par ailleurs de nombreuses fonctions ne sont pas encore implémentées |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|