Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66559

Summary: ndiswrapper-0.10 fails to compile with gentoo-dev-sources 2.6.8-gentoo-r6
Product: Gentoo Linux Reporter: Greg Taylor <gtaylor>
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: VERIFIED NEEDINFO    
Severity: major CC: ash, m.debruijne
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Greg Taylor 2004-10-06 12:37:01 UTC
Upon attempting to emerge ndiswrapper-0.10 for my wireless card, I get errors near the bottom of the make attempt. See below for the exact output.

Reproducible: Always
Steps to Reproduce:
1. emerge and compile gentoo-dev-sources
2. emerge ndiswrapper


Actual Results:  
The following output is sent when trying to emerge ndiswrapper-0.10:

gtlaptop profiles # emerge ndiswrapper
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ndiswrapper-0.10 to /
>>> md5 src_uri ;-) ndiswrapper-0.10.tar.gz
>>> Unpacking source...
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.8-gentoo-r6 found in /usr/src/linux
>>> Unpacking ndiswrapper-0.10.tar.gz to /var/tmp/portage/ndiswrapper-0.10/work
>>> Source unpacked.
make -C driver
make[1]: Entering directory
`/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make -C //usr/src/linux
M=/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver \
        NDISWRAPPER_VERSION=0.10 \
        EXTRA_VERSION= modules
make[2]: Entering directory `/usr/src/linux-2.6.8-gentoo-r6'
  CC [M]  /var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/wrapper.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/iw_ndis.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/loader.o
  CC [M] 
/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/ntoskernel.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/ndis.o
  CC [M] 
/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/misc_funcs.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/proc.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/divdi3.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/hal.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/usb.o
  LD [M] 
/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/ndiswrapper.o
  Building modules, stage 2.
  MODPOST
/bin/sh: scripts/mod/modpost: No such file or directory
make[3]: *** [__modpost] Error 127
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.8-gentoo-r6'
make[1]: *** [default] Error 2
make[1]: Leaving directory
`/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver'
make: *** [all] Error 2


Expected Results:  
Compiled and installed.

I'm running an Inspiron 5150 on gentoo-dev-sources 2.6.8-r6.
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-10-06 16:16:40 UTC
Can you please confirm that /usr/src/linux/scripts/mod/modpost exists? This should be built when you compile the kernel. Thanks.
Comment 2 Greg Taylor 2004-10-06 16:54:16 UTC
modpost.h and modpost.c are there but it appears they were never compiled
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2004-10-06 22:10:35 UTC
Do you have modules support turned on in your kernel? Is this issue resolved?
Comment 4 Henrik Brix Andersen 2004-11-01 05:46:38 UTC
This bug report is awaiting feedback from the reporter.
Comment 5 Henrik Brix Andersen 2004-12-29 06:26:30 UTC
Closing due to lack of feedback.