2001-04-12 06:54:59

by George Bonser

[permalink] [raw]
Subject: 2.4.4-pre2 nbd compile error

gcc -D__KERNEL__ -I/usr/local/src/linux/include -Wall -Wstrict-prototypes -O
2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary
=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/local/src/linux/include/linux/modversions.h -c -o nbd.o nbd.c
nbd.c: In function `nbd_send_req':
nbd.c:160: `MSG_MORE' undeclared (first use in this function)
nbd.c:160: (Each undeclared identifier is reported only once
nbd.c:160: for each function it appears in.)
nbd.c: At top level:
nbd.c:481: warning: static declaration for `nbd_init' follows non-static


2001-04-12 07:01:49

by Jeff Garzik

[permalink] [raw]
Subject: [PATCH] Re: 2.4.4-pre2 nbd compile error

Index: include/linux/blk.h
===================================================================
RCS file: /cvsroot/gkernel/linux_2_4/include/linux/blk.h,v
retrieving revision 1.1.1.37
diff -u -r1.1.1.37 blk.h
--- include/linux/blk.h 2001/04/12 03:17:07 1.1.1.37
+++ include/linux/blk.h 2001/04/12 05:57:14
@@ -42,7 +42,6 @@
extern int swimiop_init(void);
extern int amiga_floppy_init(void);
extern int atari_floppy_init(void);
-extern int nbd_init(void);
extern int ez_init(void);
extern int bpcd_init(void);
extern int ps2esdi_init(void);


Attachments:
blk.patch (545.00 B)