[hcflinux] HCF & suspend2
Christopher Covington
covracer at gmail.com
Sat Apr 29 14:42:57 EDT 2006
Hi, I'm trying to outfit a somewhat ancient compaq presario 1400 which
has an onboard Connexant HCF 56k modem/ethernet card. My distro is
Gentoo and my kernel sources are the beyond patchset, version 3:
http://iphitus.loudas.com/beyond.html. After the same initial problem
as Alex Lancaster
<http://www.linuxant.com/pipermail/hcflinux/2006q1/001295.html> I
filed a bugreport on Gentoo's bugzilla
<http://bugs.gentoo.org/show_bug.cgi?id=131682>. I edited the ebuild
to apply the suspend2 patch when using my sources, (the ebuild in
Portage only knows how to deal with the officially supported
suspend2-sources). After applying the patch, I got the exact same
error as Mr. Lancaster did after he applied the patch
<http://www.linuxant.com/pipermail/hcflinux/2006q1/001299.html>. I
tried removing every trace of hcfpcimodem (as it is called on Gentoo)
from my system and reinstalling it, but to no avail. I'm pasting my
emerge --info and hcfpciconfig-buildlog.txt for completeness (and so
that people in the situation I was in can find this problem in the
mailing list archives through google). I'm attatching my hcfpciconfig
-d and emerge --info.
Makefile:20: *** WARNING: Trying to compile kernel modules on a
unknown system while the installed hcfpci driver package is for i386,
this is likely to fail... ***
(cd /lib/modules/2.6.16-beyond3/build && make
"CNXT_KERNELSRC=/lib/modules/2.6.16-beyond3/build"
"M=/usr/lib/hcfpcimodem/modules" "CC=gcc" clean)
make[1]: Entering directory `/usr/src/linux-2.6.16-beyond3'
/usr/lib/hcfpcimodem/modules/Makefile:20: *** WARNING: Trying to
compile kernel modules on a unknown system while the installed hcfpci
driver package is for i386, this is likely to fail... ***
make[1]: Leaving directory `/usr/src/linux-2.6.16-beyond3'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd
.tmp_versions .tmp_versions
/lib/modules/2.6.16-beyond3/build/.tmp_versions/hcfpciosspec.mod
/lib/modules/2.6.16-beyond3/build/.tmp_versions/hcfpciserial.mod
/lib/modules/2.6.16-beyond3/build/.tmp_versions/hcfpciengine.mod
/lib/modules/2.6.16-beyond3/build/.tmp_versions/hcfpcihw.mod
(cd /lib/modules/2.6.16-beyond3/build && make
"CNXT_KERNELSRC=/lib/modules/2.6.16-beyond3/build"
"M=/usr/lib/hcfpcimodem/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/linux-2.6.16-beyond3'
/usr/lib/hcfpcimodem/modules/Makefile:20: *** WARNING: Trying to
compile kernel modules on a unknown system while the installed hcfpci
driver package is for i386, this is likely to fail... ***
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
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: 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: 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: 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: 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: 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: 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: 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: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/linux-2.6.16-beyond3'
make: *** [all] Error 2
-------------- next part --------------
Makefile:20: *** WARNING: Trying to compile kernel modules on a unknown system while the installed hcfpci driver package is for i386, this is likely to fail... ***
(cd /lib/modules/2.6.16-beyond3/build && make "CNXT_KERNELSRC=/lib/modules/2.6.16-beyond3/build" "M=/usr/lib/hcfpcimodem/modules" "CC=gcc" clean)
make[1]: Entering directory `/usr/src/linux-2.6.16-beyond3'
/usr/lib/hcfpcimodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a unknown system while the installed hcfpci driver package is for i386, this is likely to fail... ***
make[1]: Leaving directory `/usr/src/linux-2.6.16-beyond3'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions /lib/modules/2.6.16-beyond3/build/.tmp_versions/hcfpciosspec.mod /lib/modules/2.6.16-beyond3/build/.tmp_versions/hcfpciserial.mod /lib/modules/2.6.16-beyond3/build/.tmp_versions/hcfpciengine.mod /lib/modules/2.6.16-beyond3/build/.tmp_versions/hcfpcihw.mod
(cd /lib/modules/2.6.16-beyond3/build && make "CNXT_KERNELSRC=/lib/modules/2.6.16-beyond3/build" "M=/usr/lib/hcfpcimodem/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/linux-2.6.16-beyond3'
/usr/lib/hcfpcimodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a unknown system while the installed hcfpci driver package is for i386, this is likely to fail... ***
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
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: 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: 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: 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: 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: 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: 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: 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: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/linux-2.6.16-beyond3'
make: *** [all] Error 2
-------------- next part --------------
Gentoo Base System version 1.12.0_pre18
Portage 2.1_pre9-r5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-beyond3 i686)
=================================================================
System uname: 2.6.16-beyond3 i686 Celeron (Coppermine)
dev-lang/python: 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium3 -march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=pentium3 -march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 aac aalib alsa apache2 apm avi berkdb bitmap-fonts bzip2 cdparanoia cli crypt cups directfb dri dvd dvdread eds emboss encode esd fbcon flac foomaticdb fortran ftp gcj gdbm gif gpm gstreamer gtk2 idn imlib ipv6 isdnlog javascript jpeg libcaca libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly offensive ogg oss pam pcmcia pcre pdflib perl png pppd python quicktime readline reflection ruby samba sdl session speex spell spl sse ssl symlink syslog tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode vorbis wmf xml xmms xorg zlib elibc_glibc kernel_linux linguas_en userland_GNU"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
More information about the hcflinux
mailing list