Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105902 - ndiswrapper 1.2 fails to compile against vanilla-sources-2.6.14_rc2
Summary: ndiswrapper 1.2 fails to compile against vanilla-sources-2.6.14_rc2
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 16:40 UTC by Mike Auty (RETIRED)
Modified: 2005-09-22 13:12 UTC (History)
0 users

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 Mike Auty (RETIRED) gentoo-dev 2005-09-13 16:40:57 UTC
The ndiswrapper 1.2 ebuild fails to compile against the
vanilla-sources-2.6.14_rc1 ebuild.  It fails with the following messages:

make -C //usr/src/linux
M=/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver \
        NDISWRAPPER_VERSION=1.2 \
        EXTRA_VERSION= modules
make[1]: Entering directory `/usr/src/linux-2.6.14-rc1'
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/hal.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/iw_ndis.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/loader.o
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/loader.c: In
function `register_devices':
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/loader.c:963:
warning: assignment from incompatible pointer type  CC [M] 
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/misc_funcs.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/ndis.o
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/ndis.c:1721:5:
warning: "LINUX_KERNEL_VERSION" is not defined
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/ntoskernel.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/pe_linker.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/proc.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/wrapper.o
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/wrapper.c:287:47:
macro "halt" passed 1 arguments, but takes just 0
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/wrapper.c: In
function `miniport_halt':
/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/wrapper.c:287:
warning: statement with no effect
make[2]: ***
[/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver/wrapper.o] Error 1
make[1]: ***
[_module_/var/tmp/portage/ndiswrapper-1.2/work/ndiswrapper-1.2/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14-rc1'
make: *** [default] Error 2

!!! ERROR: net-wireless/ndiswrapper-1.2 failed.
!!! Function linux-mod_src_compile, Line 460, Exitcode 2
!!! Unable to make                                  KSRC=//usr/src/linux
KVERS=26 all.
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. Emerge vanilla-sources with ~x86 enabled
2. Set up the symlink correctly
3. Attempt to emerge ndiswrapper

Actual Results:  
Ndiswrapper failed to emerge giving the error messages listed above.

Expected Results:  
Ndiswrapper should've compiled.

Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13 i686)
=================================================================
System uname: 2.6.13 i686 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.4.1-r1
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/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="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect cvs distlocks sandbox sfperms
strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/personal /usr/local/overlays/x-modular"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 100dpi 3dnow 75dpi X aac aalib acl acpi adns alsa animation ao
audiofile avi bash-completion berkdb bitmap-fonts boundschecking cairo ccache
cdr cjk client crypt cups dbus djvu dlloader dpms dri dvd dvdr dvi eds emboss
encode flac foomaticdb fortran gd gdbm gif glade glitz gnome gnutls gstreamer
gtk gtk2 gtkhtml hal hardened imagemagick imap imlib java jpeg junit ldap
libbeagle libg++ libwww mad maildir mbox mikmod mime mmx mmxext motif mozilla
mozsvg mp3 mpeg ncurses nls nntp nptl nptlonly nvidia ogg oggvorbis opengl pam
pdflib perl pic pie plot png pop3 postgres python quicktime readline real ruby
sdl server snmp spell sqlite sse sse2 ssl svg svga t1lib tcpd theora tiff
truetype truetype-fonts type1 type1-fonts unicode usb vorbis win32codecs xine
xml2 xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Mike Auty (RETIRED) gentoo-dev 2005-09-21 16:20:31 UTC
This still occurs with 2.6.14_rc2.  

Seems there's a patch for it:
http://sourceforge.net/mailarchive/forum.php?thread_id=8249591&forum_id=36471

Hopefully there will be a new NDISwrapper release soon (the bug still happens
with 1.3_rc1, so just bumping to the latest won't help)...
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2005-09-22 13:12:33 UTC
With every single kernel RC release the previous ndiswrapper does not work known
problem. In fact, nearly every driver that the mobile herd maintains suffers
from this... This is why we do not support kernel RC release nor MM sources.

We support the lastest stable arch and ~arch marked gentoo-sources,
suspend2-sources, and mm-sources.