Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[airtraf] prb de compilation (GCC 3.3.x) :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
bulki
Guru
Guru


Joined: 25 Nov 2004
Posts: 529
Location: SiliconValley

PostPosted: Sat Apr 02, 2005 6:58 pm    Post subject: [airtraf] prb de compilation (GCC 3.3.x) :( Reply with quote

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
View user's profile Send private message
Oni92
Apprentice
Apprentice


Joined: 01 Jun 2004
Posts: 247

PostPosted: Sat Apr 02, 2005 7:37 pm    Post subject: Reply with quote

fait un
Code:
gcc-config 1 && source /etc/profile
puis ressaye de compiler
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Sat Apr 02, 2005 8:05 pm    Post subject: Re: [airtraf] prb de compilation (GCC 3.3.x) :( Reply with quote

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
View user's profile Send private message
bulki
Guru
Guru


Joined: 25 Nov 2004
Posts: 529
Location: SiliconValley

PostPosted: Sat Apr 02, 2005 10:25 pm    Post subject: Re: [airtraf] prb de compilation (GCC 3.3.x) :( Reply with quote

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
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Sun Apr 03, 2005 8:14 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=73313

Enjoy
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
bulki
Guru
Guru


Joined: 25 Nov 2004
Posts: 529
Location: SiliconValley

PostPosted: Sun Apr 03, 2005 10:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
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