Summary: | aircrack-2.41: gcc-4.1/linux-headers compile fix patch | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrea Ratto <soul_rebel> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | crypto+disabled, gcc-porting, lorenzo, plasmaroo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://article.gmane.org/gmane.linux.gentoo.devel/37474/match= | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
gcc-4 patch
changes to the ebuild |
Description
Andrea Ratto
2006-06-11 02:42:07 UTC
Created attachment 88885 [details, diff]
gcc-4 patch
Created attachment 88886 [details, diff]
changes to the ebuild
that looks like a linux-headers bug, not a gcc-4.1 bug so it probably is, i also upgraded linux-headers to 2.6.16. Should i re-post this or do something? Anyway theese patches provide a quick and dirty fix and also aircrack-ng suffers the same problem. Is this a problem with aircrack-ng too? Aircrack-ng replaces aircrack, which I intend to remove from the tree eventually. aircrack-ng fails to compile too, it seems to me because of the same linux-headers problem. The error message is very similar if not the same. Post compile errors please. >>> Compiling source in /var/tmp/portage/aircrack-ng-0.5-r1/work/aircrack-ng-0.5 ...
x86_64-pc-linux-gnu-gcc -Os -falign-jumps -falign-loops -freorder-blocks -frename-registers -fweb -falign-jumps -falign-loops -freorder-blocks -ftree-vectorize -fno-ident -march=k8 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 src/aircrack-ng.c src/crypto.c src/sha1-mmx.S src/common.c -o aircrack-ng -lpthread
x86_64-pc-linux-gnu-gcc -Os -falign-jumps -falign-loops -freorder-blocks -frename-registers -fweb -falign-jumps -falign-loops -freorder-blocks -ftree-vectorize -fno-ident -march=k8 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 src/airdecap-ng.c src/crypto.c src/common.c -o airdecap-ng
x86_64-pc-linux-gnu-gcc -Os -falign-jumps -falign-loops -freorder-blocks -frename-registers -fweb -falign-jumps -falign-loops -freorder-blocks -ftree-vectorize -fno-ident -march=k8 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 src/arpforge-ng.c src/common.c -o arpforge-ng
x86_64-pc-linux-gnu-gcc -Os -falign-jumps -falign-loops -freorder-blocks -frename-registers -fweb -falign-jumps -falign-loops -freorder-blocks -ftree-vectorize -fno-ident -march=k8 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 src/aireplay-ng.c src/common.c -o aireplay-ng
In file included from /usr/include/sys/types.h:8,
from src/aireplay-ng.c:27:
/usr/include/gentoo-multilib/amd64/sys/types.h:46: error: conflicting types for
>>> Compiling source in /var/tmp/portage/aircrack-ng-0.5-r1/work/aircrack-ng-0.5 ...
x86_64-pc-linux-gnu-gcc -Os -falign-jumps -falign-loops -freorder-blocks -frename-registers -fweb -falign-jumps -falign-loops -freorder-blocks -ftree-vectorize -fno-ident -march=k8 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 src/aircrack-ng.c src/crypto.c src/sha1-mmx.S src/common.c -o aircrack-ng -lpthread
x86_64-pc-linux-gnu-gcc -Os -falign-jumps -falign-loops -freorder-blocks -frename-registers -fweb -falign-jumps -falign-loops -freorder-blocks -ftree-vectorize -fno-ident -march=k8 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 src/airdecap-ng.c src/crypto.c src/common.c -o airdecap-ng
x86_64-pc-linux-gnu-gcc -Os -falign-jumps -falign-loops -freorder-blocks -frename-registers -fweb -falign-jumps -falign-loops -freorder-blocks -ftree-vectorize -fno-ident -march=k8 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 src/arpforge-ng.c src/common.c -o arpforge-ng
x86_64-pc-linux-gnu-gcc -Os -falign-jumps -falign-loops -freorder-blocks -frename-registers -fweb -falign-jumps -falign-loops -freorder-blocks -ftree-vectorize -fno-ident -march=k8 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 src/aireplay-ng.c src/common.c -o aireplay-ng
In file included from /usr/include/sys/types.h:8,
from src/aireplay-ng.c:27:
/usr/include/gentoo-multilib/amd64/sys/types.h:46: error: conflicting types for loff_t
/usr/include/linux/types.h:74: error: previous declaration of loff_t was here
/usr/include/gentoo-multilib/amd64/sys/types.h:62: error: conflicting types for dev_t
/usr/include/linux/types.h:27: error: previous declaration of dev_t was here
In file included from /usr/include/time.h:8,
from /usr/include/gentoo-multilib/amd64/sys/types.h:133,
from /usr/include/sys/types.h:8,
from src/aireplay-ng.c:27:
/usr/include/gentoo-multilib/amd64/time.h:105: error: conflicting types for timer_t
/usr/include/linux/types.h:45: error: previous declaration of timer_t was hereIn file included from /usr/include/sys/types.h:8,
from src/aireplay-ng.c:27:
/usr/include/gentoo-multilib/amd64/sys/types.h:198: error: conflicting types for int64_t
/usr/include/linux/types.h:142: error: previous declaration of int64_t was here
/usr/include/gentoo-multilib/amd64/sys/types.h:204: error: conflicting types for u_int64_t
/usr/include/linux/types.h:141: error: previous declaration of u_int64_t was here
In file included from /usr/include/sys/select.h:8,
from /usr/include/gentoo-multilib/amd64/sys/types.h:220,
from /usr/include/sys/types.h:8,
from src/aireplay-ng.c:27:
/usr/include/gentoo-multilib/amd64/sys/select.h:78: error: conflicting types for fd_set
/usr/include/linux/types.h:24: error: previous declaration of fd_set was here
In file included from /usr/include/stdint.h:8,
from /usr/include/gentoo-multilib/amd64/netinet/in.h:23,
from /usr/include/netinet/in.h:8,
from /usr/include/gentoo-multilib/amd64/arpa/inet.h:23,
from /usr/include/arpa/inet.h:8,
from src/aireplay-ng.c:32:
/usr/include/gentoo-multilib/amd64/stdint.h:56: error: conflicting types for uint64_t
/usr/include/linux/types.h:140: error: previous declaration of uint64_t was here
make: *** [aireplay-ng] Error 1
!!! ERROR: net-wireless/aircrack-ng-0.5-r1 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
aircrack-ng-0.5-r1.ebuild, line 25: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
According to a thread on the aircrack-ng forums[0], this problem is solved in aircrack-ng 0.6. I haven't tested it yet, but I will do after my exams. [O] http://tinyshell.be/aircrackng/forum/index.php?topic=81.0 Thanks for your work, but I cannot reproduce your problem with net-analyzer/aircrack-ng and net-analyzer/aircrack is pending removal from the tree, so I am inclined not to apply the patch. Please reopen this bug if I am made a mistake. |