linux-2.5.1-pre5 failed to compile (module ide-tape.c)
While doing 'make modules':
gcc -D__KERNEL__ -I/usr/src/linux-2.5.1-pre5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -c -o ide-tape.o ide-tape.cide-tape.c: In function `idetape_input_buffers':
ide-tape.c:1512: structure has no member named b_reqnext' ide-tape.c: In function idetape_output_buffers':
ide-tape.c:1538: structure has no member named b_reqnext' ide-tape.c: In function idetape_update_buffers':
ide-tape.c:1565: structure has no member named b_reqnext' ide-tape.c: In function idetape_active_next_stage':
ide-tape.c:1738: structure has no member named `bh'ide-tape.c: In function `__idetape_kfree_stage':
ide-tape.c:1785: structure has no member named b_reqnext' ide-tape.c: In function idetape_create_read_cmd':
ide-tape.c:2538: structure has no member named b_reqnext' ide-tape.c: In function idetape_create_read_buffer_cmd':
ide-tape.c:2570: structure has no member named b_reqnext' ide-tape.c: In function idetape_create_write_cmd':
ide-tape.c:2587: structure has no member named b_reqnext' ide-tape.c: In function idetape_do_request':
ide-tape.c:2621: warning: long int format, unsigned int arg (arg 4) ide-tape.c:2745: structure has no member named bh' ide-tape.c:2762: structure has no member named bh' ide-tape.c:2767: structure has no member named `bh'ide-tape.c: In function `__idetape_kmalloc_stage':
ide-tape.c:2834: structure has no member named b_reqnext' ide-tape.c:2866: structure has no member named b_reqnext' ide-tape.c:2871: structure has no member named b_reqnext' ide-tape.c: In function idetape_copy_stage_from_user':
ide-tape.c:2920: structure has no member named b_reqnext' ide-tape.c: In function idetape_copy_stage_to_user':
ide-tape.c:2947: structure has no member named b_reqnext' ide-tape.c: In function idetape_queue_rw_tail':
ide-tape.c:3448: structure has no member named `bh'ide-tape.c: In function `idetape_verify_stage':
ide-tape.c:3656: structure has no member named b_reqnext' ide-tape.c: In function idetape_empty_write_pipeline':
ide-tape.c:3861: structure has no member named b_reqnext' ide-tape.c:3864: structure has no member named b_reqnext' ide-tape.c:3876: structure has no member named b_reqnext' ide-tape.c:3844: warning: bh' might be used uninitialized in this function ide-tape.c: In function `idetape_pad_zeros':
ide-tape.c:4150: structure has no member named `b_reqnext'
Signature · 6 lines
** Gael Le Mignot, Ing3 EPITA, Coder of The Kilobug Team ** Home Mail : [email protected] Work Mail : [email protected] GSM : 06.71.47.18.22 (in France) ICQ UIN : 7299959 Web : http://kilobug.freesurf.fr or http://drizzt.dyndns.org "Software is like sex it's better when it's free.", Linus Torvalds
Quoted 8 lines · On Sun, 02 Dec 2001 15:46:10 +0100 Kilobug <[email protected]> wrote:
While doing 'make modules':
gcc -D__KERNEL__ -I/usr/src/linux-2.5.1-pre5/include -Wall
(quoted diff) +0
-3-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -c -o ide-tape.o ide-tape.c
ide-tape.c: In function `idetape_input_buffers':
ide-tape.c:1512: structure has no member named `b_reqnext'
[SNIP]
This is caused by the block I/O changes going into 2.5. Unfortunately, ATM it looks like they break at least the following:
drivers/block/acsi.cdrivers/scsi/scsi_debug.cdrivers/ide/icside.cdrivers/ide/ide-pmac.cdrivers/ide/ide-tape.cdrivers/s390/block/dasd_diag.cdrivers/s390/block/dasd_eckd.cdrivers/s390/block/dasd_fba.cdrivers/s390/char/tape34xx.cdrivers/s390/char/tapeblock.cdrivers/md/raid5.carch/cris/drivers/ide.c
And most likely the following as well:
include/linux/elevator.hdrivers/ide/hptraid.cdrivers/ide/pdcraid.cdrivers/ide/ataraid.cdrivers/md/raid1.cdrivers/md/multipath.c
Bruce