Skip to contentSkip to conversation

Problems compiling 2.4.7 with DAC960

DISCUSSION Arnvid Karstad 2 participants 2 messages Jul 30, 2001

lore
Share & tools
lore
#0 lore raw

Hiya,

I can't seem to be getting 2.4.7 to compile on one of our boxes. I get this error:

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 -DEXPORT_SYMTAB -c DAC960.c
DAC960.c: In function `DAC960_ProcessRequest':
DAC960.c:2771: structure has no member named `sem' make[3]: *** [DAC960.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.7/drivers/block' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.7/drivers/block' make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.7/drivers'
make: *** [_dir_drivers] Error 2
[root@x linux]#

I get the same error when trying to compile it as a module.. Is it broken, or is something else broken?

regards,

Arnvid Karstad

#1 lore raw
Quoted 17 lines · Arnvid Karstad

Hiya,

I can't seem to be getting 2.4.7 to compile on one of our boxes. I get this error:

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 -DEXPORT_SYMTAB -c DAC960.c
DAC960.c: In function `DAC960_ProcessRequest':
DAC960.c:2771: structure has no member named `sem' make[3]: *** [DAC960.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.7/drivers/block' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.7/drivers/block' make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.7/drivers'
make: *** [_dir_drivers] Error 2
[root@x linux]#

Quoted 2 lines

I get the same error when trying to compile it as a module.. Is it broken, or is something else broken?

General hint: search the archives before posting, maybe someone else already did and someone just might have posted a fix. This subject has come up several times now :-)

But -> get 2.4.8-pre2, it includes updates to DAC960 to make it work with the new completion interface.

Signature · 1 line
Jens Axboe