LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Unable to Compile Ungrab-Winmodem (https://www.linuxquestions.org/questions/mandriva-30/unable-to-compile-ungrab-winmodem-661794/)

sleepyz 08-10-2008 10:49 AM

Unable to Compile Ungrab-Winmodem
 
Linux version 2.6.24.5-desktop586-2mnb (qateam@titan.mandriva.com) (gcc version 4.2.3 (4.2.3-6mnb1))

slmodem-2.9.11-0.20070813.3mdv2008.1 for kernel 2.6.24.5-desktop586-2mnb (i586)

Can anyone tell me how to complile this program (ungrab-winmodem-20080126)? This is the error output when attempting.


make modules -C /lib/modules/2.6.24.5-desktop586-2mnb/build SUBDIRS=/home/username/Desktop/ungrab-winmodem-20080126

make: *** /lib/modules/2.6.24.5-desktop586-2mnb/build: No such file or directory. Stop.
make: *** [all] Error 2


I even created the directory and it still won't complile. It gives me
this error.

make modules -C /lib/modules/2.6.24.5-desktop586-2mnb/build SUBDIRS=/home/username/Desktop/ungrab-winmodem-2008-20080126

make[1]: Entering directory `/lib/modules/2.6.24.5-desktop586-2mnb/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.24.5-desktop586-2mnb/build'
make: *** [all] Error 2

Any Suggestions would be greatly appreciated!

GlennsPref 08-11-2008 01:33 AM

Hi, If your trying to build this package for your system from source, then there will usually be a readme file with directions to follow.

Generally,

cd to the directory

type ./configure (enter)(wait for it to finish, no errors I hope)

type make (enter)(wait for it to finish, no errors I hope)

then install, type make install (enter)

If by chance this is the out put from a package manager, what is it(kpackage?)?

Maybe it's failing because there is nothing to make ;)

jkerr82508 08-11-2008 02:24 AM

Do you have kernel-desktop586-devel-2.6.24.5-2mnb-1-1mnb1 installed?

Jim

sleepyz 08-11-2008 06:43 PM

Sweet... I installed kernel-desktop586-devel-2.6.24.5-2mnb-1-1mnb1 and am able to compile the mod..

Thanks so much

jkerr82508 08-12-2008 04:22 PM

That's great. You may want to make a note that whenever you upgrade your kernel you should also upgrade kernel-desktop586-devel, since you'll probably have to re-compile your module.

If you have auto-upgrade of the kernel activated (that is, if you have kernel-desktop586-latest installed), then you can install kernel-desktop586-devel-latest and it will be upgraded at the same time as the kernel.

Jim

sleepyz 08-13-2008 07:39 AM

Yea, I installed the development that had the latest in the name. So it should update when they come out with some new kernel patches.. Thanks again Jim. I was at my wits end with that issue.


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