Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173561 - net-dialup/hcfpcimodem-1.10-r2 - hcfpciconfig fails to build modules
Summary: net-dialup/hcfpcimodem-1.10-r2 - hcfpciconfig fails to build modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-06 13:02 UTC by MickKi
Modified: 2007-04-11 19:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
hcfpciconfig log file (hcfpciconfig-buildlog.txt,1.86 KB, text/plain)
2007-04-06 13:04 UTC, MickKi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MickKi 2007-04-06 13:02:37 UTC
hcfpciconfig fails because of an incorrect kernel source path - however the path looks sound to me.

# uname -r
2.6.19-gentoo-r5

# ls -la /lib/modules/2.6.19-gentoo-r5/build
lrwxrwxrwx 1 root root 31 Apr  6 08:59 /lib/modules/2.6.19-gentoo-r5/build -> /usr/src/linux-2.6.19-gentoo-r5

# ls -la /usr/src/     
total 7
drwxr-xr-x  4 root root  200 Apr  6 08:15 .
drwxr-xr-x 18 root root  576 Oct 18 23:41 ..
-rw-r--r--  1 root root    0 Dec  4  2005 .keep
lrwxrwxrwx  1 root root   22 Apr  6 08:06 linux -> linux-2.6.19-gentoo-r5
drwxr-xr-x 20 root root 1424 Sep 24  2006 linux-2.6.17-gentoo-r8
drwxr-xr-x 20 root root 1328 Apr  6 12:17 linux-2.6.19-gentoo-r5


Reproducible: Always

Steps to Reproduce:
1. emerge net-dialup/hcfpcimodem-1.10-r2
2. run hcfpciconfig
3. error as reported below

Actual Results:  
# hcfpciconfig 
Conexant HCF controllerless PCI modem driver, version 1.10full

If you need license keys, assistance or more information, please go to:
        http://www.linuxant.com/

When reporting a problem for the first time, please send
us the file generated by "hcfpciconfig --dumpdiag".

No pre-built modules for: unknown-unknown linux-2.6.19-gentoo-r5 i686

Trying to automatically build the driver 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.19-gentoo-r5/build] 

WARNING: the kernel version () defined in
/lib/modules/2.6.19-gentoo-r5/build/include/linux/version.h
does not match the currently running kernel (2.6.19-gentoo-r5)
The cause of this problem is an incorrect kernel source path.
Please check that /lib/modules/2.6.19-gentoo-r5/build points to the right tree.
The cause of this is usually a missing or unconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).

Building modules for kernel , using source directory
/lib/modules/2.6.19-gentoo-r5/build. Please wait...

ERROR: Module build failed!
Please examine the log file "/tmp/hcfpciconfig-buildlog.txt" to determine why.


Please see attached /tmp/hcfpciconfig-buildlog.txt
Comment 1 MickKi 2007-04-06 13:04:34 UTC
Created attachment 115568 [details]
hcfpciconfig log file

log file with error from hcfpciconfig attached.
--
Regards,
Mick
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2007-04-10 00:41:45 UTC
Fixed in net-dialup/hcfpcimodem-1.12-r1, commited with x86 keyword.
Comment 3 MickKi 2007-04-11 19:59:42 UTC
Thanks!  It works fine now.  :)
-- 
Regards,
Mick