Do you want me to merge these packages? [Yes/No] >>> emerge (1 of 1) net-wireless/linux-wlan-ng-modules-0.2.2 to / >>> md5 files ;-) linux-wlan-ng-modules-0.2.2.ebuild >>> md5 files ;-) files/linux-wlan-ng-0.2.2-module_param.patch >>> md5 files ;-) files/digest-linux-wlan-ng-modules-0.2.2 >>> md5 src_uri ;-) linux-wlan-ng-0.2.2.tar.bz2 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.14-gentoo >>> Unpacking source... >>> Unpacking linux-wlan-ng-0.2.2.tar.bz2 to /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work * Applying linux-wlan-ng-0.2.2-module_param.patch ... [ ok ] >>> Source unpacked. -------------- Linux WLAN Configuration Script ------------- The default responses are correct for most users. Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [n] Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n] Build Prism2.5 native PCI (_pci) driver? (y/n) [n] Build Prism2.5 USB (_usb) driver? (y/n) [y] Linux source directory [/usr/src/linux] The kernel source tree is version 2.6.14-gentoo. Kernel 2.5/2.6 support is highly experimental. The current kernel build date is Sat Oct 29 22:17:17 2005. WARNING: the source tree has a build date of Sun Oct 30 18:34:43 2005. Did you forget to install your new kernel?!? Alternate target install root directory on host [/var/tmp/portage/linux-wlan-ng-modules-0.2.2/image/] Module install directory [/lib/modules/2.6.14-gentoo] It looks like you have a System V init file setup. Prefix for build host compiler? (rarely needed) [] Build for debugging (see doc/config.debug) (y/n) [n] Configuration successful. Now type 'make' and pray. gcc -E -M -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetadef.c ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetastruct.c > .depend mkdir -p obj gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211types.c -o obj/p80211types.o gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211metamsg.c -o obj/p80211metamsg.o gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211metamib.c -o obj/p80211metamib.o gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211meta.c -o obj/p80211meta.o gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ mkmetadef.c -o obj/mkmetadef.o gcc -o mkmetadef obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetadef.o cat mkmetadefhead.txt > ../include/wlan/p80211metadef.h ./mkmetadef >> ../include/wlan/p80211metadef.h echo "#endif" >> ../include/wlan/p80211metadef.h gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ mkmetastruct.c -o obj/mkmetastruct.o gcc -o mkmetastruct obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetastruct.o cat mkmetastructhead.txt > ../include/wlan/p80211metastruct.h ./mkmetastruct >> ../include/wlan/p80211metastruct.h echo "#endif" >> ../include/wlan/p80211metastruct.h * Preparing p80211 module make -C /usr/src/linux M='/var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/.. /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211' WLAN_SRC=/var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src modules make[1]: Entering directory `/usr/src/linux-2.6.14-gentoo' CC [M] /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211mod.o In file included from /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:73: /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/include/wlan/wlan_compat.h:146:7: warning: "WLAN_HOSTIF" is not defined /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/include/wlan/wlan_compat.h:146:22: warning: "WLAN_PCI" is not defined CC [M] /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211conv.o In file included from /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211conv.c:73: /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/include/wlan/wlan_compat.h:146:7: warning: "WLAN_HOSTIF" is not defined /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/include/wlan/wlan_compat.h:146:22: warning: "WLAN_PCI" is not defined CC [M] /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211req.o In file included from /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211req.c:73: /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/include/wlan/wlan_compat.h:146:7: warning: "WLAN_HOSTIF" is not defined /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/include/wlan/wlan_compat.h:146:22: warning: "WLAN_PCI" is not defined /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211req.c: In function `p80211req_dorequest': /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211req.c:160: warning: passing arg 2 of `test_and_set_bit' from incompatible pointer type /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211req.c:173: warning: passing arg 2 of `clear_bit' from incompatible pointer type /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211req.c: In function `p80211indicate_init': /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211req.c:355: warning: passing arg 2 of `netlink_kernel_create' makes integer from pointer without a cast /var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211req.c:355: error: too few arguments to function `netlink_kernel_create' make[2]: *** [/var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211/p80211req.o] Error 1 make[1]: *** [_module_/var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src/p80211] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo' make: *** [default] Error 2 !!! ERROR: net-wireless/linux-wlan-ng-modules-0.2.2 failed. !!! Function linux-mod_src_compile, Line 505, Exitcode 2 !!! Unable to make WLAN_SRC=/var/tmp/portage/linux-wlan-ng-modules-0.2.2/work/linux-wlan-ng-0.2.2/src default. !!! If you need support, post the topmost build error, NOT this status message. roger55
Pulled a patch from upstream svn and made a new revision to my personal overlay. http://aria.salaneuvokset.net/ebuilds/net-wireless/linux-wlan-ng-modules/ I haven't tested anything else than that it compiles so feedback is welcome. I will setup gentoo-sources-2.6.14 to my laptop where I have the hardware to see if it works, but that will take a while because my laptop is not the fastest around.
Works for me, thanks! Portage 2.0.53_rc7 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo ppc) ================================================================= System uname: 2.6.14-gentoo ppc 7447A, altivec supported Gentoo Base System version 1.12.0_pre9 ccache version 2.4 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=G4 -fno-strict-aliasing -fomit-frame-pointer -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mcpu=G4 -fno-strict-aliasing -fomit-frame-pointer -pipe" DISTDIR="/mnt/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.digimed.co.uk/ http://pandemonium.tiscali.de/pub/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/ ftp://mirror.nutsmaas.nl/gentoo" LANG="en_GB" LINGUAS="en_GB" PKGDIR="/mnt/portage/packages/krikkit" PORTAGE_TMPDIR="/mnt/scratch" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mnt/portage/local" SYNC="rsync://desiato/gentoo" USE="ppc X alsa altivec arts artswrappersuid berkdb bitmap-fonts bluetooth bonobo cddb cdr crypt cups curl dbus dv dvd emboss encode exif fam flac foomaticdb gdbm gif gimpprint gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal ieee1394 imagemagick imlib java jpeg kde kdeenablefinal libwww mad motif mp3 mpeg mysql ncurses offensive ogg oggvorbis opengl pdflib perl png ppds python qt readline sdl slang speex spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vhosts vorbis wifi xml xml2 xmms xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS
Builds fine with 0.2.2-r1 Thanks, Roger
Changes committed to official tree. Thanks for reporting.
Forgot to mark as fixed. Sorry about the noise.