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

Bug 129934

Summary: ndiswrapper 1.13 cannot find kernel build files
Product: Gentoo Linux Reporter: Adam Bowers <adbowers>
Component: New packagesAssignee: Petteri Räty (RETIRED) <betelgeuse>
Status: RESOLVED NEEDINFO    
Severity: normal CC: adbowers, mobile+disabled
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adam Bowers 2006-04-14 05:38:17 UTC
* Preparing ndiswrapper module
Can't find kernel build files in /lib/modules/2.6.16-gentoo-r1/build;
  give the path to kernel build directory with
  KBUILD=<path> argument to make
make: *** [prereq_check] Error 1

!!! ERROR: net-wireless/ndiswrapper-1.13 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  ndiswrapper-1.13.ebuild, line 54:   Called linux-mod_src_compile
  linux-mod.eclass, line 512:   Called die

!!! Unable to make                                  KSRC=//usr/src/linux KVERS=2.6.16-gentoo-r1 DISABLE_USB=1 all.

Portage 2.1_pre7-r5 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.16-gentoo-r1 i686)
=================================================================
System uname: 2.6.16-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1500MHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
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/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 acpi apache2 apm bash-completion berkdb bzip2 cdr crypt cups dri dvd fbcon ftp gdbm gpm isdnlog jpeg libwww mmx mp3 ncurses nls nptl pam perl png pppd python readline slp snmp sse ssl sysvipc tcpd xml2 zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2006-04-14 08:46:54 UTC
Have you done make modules_prepare for your kernel sources?
Comment 2 Adam Bowers 2006-04-17 04:31:55 UTC
(In reply to comment #1)
> Have you done make modules_prepare for your kernel sources?

Yes
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2006-05-01 10:07:29 UTC
I just committed ndiswrapper-1.15. Is this still an issue with it?
Comment 4 Adam Bowers 2006-05-01 10:24:35 UTC
(In reply to comment #3)
> I just committed ndiswrapper-1.15. Is this still an issue with it?

I have since changed drivers for my RT2500 based nic.  I can see if it will emerge with my new kernel set.
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2006-07-22 13:25:00 UTC
No info. Please reopen if you still see this.