LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-10-2005, 05:23 PM   #1
the_one2003a
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Rep: Reputation: 0
I get a missing modeversions.h in compiling the conexant hcf driver


Hi,
I just tried to compile a modem driver (hcf conexant driver 0.99 I know that new version exist but this one is free) and my linux kernel is 2.6.10

when I wanted to compile the driver it messages me :

WARNING: missing file /lib/modules/2.6.10/build/include/linux/modversions.h

I don't know how to make this include file I also used "make dep" before runnig "make" in compiling kernel but it didn't make any sense.

below is whole of the messages in compiling the driver source:



[root@localhost hcfpcimodem-0.99lnxtbeta03042700]# make install
make[1]: Entering directory `/root/Desktop/modem/SourceCodes/hcfpcimodem-0.99lnxtbeta03042700/inf'
install -m 644 hcf_linux.cty hcfv90_lan_linux.inf hcfv90_linux.inf hcfv92_linux.inf hcfv92_riptide_linux.inf /etc/hcfpci/inf
make[1]: Leaving directory `/root/Desktop/modem/SourceCodes/hcfpcimodem-0.99lnxtbeta03042700/inf'
make[1]: Entering directory `/root/Desktop/modem/SourceCodes/hcfpcimodem-0.99lnxtbeta03042700/scripts'
install -m 755 hcfpciconfig hcfpcistop /usr/sbin
make[1]: Leaving directory `/root/Desktop/modem/SourceCodes/hcfpcimodem-0.99lnxtbeta03042700/scripts'
make[1]: Entering directory `/root/Desktop/modem/SourceCodes/hcfpcimodem-0.99lnxtbeta03042700/modules'
rm -rf "/usr/lib/hcfpci/config.mak" "/usr/lib/hcfpci/imported" "/usr/lib/hcfpci/modules"
mkdir -m 755 -p /usr/lib/hcfpci/modules
prevsum=""; md5sum `find binaries -type f -print` </dev/null | sort | while read sum file ; do \
if [ "$sum" = "$prevsum" ] && cmp -s "$file" "$prevfile"; then \
rm -f "$file"; \
ln "$prevfile" "$file"; \
else \
prevsum="$sum"; \
prevfile="$file"; \
fi; \
done
(cd .. && find config.mak imported -depth -print | cpio -pdm /usr/lib/hcfpci)
2636 blocks
find . \( -name COPYING -o -name '*.sh' -o -name '*.[ch]' -o -name '*.mak' -o -name '[Mm]akefile' \) -print | cpio -pdm /usr/lib/hcfpci/modules
388 blocks
find binaries -depth -print | cpio -pdm /usr/lib/hcfpci/modules
0 blocks
make[1]: Leaving directory `/root/Desktop/modem/SourceCodes/hcfpcimodem-0.99lnxtbeta03042700/modules'
make: *** No rule to make target `LICENSE', needed by `install'. Stop.
[root@localhost hcfpcimodem-0.99lnxtbeta03042700]# hcfpciconfig
Linux HCF controllerless modem drivers, version 0.99lnxtbeta03042700

WARNING: this is an EXPERIMENTAL BETA VERSION of the HCF drivers for Linux.
USE AT YOUR OWN RISK! See the file /usr/lib/hcfpci/LICENSE for details.

Conexant Systems neither distributes nor maintains this package.
PLEASE DO NOT CONTACT CONEXANT REGARDING THIS SOFTWARE!!!

If you require assistance or need more information, go to:
h**p:// www linuxant com/drivers

When reporting a problem for the first time, please send
us the file generated by "hcfpciconfig --dumpdiag".
grep: /proc/ksyms: No such file or directory
/usr/sbin/hcfpciconfig: line 1298: [: too many arguments

Should we attempt to automatically configure your hardware? [yes]

Selected PCI VendorID=14F1 DeviceID=1056
and INF file /etc/hcfpci/inf/hcfv92_linux.inf

Supported countries:

ARGENTINA, AUSTRALIA, AUSTRIA, BELGIUM,
BRAZIL, BULGARIA, CANADA, CHILE, CHINA,
CROATIA, CZECH_REPUBLIC, DENMARK, FINLAND, FRANCE,
GERMANY, GREECE, HONG-KONG, HUNGARY, ICELAND,
INDIA, INDONESIA, IRELAND, ISRAEL, ITALY,
JAPAN, KOREA, LUXEMBOURG, MALAYSIA, MEXICO,
NETHERLANDS, NEW_ZEALAND, NORWAY, PHILIPPINES, POLAND,
PORTUGAL, RUSSIA, SINGAPORE, SLOVAKIA, SLOVENIA,
SOUTH_AFRICA, SPAIN, SWEDEN, SWITZERLAND, TAIWAN,
THAILAND, TURKEY, UK, UNITED_ARAB_EMIRATES, USA

Please enter your country name [USA]:

Configuring modem for country: "USA"
You can change this setting later with the command "hcfpciconfig --country"

This package does not contain pre-built modules suitable for your system:
Distribution: RedHat-3
Kernel arch: i686
Kernel version: linux-2.6.10

Trying to automatically re-compile the modules..
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.10/build]

WARNING: missing file /lib/modules/2.6.10/build/include/linux/modversions.h
The cause of this problem is usually a missing or misconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).

First, ensure that the proper kernel source and compiler packages
from your distribution vendor and/or the community are installed.

The Linux kernel can then be reconfigured by running "make menuconfig"
under the kernel source directory (usually /usr/src/linux).

Verify that the proper options for your system are selected,
and that CONFIG_SMP ("Symmetric multi-processing support" under
"Processor type and features") is disabled, as this driver is
presently designed to work on single-processor machines.

Then compile and install your new kernel (for more information about
this procedure, see the README file under the kernel source directory),
reboot the system using the new kernel, and re-run "hcfpciconfig".
[root@localhost hcfpcimodem-0.99lnxtbeta03042700]# make dep
make: *** No rule to make target `dep'. Stop.
[root@localhost hcfpcimodem-0.99lnxtbeta03042700]#
 
Old 03-11-2005, 10:41 AM   #2
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Re: I get a missing modeversions.h in compiling the conexant hcf driver

Quote:
Originally posted by the_one2003a
...Trying to automatically re-compile the modules..
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.10/build]

WARNING: missing file /lib/modules/2.6.10/build/include/linux/modversions.h
The cause of this problem is usually a missing or misconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).

First, ensure that the proper kernel source and compiler packages
from your distribution vendor and/or the community are installed.
There should be a package for your distro that has kernel sources. Once it is installed you should have a /usr/src/linux directory which includes /usr/src/linux/include/linux/modversions.h and everything else it needs to compile against the kernel.
 
Old 03-11-2005, 05:18 PM   #3
the_one2003a
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Original Poster
Rep: Reputation: 0
hmm

I think you didn't understand my question correctly

I have complete kernel 2.6.10 and source code and I compiled it completely and it works correctly but this message is show when the modem driver whants to recompile with kernel source code? (I have read that it works with kernel 2.4.x but perhaps it is deprecated or somthing like that) I want to make it how??
 
  


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
Conexant HCF Data/FAX Modem Driver |<GBS>|Gibson Linux - Hardware 3 09-10-2005 10:58 PM
Conexant HCF Modem on Fedora Core 3 require an old driver plz rajazeeshan Linux - Software 1 02-05-2005 05:34 PM
Conexant HCF Modem on Fedora Core 3 require an old driver plz rajazeeshan Linux - Hardware 2 02-05-2005 04:06 PM
Anyone have a Conexant HCF Driver? Linuxant is no longer free :-( slackerJoe Slackware 15 12-12-2004 02:09 AM
Final Steps for Conexant HCF modem's driver installation and dialup configuretion mobassir Linux - Hardware 3 10-17-2003 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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