LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 01-15-2006, 07:31 AM   #1
jaogale
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Rep: Reputation: 0
internal modem installation problem on sony vaio


Hi,
i have sony vaiio vgn-s4m lap-top with an internal modem V90.
previously i had installed mdk 10.0 on it, and configured/installed this modem using slmodem-2.9.10.tar.gz.
this was working fine.
recently i installed mandriva 2006 [deleting mdk10.0], because i was told that as this is an advanced version, this detects
and installs most of the internal modem.
but it did not happened automatically. so i tried to configure/install it with the same tar ball and it is giving me errors
detailed as follows. please let me know what is this error? and how to correct it?
also i would like to know that if sonething can be easily done in earlier versions why it doesnt happen in so called advanced versions?
thanks,
jayant.

[root@localhost slmodem-2.9.10]# make
make -C modem all
make[1]: Entering directory `/home/jayant/slmodem-2.9.10/modem'
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c
modem.c: In function ‘modem_reset’:
modem.c:1701: error: invalid storage class for function ‘sregs_init’
modem.c:1713: warning: implicit declaration of function ‘sregs_init’
modem.c: At top level:
modem.c:1727: error: static declaration of ‘sregs_init’ follows non- static declaration
modem.c:1713: error: previous implicit declaration of ‘sregs_init’ w as here
make[1]: *** [modem.o] Error 1
make[1]: Leaving directory `/home/jayant/slmodem-2.9.10/modem'
make: *** [modem] Error 2
[root@localhost slmodem-2.9.10]#
 
Old 01-16-2006, 10:19 PM   #2
maxfacta
Member
 
Registered: Aug 2004
Location: Perth, Australia
Distribution: Debian @ home + work :)
Posts: 66

Rep: Reputation: 21
Are your kernel header files installed? They may not be installed by default. It looks like a missing declaration, and I would say that slmodem (being a kernel module) would need to link against the kernel headers.
 
Old 01-22-2006, 07:31 AM   #3
jaogale
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Original Poster
Rep: Reputation: 0
i have downloaded kernel-source files. but the same problem prevails.
i could not get kernel header files separately. do the kernel source files contain kernel header files?
thanks
 
Old 01-22-2006, 08:05 PM   #4
maxfacta
Member
 
Registered: Aug 2004
Location: Perth, Australia
Distribution: Debian @ home + work :)
Posts: 66

Rep: Reputation: 21
On Debian, the kernel headers come in a separate package; you'll have to check your own distribution's policy on that!
 
Old 02-04-2006, 02:45 PM   #5
vvuiverine
LQ Newbie
 
Registered: Jun 2003
Posts: 18

Rep: Reputation: 0
I know this post is old news but leaving a solution is not a bad idea.

The problem is how GCC4 handles the static keyword. Open modem/modem.c and go to lines 1701 then 1707 and remove the keyword static.

Afterwards all should compile without any problems. These edits should not affect the applications functionality.

Last edited by vvuiverine; 02-04-2006 at 02:50 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora 3 core installation on a Sony Vaio kuldipkamat Linux - Laptop and Netbook 3 04-11-2005 02:32 PM
sony vaio pcg-818 modem activation captain skywave Linux - Laptop and Netbook 0 02-24-2005 02:27 AM
suse 8.2 on sony vaio laptop - installation problem lee110968 Linux - Newbie 1 11-08-2004 07:40 PM
Sony Vaio Modem apokryphos Linux - Hardware 0 10-21-2004 03:48 PM
problem: HSF Conextant Modem/chip - redhat - sony vaio RobIRE Linux - Hardware 0 03-15-2003 11:49 AM


All times are GMT -5. The time now is 11:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration