Make Ndiswrapper cant find path kernel head src.
runing edgy want to use wpa w ndiswrapper. i cant run make says path to kernel not found. I did put in links and have installed wireless-tools wpa_supicant and devl pkgs.
Thanks for any help offered.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
make -C driver
make[1]: Entering directory `/download/
Can't find kernel build files in /lib/modules/
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/download/
make: *** [all] Error 2
I do have ln -s
Revision history for this message
|
#2 |
Can't find kernel build files in /lib/modules/
Revision history for this message
|
#3 |
in /lib/modules/
ln -s /usr/src/
Revision history for this message
|
#4 |
I anually created the /lib/modules/
Revision history for this message
|
#5 |
previously added pkg apt-get install build-essential
Revision history for this message
|
#6 |
Have you installed the kernel headers/source? , this also is not for package konversation, please be more careful in package selection.
Revision history for this message
|
#7 |
David Portwood wrote:
> Your question #5014 on konversation in ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> David Portwood proposed the following answer:
> Have you installed the kernel headers/source? , this also is not for
> package konversation, please be more careful in package selection.
>
> _______
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
>
Dave,
Thanks for the reply. How do I get the linux-source? I am running
2.6.17-10-386 .... uname -r
I appreciate your help.
Chris
Revision history for this message
|
#8 |
For the kernel source and headers: 'sudo apt-get linux-source-2.6.17 linux-headers-
One other thing, your kernel is not the latest for Edgy, I recommend 'sudo apt-get update && sudo apt-get dist-upgrade' ; if you do this first you will also need to change to linux-headers-
Revision history for this message
|
#9 |
Typo above 'sudo apt-get install linux-source.
Revision history for this message
|
#10 |
Dave,
Thanks
I tried to get linus-sourc-
root@laptop:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-source-
root@laptop:
Then tried apt-get linux-source-2.6.17 OK and it installed this version
After unpacking 46.2MB of additional disk space will be used.
Get:1 http://
Fetched 46.1MB in 2m15s (339kB/s)
Selecting previously deselected package linux-source-
(Reading database ... 151366 files and directories currently installed.)
Unpacking linux-source-2.6.17 (from .../linux-
Setting up linux-source-2.6.17 (2.6.17.1-11.37) ...
Is this a rang of source because my kernel is 2.6.17-10-386
I got the linux-headers before ... I will try make on ndiswarpper and let you know
Revision history for this message
|
#11 |
same failure on mak doing dist-upgrade know
Revision history for this message
|
#12 |
uname kernel new now
root@laptop:
2.6.17-11-server
I will probably have to change ln to source... the source is in bz2 format??
Revision history for this message
|
#13 |
Made new link
Still can't run make... fails
root@laptop:
linux-headers-
linux-headers-
root@laptop:
root@laptop:
linux-source-
Make fails with
root@laptop:
root@laptop:
make -C driver
make[1]: Entering directory `/download/
Can't find kernel build files in /lib/modules/
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/download/
make: *** [all] Error 2
root@laptop:
Revision history for this message
|
#14 |
Can you 'ls -al /lib/modules/
You need to apt-get install linux-headers-
Revision history for this message
|
#15 |
did apt-get install linux-headers-
Do I have to unpack the linux-source-
Below /usr/src directory
linux-headers-
linux-headers-
Below is ls -al /lib/modules/linux* ... Note no /lib/modules/linux*
root@laptop:
ls: /lib/modules/
root@laptop:
total 28
drwxr-xr-x 6 root root 4096 2007-04-16 11:13 .
drwxr-xr-x 17 root root 8192 2007-04-16 11:12 ..
drwxr-xr-x 6 root root 4096 2007-04-16 11:40 2.6.17-10-386
drwxr-xr-x 5 root root 4096 2007-04-16 11:14 2.6.17-10-server
drwxr-xr-x 2 root root 4096 2007-04-14 15:22 2.6.17-11-386
drwxr-xr-x 5 root root 4096 2007-04-16 11:46 2.6.17-11-server
THANKS DAVE!
Revision history for this message
|
#16 |
root@laptop:
total 1516
drwxr-xr-x 5 root root 4096 2007-04-16 11:46 .
drwxr-xr-x 6 root root 4096 2007-04-16 11:13 ..
drwxr-xr-x 2 root root 4096 2007-04-16 11:49 build
drwxr-xr-x 2 root root 4096 2007-04-16 11:13 initrd
drwxr-xr-x 11 root root 4096 2007-04-16 11:13 kernel
-rw-r--r-- 1 root root 324432 2007-04-16 11:14 modules.alias
-rw-r--r-- 1 root root 69 2007-04-16 11:14 modules.ccwmap
-rw-r--r-- 1 root root 351324 2007-04-16 11:14 modules.dep
-rw-r--r-- 1 root root 813 2007-04-16 11:14 modules.ieee1394map
-rw-r--r-- 1 root root 806 2007-04-16 11:14 modules.inputmap
-rw-r--r-- 1 root root 22378 2007-04-16 11:14 modules.isapnpmap
-rw-r--r-- 1 root root 74 2007-04-16 11:14 modules.ofmap
-rw-r--r-- 1 root root 256173 2007-04-16 11:14 modules.pcimap
-rw-r--r-- 1 root root 1135 2007-04-16 11:14 modules.seriomap
-rw-r--r-- 1 root root 139199 2007-04-16 11:14 modules.symbols
-rw-r--r-- 1 root root 387891 2007-04-16 11:14 modules.usbmap
root@laptop:
Revision history for this message
|
#17 |
EXtrackted linux-source-
set ln-s
root@laptop:
in /download/
root@laptop:
make -C driver
make[1]: Entering directory `/download/
Can't find kernel build files in /lib/modules/
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/download/
make: *** [all] Error 2
root@laptop:
Revision history for this message
|
#18 |
Below /lib/module/
root@laptop:
root@laptop:
arch COPYING debian drivers include Kbuild kernel-versions.in Makefile net README.Debian security
block CREDITS Debian.
conf.vars crypto Documentation fs ipc kernel-versions MAINTAINERS modules README scripts usr
root@laptop:
Revision history for this message
|
#19 |
You may have already done this, but can you do make clean and redo your ./configure with the following options:
./configure KBUILD=
Can you help with this problem?
Provide an answer of your own, or ask cricksen for more information if necessary.