LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-02-2004, 11:40 PM   #1
kickidiot
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Rep: Reputation: 0
problem in installing modem driver in suse 9.1 personal


I am new to linux and following day I am using suse 9.1 personal but I stuck with installtion of modem driver
till now I have downloaded kernal-source, gcc, make install

and used below commond as mentioned in install text
***************************************************************************************

3) ./configure
Options:

--with-hal=hal
Select one of: pct789, cm8738, i8xx, sis, via686a

--with-kernel-includes=/path/to/my/kernel-sources/include
If you don't have your kernel sources at /usr/src/linux, specifiy
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

After above I can procced and can't follow below as above commonds are not get well
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

your includes

4) Compile the modules by typing "make"

5) If everything went fine, get root by typing "su"

7) Install the drivers by typing "make install"

8) You are now ready to use your modules.
Type "insmod pctel" and "insmod ptserial".

=========================================================================================
Here is my process which take place during using command

./configure
Options:

--with-hal=hal
Select one of: pct789, cm8738, i8xx, sis, via686a

--with-kernel-includes=/path/to/my/kernel-sources/include
If you don't have your kernel sources at /usr/src/linux, specifiy
============================================================================================
linux:/home/FIGHTER # cd /lib/modules/2.6.4-52-default/net/pctel-0.9.6
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./configure
configure: loading cache /dev/null
./configure: line 1: ./configure:: No such file or directory
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/lib/modules/2.6.4-52-default/net/pctel-0.9.6/missing: /lib/modules/2.6.4-52-default/net/pctel-0.9.6/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
You should specify a target HAL.
Use './configure --with-hal=list' to see the HALs list.
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./configure --with-hal=list
configure: loading cache /dev/null
./configure: line 1: ./configure:: No such file or directory
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/lib/modules/2.6.4-52-default/net/pctel-0.9.6/missing: /lib/modules/2.6.4-52-default/net/pctel-0.9.6/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... available HALs are:
pct789, cm8738, i8xx, sis, via686a.
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # /configure --with-hal=cm8738
bash: /configure: No such file or directory
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./configure --with-hal=cm8738
configure: loading cache /dev/null
./configure: line 1: ./configure:: No such file or directory
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/lib/modules/2.6.4-52-default/net/pctel-0.9.6/missing: /lib/modules/2.6.4-52-default/net/pctel-0.9.6/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_CM8738
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux/include/linux/modversions.h usability... no
checking /usr/src/linux/include/linux/modversions.h presence... no
checking for /usr/src/linux/include/linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your kernel first!
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./cvsccompile
bash: ./cvsccompile: No such file or directory
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./cvsccompile.sh
bash: ./cvsccompile.sh: No such file or directory
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./cvscompile.sh
Directory 'm4' is missing.
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./mkinstalldirs
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./cvscompile.sh
Directory 'm4' is missing.
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./missing
bash: ./missing: No such file or directory
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./MISSING
Try `./MISSING --help' for more information
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./MISSING --help
./MISSING [OPTION]... PROGRAM [ARGUMENT]...

Handle `PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
error status if there is no known handling for PROGRAM.

Options:
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./configure --with-hal=cm8738
configure: loading cache /dev/null
./configure: line 1: ./configure:: No such file or directory
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/lib/modules/2.6.4-52-default/net/pctel-0.9.6/missing: /lib/modules/2.6.4-52-default/net/pctel-0.9.6/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_CM8738
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux/include/linux/modversions.h usability... no
checking /usr/src/linux/include/linux/modversions.h presence... no
checking for /usr/src/linux/include/linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your kernel first!
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./configure --with-kernel-includes=/path/to/my/kernel-sources/include/usr/src/linux
configure: loading cache /dev/null
./configure: line 1: ./configure:: No such file or directory
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/lib/modules/2.6.4-52-default/net/pctel-0.9.6/missing: /lib/modules/2.6.4-52-default/net/pctel-0.9.6/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
You should specify a target HAL.
Use './configure --with-hal=list' to see the HALs list.
linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 #
***************************************************************************

what is going worng can any point to it

configure: error: modversions.h is missing - you should configure your kernel first!

when configure using command

linux:/lib/modules/2.6.4-52-default/net/pctel-0.9.6 # ./configure --with-kernel-includes=/path/to/my/kernel-sources/include/usr/src/linux

It show

configure: loading cache /dev/null
./configure: line 1: ./configure:: No such file or directory
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/lib/modules/2.6.4-52-default/net/pctel-0.9.6/missing: /lib/modules/2.6.4-52-default/net/pctel-0.9.6/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes









Last edited by kickidiot; 10-03-2004 at 03:24 AM.
 
Old 10-03-2004, 09:54 AM   #2
{O_o}
Member
 
Registered: Mar 2004
Distribution: Slackware 14
Posts: 70

Rep: Reputation: 16
not sure, but are your kernel sources installed? They should be in /usr/src/linux, if not try installing them and the include files.

If they are installed try running make config (or make menuconfig or make xconfig), then make dep in the kernel source dir before you try compiling the modem drivers

Last edited by {O_o}; 10-03-2004 at 09:56 AM.
 
  


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
Newbie unable to extract modem driver to directory in SUSE 9.2 Personal Bish Bash SUSE / openSUSE 6 03-16-2005 09:14 AM
problem with installing SUSE 9.1 PERSONAL on VMWARE Dutchy15 Linux - Newbie 6 11-10-2004 09:56 AM
Problem in installtion MODEM Driver (SUSE 9.1 personal) kickidiot Linux - Newbie 1 09-20-2004 08:32 AM
Installing USB modem driver in SUSE 9.1 wilddog Linux - Newbie 1 09-19-2004 01:44 AM
problem installing modem driver csspcman Linux - Software 0 08-13-2003 06:58 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration