Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ndiswrapper on 2.6.20 kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
beaker222
n00b
n00b


Joined: 15 Aug 2004
Posts: 52

PostPosted: Sun Feb 11, 2007 4:31 pm    Post subject: ndiswrapper on 2.6.20 kernel Reply with quote

Hi there,

I upgraded my kernel from 2.6.19.1 to 2.6.20 (vanilla-sources). For my old kernel, I had ndiswrapper running for my WLAN card. But when I now try to emerge ndiswrapper running the new kernel, the emerge fails.

Here is the output I get, when I try to emerge ndiswrapper:

Code:

>>> Emerging (1 of 1) net-wireless/ndiswrapper-1.33 to /
 * ndiswrapper-1.33.tar.gz MD5 ;-) ...                                    [ ok ]
 * ndiswrapper-1.33.tar.gz RMD160 ;-) ...                                 [ ok ]
 * ndiswrapper-1.33.tar.gz SHA1 ;-) ...                                   [ ok ]
 * ndiswrapper-1.33.tar.gz SHA256 ;-) ...                                 [ ok ]
 * ndiswrapper-1.33.tar.gz size ;-) ...                                   [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking ndiswrapper-1.33.tar.gz ;-) ...                               [ ok ]
 * See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported ke
rnels.

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.20-vanilla
 * Checking for suitable kernel configuration options...                  [ ok ]
>>> Unpacking source...
>>> Unpacking ndiswrapper-1.33.tar.gz to /var/tmp/portage/net-wireless/ndiswrapp
er-1.33/work
 * Applying ndiswrapper-new_suspend2.patch ...                            [ ok ]
 * Converting ndiswrapper-1.33/driver/Makefile to use M= instead of SUBD  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndis
wrapper-1.33 ...
gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
 * Preparing ndiswrapper module
make -C /usr/src/linux M=/var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndi
swrapper-1.33/driver
make[1]: Entering directory `/usr/src/linux-2.6.20'
  LD      /var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/d
river/built-in.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/d
river/crt.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/d
river/hal.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/d
river/iw_ndis.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/d
river/loader.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/d
river/ndis.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/d
river/ntoskernel.o
/var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/driver/ntos
kernel.c: In function 'ExFreePoolWithTag':
/var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/driver/ntos
kernel.c:1035: error: 'PKMAP_BASE' undeclared (first use in this function)
/var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/driver/ntos
kernel.c:1035: error: (Each undeclared identifier is reported only once
/var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/driver/ntos
kernel.c:1035: error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/driver/ntoskernel.o] Error 1
make[1]: *** [_module_/var/tmp/portage/net-wireless/ndiswrapper-1.33/work/ndiswrapper-1.33/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20'
make: *** [default] Error 2

!!! ERROR: net-wireless/ndiswrapper-1.33 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4016:   Called src_compile
  ndiswrapper-1.33.ebuild, line 67:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  KBUILD=/usr/src/linux KSRC=//usr/src/linux KVERS=2.6.20-vanilla DISABLE_USB=1 -j1 all.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-wireless/ndiswrapper-1.33/temp/build.log'.



Any ideas how to fix this?

Bye,
beaker
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Mon Feb 12, 2007 5:13 pm    Post subject: Reply with quote

Quote:
kernel.c:1035: error: 'PKMAP_BASE' undeclared (first use in this function)

I would try gentoo-sources-2.6.20 If I got that error then I would post a bug about ndiswrapper for 2.6.20
If gentoo-sources solved it then I may post one about vanilla-sources, but in reality it would just say that for now
you need the gentoo patchset. There were quite a few changes with networking in 2.6.20 so you may also go through menuconfig and make sure things didn't get moved around or some support you need didn't get left out.
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
beaker222
n00b
n00b


Joined: 15 Aug 2004
Posts: 52

PostPosted: Tue Feb 13, 2007 6:33 am    Post subject: Reply with quote

Hi,

thanks for the answer. But I had some troubles getting gentoo-sources running stable on my machine. Then someone suggested I should try vanilla-sources and this fixed the problems (see https://forums.gentoo.org/viewtopic-t-523325-highlight-asus+a6tc.html).

So I guess, gentoo-sources are no option for me... :(

Bye,
beaker
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Feb 13, 2007 7:01 am    Post subject: Reply with quote

ndiswrapper-1.37 works with kernel 2.6.20
Back to top
View user's profile Send private message
beaker222
n00b
n00b


Joined: 15 Aug 2004
Posts: 52

PostPosted: Tue Feb 13, 2007 7:17 am    Post subject: Reply with quote

Thanks, I will try that
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum