compile problem in current BK 2.5

compile problem in current BK 2.5

Post by Larry McVo » Sun, 08 Dec 2002 07:30:07



FYI

make -f scripts/Makefile.build obj=drivers/block
  gcc -Wp,-MD,drivers/block/.nbd.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix include    -DKBUILD_BASENAME=nbd -DKBUILD_MODNAME=nbd   -c -o drivers/block/nbd.o drivers/block/nbd.c
In file included from drivers/block/nbd.c:56:
include/linux/nbd.h:87:2: #endif without #if
drivers/block/nbd.c:71: warning: `struct request' declared inside parameter list
drivers/block/nbd.c:71: warning: its scope is only this definition or declaration, which is probably not what you want.
drivers/block/nbd.c: In function `nbd_end_request':
drivers/block/nbd.c:73: dereferencing pointer to incomplete type
drivers/block/nbd.c:74: `request_queue_t' undeclared (first use in this function)
drivers/block/nbd.c:74: (Each undeclared identifier is reported only once
drivers/block/nbd.c:74: for each function it appears in.)
drivers/block/nbd.c:74: `q' undeclared (first use in this function)
drivers/block/nbd.c:74: dereferencing pointer to incomplete type
drivers/block/nbd.c:75: parse error before `struct'
drivers/block/nbd.c:82: `flags' undeclared (first use in this function)
drivers/block/nbd.c:83: `bio' undeclared (first use in this function)
drivers/block/nbd.c:83: dereferencing pointer to incomplete type
drivers/block/nbd.c:84: `nsect' undeclared (first use in this function)
drivers/block/nbd.c:85: warning: implicit declaration of function `blk_finished_io'
drivers/block/nbd.c:86: dereferencing pointer to incomplete type
drivers/block/nbd.c:90: warning: implicit declaration of function `blk_put_request'
drivers/block/nbd.c: In function `nbd_open':
drivers/block/nbd.c:96: dereferencing pointer to incomplete type
drivers/block/nbd.c: At top level:
drivers/block/nbd.c:176: warning: `struct request' declared inside parameter list
drivers/block/nbd.c: In function `nbd_send_req':
drivers/block/nbd.c:180: dereferencing pointer to incomplete type
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Compile fix for current 2.5 BK.

Hallo,

I need the patch below to make the scsi subsystem compile on
my machine. It's against a bk 2.5 snapshot of today.

Please apply,
Patrick

--- ./bk-2.5/include/scsi/scsi_ioctl.h  2002-10-13 15:07:52.000000000 +0200

        unsigned char host_wwn[8]; // include NULL term.
 } Scsi_FCTargAddress;

+extern int scsi_set_medium_removal(Scsi_Device *dev, char state);
 extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
 extern int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
 extern int scsi_ioctl_send_command(Scsi_Device *dev,
                                   Scsi_Ioctl_Command *arg);
-
 #endif

 #endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. simple boot disk

3. Compile fix for 2.5 BK current

4. gimp open error(help)

5. timer hang with current 2.5 BK

6. Kernel lost

7. fix 3c59x for current 2.5-bk

8. Aliases? HELP!!!

9. 2.5.xx (BK current) hangs executing rpcinfo

10. EHCI Kernel panic on current BK 2.5

11. 2.5 bk current ohci1394 breakage

12. DAC960 breakage, 2.5 bk current

13. AIC7xxx error messages with linux 2.5 BK-CURRENT