[hcflinux] Compilation failure with version 1.10full

Alex Lancaster alexl at users.sourceforge.net
Mon Mar 6 18:55:23 EST 2006


>>>>> "J" == Linuxant support (Jonathan)  writes:

J> Hi, the patch will be applied to the HCF PCI driver and not the
J> kernel, so you do not have to re-compile your kernel.

Thanks, I followed the instructions and downloaded the tar.gz file,
then did a "make install", followed by a

sudo /usr/sbin/hcfpciconfig --patch

which downloaded the swsusp2 patch, then it attempted to build the
kernel module, but again failed with a different error message (I have
attached the build log at the end of the e-mail):

 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: Fedora-4
 linux-2.6.13-1.1528_FC4_akl1_swsusp2 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.13-1.1528_FC4_akl1_swsusp2/build]
 
 Building modules for kernel 2.6.13-1.1528_FC4_akl1_swsusp2, using
 source directory
 /lib/modules/2.6.13-1.1528_FC4_akl1_swsusp2/build. Please wait...
 
 ERROR: Module build failed!
 Please examine the log file "/tmp/hcfpciconfig-buildlog.txt" to
 determine why.

J> According to the information you have provided for your other
J> modem, I can't confirm if it will be supported or not by the HSF
J> modem driver. The HSF modem driver only supports modems based on a
J> Conexant HSF chipset. If the modem is not based on a Conexant HSF
J> chipset, an error message stating so will be left in your 'dmesg'
J> after you have installed the right driver package for your system.

Thanks,
Alex

