Unable to install wireless-tools
I'm currently running Ubuntu and trying to get Gentoo up (for the umpteenth time - I've been on these forums before). Anyway, since I've been through the process a bunch already, it went fairly smoothly up until my attempts at trying to get wireless networking up and running on my laptop.
The link in the handbook for reference:
Gentoo Linux Documentation -- Wireless Networking
So basically this is what I've got going. Hopefully someone can tell me why this is happening and how to fix it:
Also, in Ubuntu Dapper right now my gateway device for internet is eth1. What is the difference between eth1 and eth0? Is there any harm in using eth0 in Gentoo and eth1 in Ubuntu?
GPAC-laptop / # emerge net-wireless/wireless-tools
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) net-wireless/wireless-tools-28 to /
* wireless_tools.28.tar.gz RMD160 ;-) ... [ ok ] * wireless_tools.28.tar.gz SHA1 ;-) ... [ ok ] * wireless_tools.28.tar.gz SHA256 ;-) ... [ ok ] * wireless_tools.28.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking wireless_tools.28.tar.gz ;-) ... [ ok ]>>> Unpacking source...
>>> Unpacking wireless_tools.28.tar.gz to /var/tmp/portage/net-wireless/wireless-tools-28/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-wireless/wireless-tools-28/work/wireless_tools.28 ...
cp wireless.20.h wireless.h
i686-pc-linux-gnu-gcc -O2 -Wall -Werror -march=i686 -pipe -MMD -fPIC -c -o iwlib.so iwlib.c
i686-pc-linux-gnu-gcc -O2 -Wall -Werror -march=i686 -pipe -MMD -c iwconfig.c
i686-pc-linux-gnu-gcc -O2 -Wall -Werror -march=i686 -pipe -MMD -c iwlist.c
cc1: warnings being treated as errors
iwconfig.c: In function 'set_info':
iwconfig.c:677: warning: dereferencing type-punned pointer will break strict-aliasing rules
iwconfig.c:1067: warning: dereferencing type-punned pointer will break strict-aliasing rules
iwconfig.c:1102: warning: dereferencing type-punned pointer will break strict-aliasing rules
make: *** [iwconfig.o] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: net-wireless/wireless-tools-28 failed.
ebuild.sh, line 1615: Called dyn_compile
ebuild.sh, line 972: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
wireless-tools-28.ebuild, line 38: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-wireless/wireless-tools-28/temp/build.log'.