LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error output by compiling from ndiswrapper - kernel not configured (https://www.linuxquestions.org/questions/linux-newbie-8/error-output-by-compiling-from-ndiswrapper-kernel-not-configured-620929/)

DarkLevi 02-13-2008 04:41 PM

error output by compiling from ndiswrapper - kernel not configured
 
hello,

at first i had to excuse but my english is not that good at all

my problem is quietly simple, i wanted to compile ndiswrapper but i got an error-message:

Makefile:35: *** Cannot find kernel version in /usr/src/linux-2.6.8-24-obj/i386/smp, is it configured?. Stop.
make[1]: Leaving directory `/root/bin/ndiswrapper/ndiswrapper/driver'
make: *** [install] Error 2

i heard that i had to configure or install kernel-headers by yast but i haven't any idea how to do that pls help me and pls remember im not that good in english ;)

thx for helping m8s

edit: sry i forgotten to say i use Novell SuSE Linux 9.2 Prof (hope i'm right in this forum ;))

Uncle_Theodore 02-13-2008 04:51 PM

Well, your English is fine, no worse than mine, anyway... :) But you shouldn't post the same message on two different boards, the moderators will get angry. :)

About your problem. Go to your kernel source directory
cd /usr/src/linux
and run
make oldconfig
there.

Then, try to compile ndiswrapper again.

DarkLevi 02-13-2008 05:15 PM

thx for your answer and ure opinion about my englisch ;)
i will try it instantly, and sry for posting it two times, i don`t want to do so
i will give u a feedback as soon as possible
best regards
levi

DarkLevi 02-13-2008 06:08 PM

im sorry but i think im to stupid to do this
in the directory /usr/src/linux...... is not an makefile theres only another directory called /i684 or something like that what means that comes another error-message to me if i say "make" xD
in my other thread i get an answer i should install over yast and there was a ndiswrapper but it was an old version an works only with wlan-cards not with sticks *cry*

but theres something i do not understand in the install file of ndiswrapper there stand that in the directory (this one in the error message) had to be an *.config file, but there is none

had i to propably to config the kernel manually?
and in this case how i had to do this?

Uncle_Theodore 02-13-2008 06:53 PM

OK, what exactly do you have in the /usr/src directory? There should be a symbolic link linux pointing to the source tree of the kernel you're currently running. Do you have that?
The topmost directory of the kernel source tree looks like this
Code:

ls -a /usr/src/linux/
.          COPYING        Makefile        block    init    net
..          CREDITS        Module.symvers  crypto  ipc    scripts
.config    Documentation  README          drivers  kernel  security
.gitignore  Kbuild        REPORTING-BUGS  fs      lib    sound
.mailmap    MAINTAINERS    arch            include  mm      usr

if you have the full kernel sources installed. Check if you have them.

DarkLevi 02-13-2008 07:27 PM

theres only ati and linux-x.x.x...-obj nothing else
how do i install full kernel sources? i nothing found about tha in yast

DarkLevi 02-13-2008 07:51 PM

im sorry i looked up yast one times more and found kernel-src and installed them

now i have next error message xD but theres only one thing i have to do that is to get a newer version of gcc

thx for all ure help
regards levi


All times are GMT -5. The time now is 07:28 PM.