[hcflinux] Compilation failure with version 1.10full
Alex Lancaster
alexl at users.sourceforge.net
Sat Mar 4 19:13:31 EST 2006
Hi,
Because I am using a custom kernel on Fedora Core 4 (FC-4), I am
attempting to install from the source RPM which automatically rebuilds
the driver, I downloaded the latest, 1.10full from here:
http://www.linuxant.com/drivers/hcf/full/archive/hcfpcimodem-1.10full/hcfpcimodem-1.10full-1.i386.rpm.zip
But upon installation it failed to build (build log attached), I have
the appropriate matching kernel-devel installed so the kernel headers
for my version are installed.
My kernel version is:
kernel-2.6.13-1.1528_FC4_akl1_swsusp2
a slightly customised version of the base Fedora Core kernel:
kernel-2.6.13-1.1528_FC4
What's going wrong?
Thank,
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
In file included from include/acpi/acpi.h:55,
from include/acpi/acpi_bus.h:31,
from include/linux/suspend2.h:7,
from include/linux/suspend.h:12,
from /usr/lib/hcfpcimodem/modules/osservices.c:32:
include/acpi/actypes.h:172: error: duplicate 'unsigned'
include/acpi/actypes.h:172: error: two or more data types in declaration specifiers
include/acpi/actypes.h:172: warning: useless type name in empty declaration
include/acpi/actypes.h:173: error: conflicting types for 'BOOL'
/usr/lib/hcfpcimodem/modules/imported/include/typedefs.h:101: error: previous declaration of 'BOOL' was here
include/acpi/actypes.h:174: error: duplicate 'unsigned'
include/acpi/actypes.h:174: error: duplicate 'short'
include/acpi/actypes.h:174: warning: useless type name in empty declaration
include/acpi/actypes.h:175: error: two or more data types in declaration specifiers
include/acpi/actypes.h:175: warning: useless type name in empty declaration
include/acpi/actypes.h:176: error: duplicate 'unsigned'
include/acpi/actypes.h:176: error: two or more data types in declaration specifiers
include/acpi/actypes.h:176: warning: useless type name in empty declaration
/usr/lib/hcfpcimodem/modules/osservices.c:236: error: conflicting types for 'cnxthcf_OsLockTry'
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:281: error: previous declaration of 'cnxthcf_OsLockTry' was here
/usr/lib/hcfpcimodem/modules/osservices.c:282: error: conflicting types for 'cnxthcf_OsAtomicCompareAndSwapEx'
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:122: error: previous declaration of 'cnxthcf_OsAtomicCompareAndSwapEx' was here
/usr/lib/hcfpcimodem/modules/osservices.c:626: error: conflicting types for 'cnxthcf_OsThreadCreate'
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:918: error: previous declaration of 'cnxthcf_OsThreadCreate' was here
/usr/lib/hcfpcimodem/modules/osservices.c:986: error: conflicting types for 'cnxthcf_OsSetPeriodicTimer'
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:556: error: previous declaration of 'cnxthcf_OsSetPeriodicTimer' was here
/usr/lib/hcfpcimodem/modules/osservices.c:1252: error: conflicting types for 'cnxthcf_OsRawVPrintf'
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:823: error: previous declaration of 'cnxthcf_OsRawVPrintf' was here
/usr/lib/hcfpcimodem/modules/osservices.c:1630: error: conflicting types for 'cnxthcf_OsKernelUsesRegParm'
/usr/lib/hcfpcimodem/modules/imported/include/osservices.h:945: error: previous declaration of 'cnxthcf_OsKernelUsesRegParm' was here
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