LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kernel source needed (https://www.linuxquestions.org/questions/linux-software-2/kernel-source-needed-276404/)

drum2jc 01-11-2005 01:27 AM

kernel source needed
 
i am trying to install ndiswrapper for my broadcom 802.11g wireless card, and when i type "make install" as the directions show, i get an error that basically says the source is missing. I am running suse 9.2 professional, and i've heard that the kernel source can be installed from either cd4 or cd5, which are both full of rpm's.

can someone tell me what to install to get this working, or how i can install every rpm from both of the cd's? i have ample hdd space

thanks,
chris

scuzzman 01-11-2005 01:30 AM

Depending on your kernel version, the RPM you want to install is
kernel-source-2.x.x.rpm

drum2jc 01-11-2005 09:01 AM

ohhkk thanks a bunch

drum2jc 01-12-2005 02:36 PM

ok well i tried installing ndiswrpper after installing the source and i get this error message...

admin@linux:~/bin/ndiswrapper-0.12> make install
make -C driver install
make[1]: Entering directory `/home/admin/bin/ndiswrapper-0.12/driver'
make -C /lib/modules/2.6.8-24-default/build SUBDIRS=/home/admin/bin/ndiswrapper-0.12/driver \
NDISWRAPPER_VERSION=0.12 \
EXTRA_VERSION= modules
make[2]: Entering directory `/usr/src/linux-2.6.8-24-obj/i386/default'
make -C ../../../linux-2.6.8-24 O=../linux-2.6.8-24-obj/i386/default modules
/usr/src/linux-2.6.8-24/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/linux-2.6.8-24/scripts/gcc-version.sh: line 12: gcc: command not found
CC [M] /home/admin/bin/ndiswrapper-0.12/driver/wrapper.o
/bin/sh: gcc: command not found
make[5]: *** [/home/admin/bin/ndiswrapper-0.12/driver/wrapper.o] Error 127
make[4]: *** [_module_/home/admin/bin/ndiswrapper-0.12/driver] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.8-24-obj/i386/default'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/admin/bin/ndiswrapper-0.12/driver'
make: *** [install] Error 2
admin@linux:~/bin/ndiswrapper-0.12>


can someone help me with this?

laceupboots 01-12-2005 03:09 PM

You need to install gcc for your version of Suse. It's a compiler.

drum2jc 01-13-2005 02:04 AM

okay i found a gcc-3.4.3.tar.bz2, d/loaded it, untarred it, and tried to figure out how to install it but it was wayyyy the hell over my head. is there a place where i can get an rpm to install through yast?

thanks

StephenCM 01-13-2005 03:35 AM

Hey, great, another SuSE 9.2 user.

With SuSE, you have YaST, or Yet Another Setup Tool. Yast can usually install ANYTHING necessary. Open YaST -> software and click install or remove software. Then you can search for what you need.

I installed the kernel source and GCC by seaching for "kernel source" and "GCC" in the YaST2 search box. It was all there. You can usually see which package in the list to choose without much trouble. SuSE will install them for you and manage dependencies too!

Stephen

drum2jc 01-13-2005 04:35 AM

thanks a bunch... i never knew about that search feature! its greeat...

now i just need to know how to use ndiswrapper for my wireless card... lol

anyone know how?

drum2jc 01-13-2005 04:36 AM

[double post]


All times are GMT -5. The time now is 03:39 AM.