[hcflinux] Debian sarge/sid hcfpci install. Self-inflicted wounds. Ow.

Larry McCarthy LarryMcCarthy at SpamCop.net
Fri Aug 13 22:19:38 EDT 2004


I trudged through the archives, but didn't see this - please refer me if I
missed it. But probably hardly anybody else is this stoopid. :\

With Debian mixed testing/unstable, custom 2.6.3 kernel...

A while back, I installed the (licensed) hcfpcimodem on my Debian mixed
testing/unstable system (Athlon XP 2400). Got Hylafax working and everything.
(Hylafax was a pus-filled PITA to get working, but the driver was fine, thanks
:). Then, I had to build another custom kernel (2.6.3) for Win4Lin. Of course,
the modem stopped working, but I didn't need it, so never quite got back to it.

Today, I needed to send a fax, so decided to try and get hcfpci working again.
First, I tried to re-install the driver (# dpkg -i), but that failed. Then, I
lost the error message from that failed install. D'Oh! But I suspected the
problem was the half-installed state the driver was in. OK, so I dpkg -r'ed it.
That seemed to work; at least it didn't give any errors.

Then, I:

# dpkg -i hcfpcimodem_1.00lnxt04011900full_i386.deb

it says:
Setting up hcfpcimodem (1.00lnxt04011900full) ...
Conexant HCF controllerless PCI modem driver, version 1.00lnxt04011900full

If you need license keys, assistance or more information, please go to:

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

No pre-built modules for: Debian-3.1 linux-2.6.3.w4l040310 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?

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

Building modules for kernel 2.6.3, using source directory
/lib/modules/2.6.3.w4l040310/build. Please wait...

ERROR: Module build failed!
Please examine the log file "/tmp/hcfpciconfig-buildlog.txt" to determine why.
dpkg: error processing hcfpcimodem (--configure):
 subprocess post-installation script returned error exit status 1
/tmp/hcfpciconfig-buildlog.txt says:
rm -f *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd 
(cd /lib/modules/2.6.3.w4l040310/build && make
"SUBDIRS+=/usr/lib/hcfpcimodem/modules" "SUBDIRS+=/usr/lib/hcfpcimodem/modules"
make[1]: Entering directory `/usr/src/kernel-source-2.6.3'
Makefile:558: target `/usr/lib/hcfpcimodem/modules' given more than once in the
same rule.
  HOSTCC  scripts/fixdep
/usr/bin/ld: unrecognized option '--as-needed'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[2]: *** [scripts/fixdep] Error 1
make[1]: *** [scripts] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.3'
make: *** [all] Error 2

I'm afraid I'm a bit of a noob... Any suggestions?


More information about the hcflinux mailing list