[Nottingham] hcfpciconfig problem under Mandrake 9.2

James Gibbon james.gibbon at virgin.net
Wed Nov 26 01:45:06 GMT 2003


Hello all,

I'm attempting to compile hcfpcimodem-0.99mbsibeta02123100 for my laptop,
under Mandrake 9.2.  I've installed kernel-2.4.22.21mdk-1-1mdk.i586.rpm
and kernel-source-2.4.22-21mdk.i586.rpm, the latter providing, I believe
(but correct me if I'm wrong) the required 'kernel headers'.

However, the compile bombs out at the hcfpciconfig stage with:

  Re-compiling HCF modules for kernel 2.4.22-21mdk, using source directory
  
  /lib/modules/2.4.22-21mdk/build. Please wait..
  
  
  ERROR: Module re-compilation and installation failed!
  
  Please examine the log file '/tmp/hcfpciconfig-buildlog.txt' to determine why.



Here's the /tmp/hcfpciconfig-buildlog.txt logfile:

  rm -f *.o *.a
  
  make[1]: Entering directory `/usr/lib/hcfpci/modules/osspec'
  
  rm -f *.o *.a
  
  make[1]: Leaving directory `/usr/lib/hcfpci/modules/osspec'
  
  * compiling (gcc) mod_osspec.c
  
  In file included from mod_osspec.c:51:
  
  ../modules/osspec/include/oscompat.h:274:5: missing terminating " character
  
  ../modules/osspec/include/oscompat.h:320:1: missing terminating " character
  
  make: *** [mod_osspec.o] Error 1


As 
for the two lines in oscompat.h which seem to be causing the
problem:

line 274 is

asm("

line 320 is

"); 

.. they seem to enclose a chunk of assembler code.

Any clues or suggestions, anyone?

Thanks
James




More information about the Nottingham mailing list