VectorLinux
May 25, 2013, 07:56:52 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Need help with martian_modem install  (Read 991 times)
jakev383
Member
*
Posts: 4


« on: August 03, 2008, 04:08:35 am »

I have an old laptop that I'm setting up as an email station for my grandparents.  I've installed my copy of 5.8 SOHO on it, and have everything pretty much working as needed.
The laptop has a Agere 56K Winmodem in it, and I ran scanModem to identify the modem.  I downloaded martian_modem (martian-full-20080407) but when I try and compile it, I get this error:
Code:
root:# make all
make -C kmodule/ modules
make[1]: Entering directory `/home/vick/martian-full-20080407/kmodule'
make -C /lib/modules/2.6.20.3/build M="/home/vick/martian-full-20080407/kmodule"  modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.20.3/build: No such file or directory.  Stop.
make: Leaving an unknown directory
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/vick/martian-full-20080407/kmodule'
make: *** [all] Error 2

I think I have the correct (and correctly) installed kernel source, headers, and modules source. 
What am I missing, or is there an easier way to do this?

For those that are interested, I'm setting the laptop up to dial up to an Internet connection and grab their email at 3am, then disconnect.  It will also grab pictures from a remote dir, rsync'ing them locally, to use for the screensaver slideshow which should be trivial. 
Thanks!
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2476



« Reply #1 on: August 03, 2008, 05:03:34 am »

it doesnt look like you have the symlink it wants
Quote
/lib/modules/2.6.20.3/build: No such file or directory.  Stop
/lib/modules/2.6.20.3/build should be a symlink to /usr/src/linux-2.6.20.3
Logged
jakev383
Member
*
Posts: 4


« Reply #2 on: August 03, 2008, 07:19:51 am »

Hmm. The link existed.
I removed it, then created a symlink and it compiled a little further.  Now I get this error, which I'm guessing needs a "compat" package:

Code:
root:# make all
make -C kmodule/ modules
make[1]: Entering directory `/home/vick/martian-full-20080407/kmodule'
make -C /lib/modules/2.6.20.3/build M="/home/vick/martian-full-20080407/kmodule"  modules
make[2]: Entering directory `/usr/src/linux-2.6.20'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory `/usr/src/linux-2.6.20'
make[1]: Leaving directory `/home/vick/martian-full-20080407/kmodule'
make -C modem/ all
make[1]: Entering directory `/home/vick/martian-full-20080407/modem'
    CC  sysdep.o
sysdep.c: In function `linux_timer_create':
sysdep.c:18: error: `__NR_timer_create' undeclared (first use in this function)
sysdep.c:18: error: (Each undeclared identifier is reported only once
sysdep.c:18: error: for each function it appears in.)
sysdep.c: In function `linux_timer_settime':
sysdep.c:23: error: `__NR_timer_settime' undeclared (first use in this function)
make[1]: *** [sysdep.o] Error 1
make[1]: Leaving directory `/home/vick/martian-full-20080407/modem'
make: *** [all] Error 2

Thanks for the tip!
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2476



« Reply #3 on: August 03, 2008, 08:25:19 am »

it doesnt look like you have the correct kernel source for your running kernel.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!