2001-07-29 12:41:07

by Peter Gordon

[permalink] [raw]
Subject: Linux 2.4.7 DAC960.c won't compile

[1.] Kernel 2.4.7 won't compile on a Compaq ML370 Proliant
[2.] I am running RedHat 7.1 and am trying to compile the modules for
kernel 2.4.7. The computer has 2 cpus and 4GB memory.

Here is the error message

make[2]: Entering directory `/usr/src/linux-2.4.7/drivers/block'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.7/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.7/include/linux/modversions.h -DEXPORT_SYMTAB -c
DAC960.c
DAC960.c: In function `DAC960_ProcessRequest':
DAC960.c:2771: structure has no member named `sem'
make[2]: *** [DAC960.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.7/drivers/block'
make[1]: *** [_modsubdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.7/drivers'
make: *** [_mod_drivers] Error 2



Peter

--
Peter Gordon
Tel: (972) 8 9432430 Ext: 129 Cell phone: 054 438029 Fax: (972) 8
9432429
Valor Ltd, PO Box 152, Yavne 70600, Israel Email: [email protected]


2001-07-29 16:49:42

by Jeff Garzik

[permalink] [raw]
Subject: Re: Linux 2.4.7 DAC960.c won't compile

This was fixed by Jens in 2.4.8-pre2.
--
Jeff Garzik | "Mind if I drive?" -Sam
Building 1024 | "Not if you don't mind me clawing at the dash
MandrakeSoft | and shrieking like a cheerleader." -Max