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

David Weenink dweenink at xs4all.nl
Mon Mar 24 22:04:27 EST 2003


On Monday 24 March 2003 21:00, scytale at eircom.net wrote:
> 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

No, this is not a compiler issue. This is about a data-structure that has 
changed. There simply is no 'sigmask_lock' field in the "struct task_struct" 
data-structure. Some code needs to be rewritten.

Greetings,
David



> > ....
> > * 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,

-- 
David Weenink,
Sloterweg 1229-B, 1066 CH Amsterdam, The Netherlands.
phone: +31-20-6140526
email: dweenink at xs4all.nl




More information about the hcflinux mailing list