2001-12-02 14:46:24

by Kilobug

[permalink] [raw]
Subject: 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.c
ide-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'

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


2001-12-02 16:54:36

by Bruce Harada

[permalink] [raw]
Subject: Re: linux-2.5.1-pre5 failed to compile (module ide-tape.c)

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
> -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.c
drivers/scsi/scsi_debug.c
drivers/ide/icside.c
drivers/ide/ide-pmac.c
drivers/ide/ide-tape.c
drivers/s390/block/dasd_diag.c
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_fba.c
drivers/s390/char/tape34xx.c
drivers/s390/char/tapeblock.c
drivers/md/raid5.c
arch/cris/drivers/ide.c

And most likely the following as well:

include/linux/elevator.h
drivers/ide/hptraid.c
drivers/ide/pdcraid.c
drivers/ide/ataraid.c
drivers/md/raid1.c
drivers/md/multipath.c


Bruce