-------------- next part --------------
(cd /lib/modules/2.6.13-1.1528_FC4_akl1_swsusp2/build && make "CNXT_KERNELSRC=/lib/modules/2.6.13-1.1528_FC4_akl1_swsusp2/build" "M=/usr/lib/hcfpcimodem/modules" "CC=gcc" clean)
make[1]: Entering directory `/usr/src/kernels/2.6.13-1.1528_FC4_akl1_swsusp2-i686'
make[1]: Leaving directory `/usr/src/kernels/2.6.13-1.1528_FC4_akl1_swsusp2-i686'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions  /lib/modules/2.6.13-1.1528_FC4_akl1_swsusp2/build/.tmp_versions/hcfpciosspec.mod  /lib/modules/2.6.13-1.1528_FC4_akl1_swsusp2/build/.tmp_versions/hcfpciserial.mod  /lib/modules/2.6.13-1.1528_FC4_akl1_swsusp2/build/.tmp_versions/hcfpciengine.mod  /lib/modules/2.6.13-1.1528_FC4_akl1_swsusp2/build/.tmp_versions/hcfpcihw.mod
(cd /lib/modules/2.6.13-1.1528_FC4_akl1_swsusp2/build && make "CNXT_KERNELSRC=/lib/modules/2.6.13-1.1528_FC4_akl1_swsusp2/build" "M=/usr/lib/hcfpcimodem/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/kernels/2.6.13-1.1528_FC4_akl1_swsusp2-i686'
  CC [M]  /usr/lib/hcfpcimodem/modules/mod_engine.o
  CC [M]  /usr/lib/hcfpcimodem/modules/mod_hcfpci.o
  CC [M]  /usr/lib/hcfpcimodem/modules/mod_osspec.o
In file included from /usr/lib/hcfpcimodem/modules/mod_osspec.c:321:
/usr/lib/hcfpcimodem/modules/imported/include/testdebug.h:181:2: warning: #warning FILEIDNUM not defined
In file included from /usr/lib/hcfpcimodem/modules/mod_osspec.c:321:
/usr/lib/hcfpcimodem/modules/imported/include/testdebug.h:181:2: warning: #warning FILEIDNUM not defined
  CC [M]  /usr/lib/hcfpcimodem/modules/osservices.o
In file included from /usr/lib/hcfpcimodem/modules/osservices.c:21:
/usr/lib/hcfpcimodem/modules/imported/include/testdebug.h:181:2: warning: #warning FILEIDNUM not defined
/usr/lib/hcfpcimodem/modules/osservices.c:33:1: warning: "UINT8" redefined
In file included from /usr/lib/hcfpcimodem/modules/imported/include/osservices.h:92,
                 from /usr/lib/hcfpcimodem/modules/osservices.c:18:
/usr/lib/hcfpcimodem/modules/imported/include/typedefs.h:147:1: warning: this is the location of the previous definition
/usr/lib/hcfpcimodem/modules/osservices.c:35:1: warning: "UINT16" redefined
/usr/lib/hcfpcimodem/modules/imported/include/typedefs.h:144:1: warning: this is the location of the previous definition
/usr/lib/hcfpcimodem/modules/osservices.c:36:1: warning: "UINT32" redefined
/usr/lib/hcfpcimodem/modules/imported/include/typedefs.h:138:1: warning: this is the location of the previous definition
/usr/lib/hcfpcimodem/modules/osservices.c:37:1: warning: "INT32" redefined
/usr/lib/hcfpcimodem/modules/imported/include/typedefs.h:141:1: warning: this is the location of the previous definition
/usr/lib/hcfpcimodem/modules/osservices.c:355: error: syntax error before 'cnxthcf_OsAtomicAdd'
/usr/lib/hcfpcimodem/modules/osservices.c:355: error: syntax error before 'amount'
/usr/lib/hcfpcimodem/modules/osservices.c:356: warning: return type defaults to 'int'
/usr/lib/hcfpcimodem/modules/osservices.c: In function 'cnxthcf_OsAtomicAdd':
/usr/lib/hcfpcimodem/modules/osservices.c:356: error: number of arguments doesn't match prototype
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:136: error: prototype declaration
/usr/lib/hcfpcimodem/modules/osservices.c:358: error: 'address' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:358: error: (Each undeclared identifier is reported only once
/usr/lib/hcfpcimodem/modules/osservices.c:358: error: for each function it appears in.)
/usr/lib/hcfpcimodem/modules/osservices.c:361: error: 'amount' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:366: warning: control reaches end of non-void function
/usr/lib/hcfpcimodem/modules/osservices.c: At top level:
/usr/lib/hcfpcimodem/modules/osservices.c:369: error: syntax error before 'cnxthcf_OsAtomicIncrement'
/usr/lib/hcfpcimodem/modules/osservices.c:370: warning: return type defaults to 'int'
/usr/lib/hcfpcimodem/modules/osservices.c:370: error: conflicting types for 'cnxthcf_OsAtomicIncrement'
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:146: error: previous declaration of 'cnxthcf_OsAtomicIncrement' was here
/usr/lib/hcfpcimodem/modules/osservices.c: In function 'cnxthcf_OsAtomicIncrement':
/usr/lib/hcfpcimodem/modules/osservices.c:373: error: 'INT32' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:373: error: syntax error before 'amount'
/usr/lib/hcfpcimodem/modules/osservices.c:377: error: 'amount' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:381: warning: control reaches end of non-void function
/usr/lib/hcfpcimodem/modules/osservices.c: At top level:
/usr/lib/hcfpcimodem/modules/osservices.c:384: error: syntax error before 'cnxthcf_OsAtomicDecrement'
/usr/lib/hcfpcimodem/modules/osservices.c:385: warning: return type defaults to 'int'
/usr/lib/hcfpcimodem/modules/osservices.c:385: error: conflicting types for 'cnxthcf_OsAtomicDecrement'
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:156: error: previous declaration of 'cnxthcf_OsAtomicDecrement' was here
/usr/lib/hcfpcimodem/modules/osservices.c: In function 'cnxthcf_OsAtomicDecrement':
/usr/lib/hcfpcimodem/modules/osservices.c:388: error: 'INT32' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:388: error: syntax error before 'amount'
/usr/lib/hcfpcimodem/modules/osservices.c:392: error: 'amount' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:396: warning: control reaches end of non-void function
/usr/lib/hcfpcimodem/modules/osservices.c: At top level:
/usr/lib/hcfpcimodem/modules/osservices.c:822: error: syntax error before 'msecs'
/usr/lib/hcfpcimodem/modules/osservices.c:823: warning: function declaration isn't a prototype
/usr/lib/hcfpcimodem/modules/osservices.c: In function 'MSECS_TO_TICKS':
/usr/lib/hcfpcimodem/modules/osservices.c:824: error: 'msecs' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c: At top level:
/usr/lib/hcfpcimodem/modules/osservices.c:836: error: syntax error before 'UINT32'
/usr/lib/hcfpcimodem/modules/osservices.c:836: warning: no semicolon at end of struct or union
/usr/lib/hcfpcimodem/modules/osservices.c:837: warning: type defaults to 'int' in declaration of 'bLocked'
/usr/lib/hcfpcimodem/modules/osservices.c:837: warning: data definition has no type or storage class
/usr/lib/hcfpcimodem/modules/osservices.c:841: error: syntax error before '}' token
/usr/lib/hcfpcimodem/modules/osservices.c:841: warning: type defaults to 'int' in declaration of 'TIME_OUT_INSTANCE_T'
/usr/lib/hcfpcimodem/modules/osservices.c:841: warning: type defaults to 'int' in declaration of 'PTIME_OUT_INSTANCE_T'
/usr/lib/hcfpcimodem/modules/osservices.c:841: warning: data definition has no type or storage class
/usr/lib/hcfpcimodem/modules/osservices.c: In function 'TimerThreadFunction':
/usr/lib/hcfpcimodem/modules/osservices.c:852: error: syntax error before 'pTimeOutInstance'
/usr/lib/hcfpcimodem/modules/osservices.c:854: error: 'pTimeOutInstance' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c: In function 'TimeOutHandler':
/usr/lib/hcfpcimodem/modules/osservices.c:874: error: syntax error before 'pTimeOutInstance'
/usr/lib/hcfpcimodem/modules/osservices.c:876: error: 'pTimeOutInstance' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c: At top level:
/usr/lib/hcfpcimodem/modules/osservices.c:887: error: syntax error before 'ntimers'
/usr/lib/hcfpcimodem/modules/osservices.c:887: warning: type defaults to 'int' in declaration of 'ntimers'
/usr/lib/hcfpcimodem/modules/osservices.c:887: warning: data definition has no type or storage class
/usr/lib/hcfpcimodem/modules/osservices.c:890: error: syntax error before 'InitialTimeOut'
/usr/lib/hcfpcimodem/modules/osservices.c: In function 'cnxthcf_OsCreatePeriodicTimer':
/usr/lib/hcfpcimodem/modules/osservices.c:893: error: number of arguments doesn't match prototype
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:530: error: prototype declaration
/usr/lib/hcfpcimodem/modules/osservices.c:894: error: syntax error before 'pTimeOutInstance'
/usr/lib/hcfpcimodem/modules/osservices.c:897: error: 'pTimeOutInstance' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:897: error: 'pFuncAlloc' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:897: warning: implicit declaration of function 'pFuncAlloc'
/usr/lib/hcfpcimodem/modules/osservices.c:899: error: 'UINT32' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:899: error: syntax error before 'dwTime'
/usr/lib/hcfpcimodem/modules/osservices.c:899: error: 'dwTime' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:909: error: 'InitialTimeOut' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:943: error: 'pThreadId' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:948: warning: control reaches end of non-void function
/usr/lib/hcfpcimodem/modules/osservices.c: In function 'cnxthcf_OsDestroyPeriodicTimer':
/usr/lib/hcfpcimodem/modules/osservices.c:953: error: syntax error before 'pTimeOutInstance'
/usr/lib/hcfpcimodem/modules/osservices.c:956: error: 'pTimeOutInstance' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:957: error: 'UINT32' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:957: error: syntax error before 'dwTime'
/usr/lib/hcfpcimodem/modules/osservices.c:957: error: 'dwTime' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c: At top level:
/usr/lib/hcfpcimodem/modules/osservices.c:998: error: syntax error before 'UINT32'
/usr/lib/hcfpcimodem/modules/osservices.c: In function 'cnxthcf_OsSetPeriodicTimer':
/usr/lib/hcfpcimodem/modules/osservices.c:999: error: number of arguments doesn't match prototype
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:556: error: prototype declaration
/usr/lib/hcfpcimodem/modules/osservices.c:1000: error: syntax error before 'pTimeOutInstance'
/usr/lib/hcfpcimodem/modules/osservices.c:1002: error: 'pTimeOutInstance' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:1003: error: 'UINT32' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:1003: error: syntax error before 'dwTime'
/usr/lib/hcfpcimodem/modules/osservices.c:1003: error: 'dwTime' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:1007: error: 'NewTimeOut' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:1021: warning: control reaches end of non-void function
/usr/lib/hcfpcimodem/modules/osservices.c: In function 'cnxthcf_OsImmediateTimeOut':
/usr/lib/hcfpcimodem/modules/osservices.c:1026: error: syntax error before 'pTimeOutInstance'
/usr/lib/hcfpcimodem/modules/osservices.c:1028: error: 'pTimeOutInstance' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c: At top level:
/usr/lib/hcfpcimodem/modules/osservices.c:1034: error: syntax error before 'cnxthcf_OsGetSystemTime'
/usr/lib/hcfpcimodem/modules/osservices.c:1035: warning: return type defaults to 'int'
/usr/lib/hcfpcimodem/modules/osservices.c:1035: error: conflicting types for 'cnxthcf_OsGetSystemTime'
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:445: error: previous declaration of 'cnxthcf_OsGetSystemTime' was here
/usr/lib/hcfpcimodem/modules/osservices.c:1044: error: syntax error before 'ms'
/usr/lib/hcfpcimodem/modules/osservices.c: In function 'cnxthcf_OsSleep':
/usr/lib/hcfpcimodem/modules/osservices.c:1045: error: number of arguments doesn't match prototype
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:456: error: prototype declaration
/usr/lib/hcfpcimodem/modules/osservices.c:1049: error: 'ms' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:1050: error: 'UINT32' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:1050: error: syntax error before 'start'
/usr/lib/hcfpcimodem/modules/osservices.c:1066: error: 'start' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:1070: error: 'end' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c: At top level:
/usr/lib/hcfpcimodem/modules/osservices.c:1487: error: syntax error before 'UINT32'
/usr/lib/hcfpcimodem/modules/osservices.c: In function 'cnxthcf_OsEventWaitTime':
/usr/lib/hcfpcimodem/modules/osservices.c:1488: error: number of arguments doesn't match prototype
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:750: error: prototype declaration
/usr/lib/hcfpcimodem/modules/osservices.c:1489: error: 'hEvent' undeclared (first use in this function)
/usr/lib/hcfpcimodem/modules/osservices.c:1492: error: 'timeout' undeclared (first use in this function)
make[2]: *** [/usr/lib/hcfpcimodem/modules/osservices.o] Error 1
make[1]: *** [_module_/usr/lib/hcfpcimodem/modules] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.13-1.1528_FC4_akl1_swsusp2-i686'
make: *** [all] Error 2


More information about the hcflinux mailing list