LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-30-2003, 12:38 AM   #1
cam34
Member
 
Registered: Aug 2003
Distribution: Fedora 22, Debian 8, Centos 6/7 for servers
Posts: 101

Rep: Reputation: 16
Easy Ques: Where is modversions.h LinModem


Hi Guys im trying to my configure my *wait for it* win modem i downloaded the right drivers and everything was going to plan until it couldnt find the ?kernel?
here is the out put, I'd love it if some one could point out where i went wrong and where the fles are.
Oh yer it was looking for:

/usr/src/linux/include/linux/modversions.h...

Now there is NO /usr/src/linux directory - where should i redirect it to.

Thanks

P.S. Running Mandrake 9.1

Desktop/ Documents/ tmp/

[cam@cam cam]$ cd tmp

[cam@cam tmp]$ ls
pctel-0.9.6.tar.gz*

[cam@cam tmp]$ tar zxvf pctel-0.9.6.tar.gz
pctel-0.9.6/
pctel-0.9.6/misc/
pctel-0.9.6/misc/Makefile.am
pctel-0.9.6/misc/Makefile.in
pctel-0.9.6/misc/SlackBuild.in
pctel-0.9.6/misc/build_rpms.sh.in
pctel-0.9.6/misc/pctel.spec.in
pctel-0.9.6/misc/autogen.sh
pctel-0.9.6/misc/pctel.spec
pctel-0.9.6/README
pctel-0.9.6/AUTHORS
pctel-0.9.6/COPYING
pctel-0.9.6/ChangeLog
pctel-0.9.6/INSTALL
pctel-0.9.6/Makefile.am
pctel-0.9.6/Makefile.in
pctel-0.9.6/NEWS
pctel-0.9.6/acinclude.m4
pctel-0.9.6/aclocal.m4
pctel-0.9.6/configure
pctel-0.9.6/configure.in
pctel-0.9.6/install-sh
pctel-0.9.6/missing
pctel-0.9.6/mkinstalldirs
pctel-0.9.6/cvscompile.sh
pctel-0.9.6/FAQ

pctel-0.9.6/src/
pctel-0.9.6/src/Makefile.am
pctel-0.9.6/src/Makefile.in
pctel-0.9.6/src/module/
pctel-0.9.6/src/module/Makefile.am
pctel-0.9.6/src/module/Makefile.in
pctel-0.9.6/src/module/ptmodule.c
pctel-0.9.6/src/ptserial/
pctel-0.9.6/src/ptserial/Makefile.am
pctel-0.9.6/src/ptserial/Makefile.in

pctel-0.9.6/src/ptserial/ptserial-2.4.6.c

pctel-0.9.6/src/ptserial/ptserial-2.4.7.c

pctel-0.9.6/lib/
pctel-0.9.6/lib/asus/

pctel-0.9.6/lib/asus/dsp.a

pctel-0.9.6/lib/asus/i810hal.a
pctel-0.9.6/lib/cm8738/

pctel-0.9.6/lib/cm8738/pctel-cm8738.o
pctel-0.9.6/lib/pct789/
pctel-0.9.6/lib/pct789/dsp.a

pctel-0.9.6/lib/pct789/pcthal.a
pctel-0.9.6/lib/sis/

pctel-0.9.6/lib/sis/dsp.a
pctel-0.9.6/lib/sis/i810hal.a

pctel-0.9.6/lib/via/
pctel-0.9.6/lib/via/dsp.a
pctel-0.9.6/lib/via/via686ahal.a

pctel-0.9.6/lib/Makefile.am

pctel-0.9.6/lib/Makefile.in

pctel-0.9.6/lib/control.a

pctel-0.9.6/lib/vuart.o

pctel-0.9.6/modules/

pctel-0.9.6/modules/Makefile.am
pctel-0.9.6/modules/Makefile.in
pctel-0.9.6/include/

pctel-0.9.6/include/pctel.h
pctel-0.9.6/include/halwraps.h
pctel-0.9.6/include/vuart.h

pctel-0.9.6/include/Makefile.am
pctel-0.9.6/include/Makefile.in
pctel-0.9.6/m4/

pctel-0.9.6/m4/Makefile.am

pctel-0.9.6/m4/Makefile.in

pctel-0.9.6/m4/_pctel.m4

[cam@cam tmp]$ cd pc

pctel-0.9.6
pctel-0.9.6.tar.gz

[cam@cam tmp]$ cd pctel-0.9.6

[cam@cam pctel-0.9.6]$ ./configure --with-hal=pct789
checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... gawk
checking whether make sets ${MAKE}... yes

checking build driver for... HAL_PCT789
checking for gcc... no

checking for cc... no

checking for cc... no

checking for cl... no
configure: error: no acceptable C compiler found in $PATH

[cam@cam pctel-0.9.6]$ make
make: *** No targets specified and no makefile found. Stop.

[cam@cam pctel-0.9.6]$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 745 Host (rev 01)

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI

bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge)00:02.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001

USB Controller
(rev 07)
00:02.3 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller

(rev 07)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)

00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)

00:09.0 Modem: PCTel Inc HSP MicroModem 56 (rev 02)

00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400]
(rev b2)

[cam@cam pctel-0.9.6]$ uname -r
2.4.21-0.13mdk

[cam@cam pctel-0.9.6]$ ./configure --with-hal=pct789
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is

sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes

checking build driver for... HAL_PCT789
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!

Last edited by cam34; 08-30-2003 at 01:02 AM.
 
Old 08-30-2003, 02:41 AM   #2
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
Download and install the kernel headers for that version (2.4.21-0.13mdk). They might be on the installation cd too. Once they are installed, you will be able to compile the modem driver.

Last edited by footfrisbee; 08-30-2003 at 02:46 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
Easy kernel RPM question. Corallis Fedora 1 07-27-2004 07:35 PM
quick easy kernel question Basslord1124 Linux - Newbie 2 07-06-2004 04:38 PM
easy kernel compile question bejiita Slackware 2 02-02-2004 11:16 AM
Quick NewB Ques on Kernel Updating dot hog Linux - Newbie 2 10-18-2003 04:50 PM
Upgrade Kernel the easy way ?? Hungnc Linux - Software 0 07-10-2001 07:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:35 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