[hcflinux] Error: hcfpciconfig on RedHat kernel 2.4.20-2.54

scytale at eircom.net scytale at eircom.net
Mon Mar 24 20:00:53 EST 2003


On Mon, Mar 24, 2003 at 10:44:10AM +0100, David Weenink wrote:
> Hello members of the list,
> 
> I'm running Redhat kernel 2.4.20-2.54 and hcfpciconfig returns the following 
> error:
> .....
> 
> This package does not contain pre-built modules suitable for your system:
>   Distribution: RedHat-8.0.94
>   Kernel arch: i686
>   Kernel version: linux-2.4.20-2.54

what version of gcc is being used?
afaik rh 8.0 comes with both gcc 2.95.x and 3.1.x installed 
and uses the 3.1.x version by default 
so from the command line gcc = gcc 3.x
and gcc_2.95 (or something similar) gets you the old one
gcc 3.x is a much stricter compiler than the older versions
try editing /usr/lib/hcfpci/modules/common.mak
there is a line in there that defines the CC variable
change that to whatever points to the older version of gcc 
on your system, and see if that helps

> 
> ....
> * compiling (gcc) osservices.c
> In file included from osservices.c:54:
> ../../modules/osspec/include/oscompat.h:274:5: warning: multi-line string 
> literals are deprecated
> ../../modules/osspec/include/oscompat.h:287:34: warning: multi-line string 
> literals are deprecated
> ../../modules/osspec/include/oscompat.h:288:32: warning: multi-line string 
> literals are deprecated
> ../../modules/osspec/include/oscompat.h:290:24: warning: multi-line string 
> literals are deprecated
> ../../modules/osspec/include/oscompat.h:312:38: warning: multi-line string 
> literals are deprecated
> osservices.c: In function `cnxthcf_mdmthrd':
> osservices.c:397: structure has no member named `sigmask_lock'
> osservices.c:402: structure has no member named `sig'
> osservices.c:412: too many arguments to function `recalc_sigpending_Rfb6af58d'
> osservices.c:430: structure has no member named `sigmask_lock'
> osservices.c:433: too many arguments to function `recalc_sigpending_Rfb6af58d'
> make[1]: *** [osservices.o] Error 1
> make[1]: *** [osservices.o] Error 1
> make[1]: Leaving directory `/usr/lib/hcfpci/modules/osspec'
> make: *** [osspec] Error 2
> 
> Please help??
> 
> Greetings,
> David
> -- 
> David Weenink,



More information about the hcflinux mailing list