Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101276 - ndiswrapper-1.1 does not build when suspend2-sources is also used
Summary: ndiswrapper-1.1 does not build when suspend2-sources is also used
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-03 19:05 UTC by Thomas Hartman
Modified: 2005-08-05 15:26 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 Thomas Hartman 2005-08-03 19:05:55 UTC
When I have patched the kernel tree with suspend2-sources, ndiswrapper no longer
compiles against the same kernel.

Reproducible: Always
Steps to Reproduce:
1.emerge suspend2-sources
2.symlink the patched kernel dir to /usr/src/linux
3.emerge ndiswrapper

Actual Results:  
compilation of ndiswrapper fails with:
/var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.c:1112:68:
macro "kthread_run" requires 5 arguments, but only 3 given
/var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.c: In
function `PsCreateSystemThread':
/var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.c:1112:
error: `kthread_run' undeclared (first use in this function)
/var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.c:1112:
error: (Each undeclared identifier is reported only once
/var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.c:1112:
error: for each function it appears in.)
make[2]: ***
[/var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.o]
Error 1
make[1]: ***
[_module_/var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12-suspend2-r4'
make: *** [default] Error 2


Expected Results:  
compilation should have succeded and the ndiswrapper modules should have been
created in the kernel tree

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-
                                                       r0, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
                                                       d]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
                                                       config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/
                                                       distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.1/gentoo-portage"
USE="X a52 acpi alsa apm arts avi berkdb bitmap-fonts bzlib crypt cups curl dixv
                                                       4linux dv dvd dvdread eds
emboss encode esd fam fame flac foomaticdb fortran gd                          
                              gdbm gif gpm gstreamer gtk gtk2 imagemagick imap
imlib ipv6 java jpeg kde libg++                                                
        libwww mad mikmod mono motif mozilla mp3 mpeg mysql ncurses nls nptl ogg
oggvor                                                        bis opengl oss pam
pcmcia pdflib perl png python qt quicktime readline sdl socke                  
                                     ts spell ssl svga tcltk tcpd tiff truetype
truetype-fonts type1-fonts usb vorbis                                          
              x86 xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Henrik Brix Andersen 2005-08-05 15:26:24 UTC
You will need to use at least net-wireless/ndiswrapper-1.2 when using
sys-kernel/suspend2-sources.