zd1211 fails to compile for 2.6.19-r2 gentoo-sources. See emerge output attached below. Portage 2.1.2_rc4-r3 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r4 x86_64) ================================================================= System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.8 Last Sync: Sat, 30 Dec 2006 13:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -pipe -O2 -ggdb1" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -pipe -O2 -ggdb1" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LC_ALL="nl_NL@euro.UTF-8" LINGUAS="nl en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/marijn/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib acpi aim alsa amd64 artworkextra avi bash-completion berkdb bidi bitmap-fonts bzip2 canna cdr cjk cli cracklib crypt cups dbus dga directfb divx4linux dlloader dri dvd dvdr eds emboss encode fbcon firefox foomaticdb fortran freewnn ftp gdbm gif ginac gnome gpm gstreamer gtk gtk2 gtkhtml guile hal hardened iconv icq ieee1394 imlib ipv6 isdnlog jabber java javascript jpeg kde kdeenablefinal ldap libcaca libwww lzw lzw-tiff mad mozilla mp3 mpeg mplayer msn mule ncurses nls nptl nptlonly offensive ogg opengl oscar pam pcre pdf pdflib perl php png pppd python qt qt3 qt4 quicktime readline reflection sasl sdl session speex spell spl ssl svg tcpd theora tidy tiff truetype-fonts type1-fonts unicode usb v4l vcd videos vorbis wmf xine xorg xpm xv xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="nl en" USERLAND="GNU" VIDEO_CARDS="ati fbdev radeon vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 105031 [details] full emerge output I guess I should give the new in-kernel driver a try.
Not in stable tree, dropping block
Created attachment 108347 [details, diff] net_dev.patch Quick and dirty patch to reflect that get_wireless_stats, moved almost ten minor versions ago from net_device to iw_handler_def, was finally removed from net_device. Sets ZDCONF_WE_STAT_SUPPORT=0 in the Makefile to simply disable get_wireless_stats usage. Some more sophisticated solution might be better, but hopefully the driver developers will do that soon -- or improve the zd1211rw branch, included now in the kernel sources, to fully replace the old branch finally.
Created attachment 108351 [details, diff] Patch for the zd1211-83.ebuild to use net_dev.patch
Thank you I have added version 85 which builds with 2.6.21 here.