LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-10-2008, 10:49 AM   #1
sleepyz
LQ Newbie
 
Registered: Jul 2008
Location: US
Distribution: Linux version 2.6.29.1-desktop586-4mnb (herton@n2.mandriva.com) (gcc version 4.3.2 (GCC) )
Posts: 20

Rep: Reputation: 0
Question 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!
 
Old 08-11-2008, 01:33 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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
 
Old 08-11-2008, 02:24 AM   #3
jkerr82508
Member
 
Registered: Dec 2006
Location: Fife, Scotland
Posts: 268

Rep: Reputation: 69
Do you have kernel-desktop586-devel-2.6.24.5-2mnb-1-1mnb1 installed?

Jim
 
Old 08-11-2008, 06:43 PM   #4
sleepyz
LQ Newbie
 
Registered: Jul 2008
Location: US
Distribution: Linux version 2.6.29.1-desktop586-4mnb (herton@n2.mandriva.com) (gcc version 4.3.2 (GCC) )
Posts: 20

Original Poster
Rep: Reputation: 0
Sweet... I installed kernel-desktop586-devel-2.6.24.5-2mnb-1-1mnb1 and am able to compile the mod..

Thanks so much
 
Old 08-12-2008, 04:22 PM   #5
jkerr82508
Member
 
Registered: Dec 2006
Location: Fife, Scotland
Posts: 268

Rep: Reputation: 69
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

Last edited by jkerr82508; 08-12-2008 at 04:24 PM.
 
Old 08-13-2008, 07:39 AM   #6
sleepyz
LQ Newbie
 
Registered: Jul 2008
Location: US
Distribution: Linux version 2.6.29.1-desktop586-4mnb (herton@n2.mandriva.com) (gcc version 4.3.2 (GCC) )
Posts: 20

Original Poster
Rep: Reputation: 0
Smile

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to compile in GTK abadfish Programming 3 08-05-2007 12:07 PM
Unable to compile Apache 2 Shinji62 AIX 5 03-24-2007 05:49 AM
unable to compile module abk4523 Linux - Kernel 2 02-02-2007 09:45 AM
No compiler, support dependencies to compile winmodem driver t3gah Linux - Hardware 1 05-04-2005 12:04 AM
Unable to compile in RH9! jhawk_one Red Hat 1 09-03-2003 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration