net-libs/wvstreams-4.0.1 fails to compile against linux26-headers: In file included from linuxstreams/wvinterface.cc:25: /usr/include/linux/wireless.h:442: error: variable or field `__user' declared void /usr/include/linux/wireless.h:442: error: expected `;' before '*' token make: *** [linuxstreams/wvinterface.o] Error 1 make: *** Waiting for unfinished jobs....
Created attachment 47784 [details, diff] Patch against wireless.h to resolve the problem
Created attachment 47785 [details, diff] Patch against linux26-headers-2.8.1-r2.ebuild to include the above patch
works for me. what is your emerge info?
heh, ok.. Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 x86_64) ================================================================= System uname: 2.6.10-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 9 2004, 00:39:32)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r2, 1.9.3, 1.4_p6, 1.6.3, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -ffast-math -frename-registers -mtune=athlon64 -march=athlon64" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -ffast-math -frename-registers -mtune=athlon64 -march=athlon64" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://mirror.pudas.net/gentoo http://ds.thn.htu.se/linux/gentoo ftp://mirror.pudas.net/gentoo http://mirror.uni-c.dk/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://gentoo.math.bme.hu http://mirror.uni-c.dk/gentoo/" LDFLAGS="" 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="amd64 X aalib acpi alsa arts berkdb bitmap-fonts bonobo cdr crypt cups esd f77 fam flac fortran gdbm gif gnome gpm gstreamer gtk2 gtkhtml guile imagemagick imlib ipv6 java jp2 jpeg junit kde ldap libwww lzw lzw-tiff mad mikmod motif mozilla mysql nas ncurses nls nptl odbc offensive oggvorbis opengl oss pam pdflib perl png python qt readline ruby samba sdl slang speex sqlite ssl tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales xml xml2 xmms xpm xrandr xv zlib"
did you switchet to linux26-headers recently? maybe this is because your glibc is build with linux-headers instead with the linux26-headers. try rebuilding glibc and tell me if you succeeded.
Well, it works flawlessly now, on the other hand I am running the 2005.0 profile, thus using linux-headers instead..
then this bug is gone
reopened at luckyduck request (see bug #84817)
fixed in wvstreams-4.0.1-r2 and wvstreams-4.0.2