View previous topic :: View next topic |
Author |
Message |
bulki Guru
Joined: 25 Nov 2004 Posts: 529 Location: SiliconValley
|
Posted: Sat Apr 02, 2005 6:58 pm Post subject: [airtraf] prb de compilation (GCC 3.3.x) :( |
|
|
yop tout le monde,
quand j'essaie d'emerger airtraf, j'ai un souci de compilation:
Code: | make[1]: Entering directory `/var/tmp/portage/airtraf-1.0/work/airtraf-1.0/src/sniffd'
i686-pc-linux-gnu-gcc -I../libcommon -I../libncurses -O3 -march=pentium-m -fomit-frame-pointer -pipe -fno-delayed-branch -fcaller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions -frename-registers -fweb -fno-trapping-math -falign-functions=64 -Wall -c airtraf.c
autoconfig.h:37: warning: 'compat_drivers' defined but not used
i686-pc-linux-gnu-gcc -I../libcommon -I../libncurses -O3 -march=pentium-m -fomit-frame-pointer -pipe -fno-delayed-branch -fcaller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions -frename-registers -fweb -fno-trapping-math -falign-functions=64 -Wall -c autoconfig.c
autoconfig.c: In function `disable_monitor':
autoconfig.c:706: error: label at end of compound statement
autoconfig.c: At top level:
autoconfig.c:88: warning: 'clr_flag' defined but not used
make[1]: *** [autoconfig.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/airtraf-1.0/work/airtraf-1.0/src/sniffd'
make: *** [just_sniff] Error 2
!!! ERROR: net-wireless/airtraf-1.0 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
L'erreur vient du fait que j'ai Gcc 3.4 et non pas le 3.3... comment faire pour passer la compile sans retrograder ? merci |
|
Back to top |
|
|
Oni92 Apprentice
Joined: 01 Jun 2004 Posts: 247
|
Posted: Sat Apr 02, 2005 7:37 pm Post subject: |
|
|
fait un Code: | gcc-config 1 && source /etc/profile | puis ressaye de compiler |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Sat Apr 02, 2005 8:05 pm Post subject: Re: [airtraf] prb de compilation (GCC 3.3.x) :( |
|
|
bulki wrote: | yop tout le monde,
quand j'essaie d'emerger airtraf, j'ai un souci de compilation:
Code: | make[1]: Entering directory `/var/tmp/portage/airtraf-1.0/work/airtraf-1.0/src/sniffd'
i686-pc-linux-gnu-gcc -I../libcommon -I../libncurses -O3 -march=pentium-m -fomit-frame-pointer -pipe -fno-delayed-branch -fcaller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions -frename-registers -fweb -fno-trapping-math -falign-functions=64 -Wall -c airtraf.c
autoconfig.h:37: warning: 'compat_drivers' defined but not used
i686-pc-linux-gnu-gcc -I../libcommon -I../libncurses -O3 -march=pentium-m -fomit-frame-pointer -pipe -fno-delayed-branch -fcaller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions -frename-registers -fweb -fno-trapping-math -falign-functions=64 -Wall -c autoconfig.c
autoconfig.c: In function `disable_monitor':
autoconfig.c:706: error: label at end of compound statement
autoconfig.c: At top level:
autoconfig.c:88: warning: 'clr_flag' defined but not used
make[1]: *** [autoconfig.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/airtraf-1.0/work/airtraf-1.0/src/sniffd'
make: *** [just_sniff] Error 2
!!! ERROR: net-wireless/airtraf-1.0 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
|
Excuse moi j'ai manqué la partie où le message d'erreur dit que c'est la faute de gcc3.4 et qu'il faut gcc3.3 _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
|
bulki Guru
Joined: 25 Nov 2004 Posts: 529 Location: SiliconValley
|
Posted: Sat Apr 02, 2005 10:25 pm Post subject: Re: [airtraf] prb de compilation (GCC 3.3.x) :( |
|
|
sireyessire wrote: | bulki wrote: | yop tout le monde,
quand j'essaie d'emerger airtraf, j'ai un souci de compilation:
Code: | make[1]: Entering directory `/var/tmp/portage/airtraf-1.0/work/airtraf-1.0/src/sniffd'
i686-pc-linux-gnu-gcc -I../libcommon -I../libncurses -O3 -march=pentium-m -fomit-frame-pointer -pipe -fno-delayed-branch -fcaller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions -frename-registers -fweb -fno-trapping-math -falign-functions=64 -Wall -c airtraf.c
autoconfig.h:37: warning: 'compat_drivers' defined but not used
i686-pc-linux-gnu-gcc -I../libcommon -I../libncurses -O3 -march=pentium-m -fomit-frame-pointer -pipe -fno-delayed-branch -fcaller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions -frename-registers -fweb -fno-trapping-math -falign-functions=64 -Wall -c autoconfig.c
autoconfig.c: In function `disable_monitor':
autoconfig.c:706: error: label at end of compound statement
autoconfig.c: At top level:
autoconfig.c:88: warning: 'clr_flag' defined but not used
make[1]: *** [autoconfig.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/airtraf-1.0/work/airtraf-1.0/src/sniffd'
make: *** [just_sniff] Error 2
!!! ERROR: net-wireless/airtraf-1.0 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
|
Excuse moi j'ai manqué la partie où le message d'erreur dit que c'est la faute de gcc3.4 et qu'il faut gcc3.3 |
En fait, j'avais vu ça ici: https://forums.gentoo.org/viewtopic-t-236532-highlight-airtraf.html ... Mais j'ai essayé de ré-emerger en changeant comme proposé le compilateur (passer sur la version 3.3.x), mais ça me fait tjrs la même erreur... |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
|
Back to top |
|
|
bulki Guru
Joined: 25 Nov 2004 Posts: 529 Location: SiliconValley
|
Posted: Sun Apr 03, 2005 10:19 am Post subject: |
|
|
merci, j'ai essayé de debugger le truc avec ce que tu m'as donné:
Quote: | You have (1) wireless devices configured in your system
Found ath0: IEEE 802.11 on IRQ: 11, BaseAddr: 0x0000 Status: UP
Using Driver: (dma1)
modinfo: could not find module dma1
modinfo: could not find module dma1
Filename: = Author: =error: Incompatible driver for use with AirTraf.
error: Monitor Mode Failure... Exiting! |
J'crois que je vais pouvoir oublier ... j'vais me tourner vers kismet ... |
|
Back to top |
|
|
|