Skip to contentSkip to conversation

linux 2.4.7: DAC960.c no longer builds

DISCUSSION Jan Just Keijser 2 participants 2 messages Jul 23, 2001

lore
Share & tools
lore
#0 lore raw

Hi all,

just grabbed the linux 2.4.7 sources and started compiling; it barfs on the DAC960.c module (which I need, actually):

gcc -D__KERNEL__ -I/local/janjust/src/linux-2.4.7/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -march=i686 -DMODULE -DMODVERSIONS -include /local/janjust/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

This member has indeed been removed from
$TOPDIR/include/linux/blkdev.h...

JJK / Jan Just Keijser
Cisco Systems Inc

#1 lore raw
Quoted 16 lines · Jan Just Keijser

Hi all,

just grabbed the linux 2.4.7 sources and started compiling; it barfs on the DAC960.c module (which I need, actually):

gcc -D__KERNEL__ -I/local/janjust/src/linux-2.4.7/include -Wall

(quoted diff) +0 -3
-Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe  -march=i686
-DMODULE -DMODVERSIONS -include

/local/janjust/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

Quoted 2 lines

This member has indeed been removed from
$TOPDIR/include/linux/blkdev.h...

See archive, I posted a patch to fix this.

Signature · 1 line
Jens Axboe