/var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/include/prism2/hfa384x.h:2383: warning: 'packed' attribute ignored for field of type 'union pdr' In file included from /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/prism2_usb.c:3: /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/hfa384x_usb.c: In function 'submit_rx_urb': /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/hfa384x_usb.c:487: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/hfa384x_usb.c: In function 'hfa384x_drvr_txframe': /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/hfa384x_usb.c:3470: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/hfa384x_usb.c: In function 'hfa384x_usbctlxq_run': /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/hfa384x_usb.c:3781: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/prism2mgmt.c: In function 'prism2mgmt_mmi_read': /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/prism2mgmt.c:2051: warning: 'resp' is used uninitialized in this function /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/prism2sta.c: In function 'prism2sta_mlmerequest': /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/prism2mgmt.c:2051: warning: 'resp' is used uninitialized in this function Building modules, stage 2. MODPOST 1 modules CC /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/prism2_usb.mod.o LD [M] /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.5-r1/work/linux-wlan-ng-0.2.5/src/prism2/driver/prism2_usb.ko make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo' >>> Source compiled. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-net-wireless_-_linux-wlan-ng-modules-0.2.5-r1-824.log" open_wr: /usr/src/linux-2.6.19-gentoo/astest960.out open_wr: /usr/src/linux-2.6.19-gentoo/astest964.out open_wr: /usr/src/linux-2.6.19-gentoo/astest971.out open_wr: /usr/src/linux-2.6.19-gentoo/astest975.out -------------------------------------------------------------------------------- !!! This ebuild is from an overlay: '/mnt/checkouts/overlays/betelgeuse'
You need to patch the ebuild with http://dev.gentoo.org/~betelgeuse/patches/linux-wlan-ng-0.2.5-kernel-2.6.19.patch to be in general able to build linux-wlan-ng-modules against 2.6.19. pena sun-javamail # emerge --info Portage 2.1.2_rc2-r3 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 i686) ================================================================= System uname: 2.6.18-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.13.0_alpha7 Last Sync: Unknown distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4, 2.5-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 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.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -fomit-frame-pointer" CHOST="i686-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/splash /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -fomit-frame-pointer" DISTDIR="/var/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect cvs distlocks fixpackages java-strict parallel-fetch sandbox sfperms sign strict stricter userpriv usersandbox verify-rdepend" GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo http://lame.lut.fi/linux/gentoo " LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,--as-needed" LINGUAS="fi" MAKEOPTS="-j2" PKGDIR="/home/pkg/" 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="/mnt/checkouts/overlays/betelgeuse /mnt/checkouts/overlays/migrated-java /mnt/checkouts/overlays/java-experimental /mnt/checkouts/overlays/voip" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 aac acl acpi alsa arts audiofile bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdb cddb cdparanoia cdr cli cracklib crypt cups dbus dlloader dri dts dvd dvdr dvdread elibc_glibc emboss esd fam ffmpeg firefox gif gstreamer hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux libg++ linguas_fi logitech-mouse mad mikmod mjpeg mmx mp3 mpeg ncurses network nptl nptlonly nsplugin nvidia offensive ogg opengl pam pcre png ppds pppd qt3 quicktime readline real reflection rtc samba session spell spl sse sse2 ssl subversion svg symlink theora threads truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_none video_cards_nvidia vim-syntax vorbis xcomposite xinerama xml xorg xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 103167 [details, diff] fix This is a bug in linux-wlan-ng-modules. It needs to pass the work path whenever invoking kbuild. Please add this patch to portage and send it upstream.
(In reply to comment #2) > Created an attachment (id=103167) [edit] > fix > > This is a bug in linux-wlan-ng-modules. It needs to pass the work path whenever > invoking kbuild. Please add this patch to portage and send it upstream. > Patch committed. Could not post to the upstream mailing list but will try again later.