Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55071 - net-wireless/wireless-tools-27_pre23 fails to compile
Summary: net-wireless/wireless-tools-27_pre23 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-24 12:50 UTC by Colin Tinker
Modified: 2004-06-24 14:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Tinker 2004-06-24 12:50:54 UTC
>>> md5 src_uri ;-) wireless_tools.27.pre23.tar.gz
>>> Unpacking source...
>>> Unpacking wireless_tools.27.pre23.tar.gz to /var/tmp/portage/wireless-tools-27_pre23/work
>>> Source unpacked.
cp wireless.16.h wireless.h
gcc -march=athlon-tbird -O3 -funroll-loops -pipe -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD    -fPIC -c -o iwlib.so iwlib.c
gcc -march=athlon-tbird -O3 -funroll-loops -pipe -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD    -c iwconfig.c
In file included from iwlib.h:128,
                 from iwlib.c:14:
/usr/include/linux/if.h:111: error: syntax error before "raw_hdlc_proto"
/usr/include/linux/if.h:113: error: syntax error before '*' token
/usr/include/linux/if.h:114: error: syntax error before '*' token
/usr/include/linux/if.h:115: error: syntax error before '*' token
/usr/include/linux/if.h:118: error: syntax error before '*' token
/usr/include/linux/if.h:118: error: `sync' redeclared as different kind of symbol
/usr/include/unistd.h:867: error: previous declaration of `sync'
/usr/include/linux/if.h:119: error: syntax error before '*' token
/usr/include/linux/if.h:120: error: syntax error before '}' token
/usr/include/linux/if.h:121: error: syntax error before '}' token
/usr/include/linux/if.h:151: error: field `ifru_settings' has incomplete type
In file included from iwlib.h:128,
                 from iwconfig.c:14:
/usr/include/linux/if.h:111: error: syntax error before "raw_hdlc_proto"
/usr/include/linux/if.h:113: error: syntax error before '*' token
/usr/include/linux/if.h:114: error: syntax error before '*' token
/usr/include/linux/if.h:115: error: syntax error before '*' token
/usr/include/linux/if.h:118: error: syntax error before '*' token
/usr/include/linux/if.h:118: error: `sync' redeclared as different kind of symbol
/usr/include/unistd.h:867: error: previous declaration of `sync'
/usr/include/linux/if.h:119: error: syntax error before '*' token
/usr/include/linux/if.h:120: error: syntax error before '}' token
/usr/include/linux/if.h:121: error: syntax error before '}' token
/usr/include/linux/if.h:151: error: field `ifru_settings' has incomplete type
make: *** [iwlib.so] Error 1
make: *** Waiting for unfinished jobs....
make: *** [iwconfig.o] Error 1

!!! ERROR: net-wireless/wireless-tools-27_pre23 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.emerge net-wireless/wireless-tools
2.
3.

Actual Results:  
fails to compile 

Expected Results:  
compile cleanly 

emerge info 
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.6.7-gentoo-r4) 
================================================================= 
System uname: 2.6.7-gentoo-r4 i686 AMD Athlon(tm) processor 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-tbird -O3 -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-tbird -O3 -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache clean distcc fixpackages sandbox userpriv 
usersandbox" 
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="3dnow X X509 aac aalib acpi acpi4linux aim alsa apm arts avantgo avi 
berkdb bluetooth bonobo cddb cdr chroot crypt cups curl dga directfb divx4linux 
dvd encode esd ethereal evo faad fam fbcon fftw flac foomaticdb freetype gdbm 
gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick 
imlib innodb ipv6 irda irmc jabber java joystick jpeg kde ldap libg++ libwww 
linguas_en_GB live mad mikmod mmx motif mozcalendar mozilla mozp3p mozsvg mpeg 
mpeg4 msn mysql nas ncurses nls nocd nptl offensive oggvorbis ooo-kde opengl 
opie oss pam pcap pda pdflib perl pic png postgres prelink pthreads python qt 
quicktime readline samba scanner sdl silc skey slang sox speedo speex spell sse 
ssl svg svga t1lib tcpd threads tiff transcode truetype type1 unicode usb v4l 
v4l2 vim-with-x wifi wmf x86 xfs xml2 xmms xprint xv xvid zlib zvbi" 
 
Kernel headers are 2.6.7-r4
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-06-24 13:13:19 UTC
Hrm. this definitely seems to be a header issue (working fine with 2.6.6 headers here). CCing plasmaroo as he seem to be the kernel header person.
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-06-24 13:46:13 UTC
Works fine here on sys-kernel/linux-headers-2.6.7 - what do you mean by "2.6.7-r4 headers"?
Comment 3 Colin Tinker 2004-06-24 13:55:52 UTC
Looks like a problem with my install of the Linux headers
Comment 4 Colin Tinker 2004-06-24 14:02:10 UTC
Ok linux-headers-2.6.7 from the r4 of the 2.6.7 kernel.

It looks like a problem with my headers install.

Thanks for the help