lkml.org 
[lkml]   [2001]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Re: 2.4.4-pre2 nbd compile error
George Bonser wrote:
>
> 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.)

Some zerocopy patch leakage :(

> nbd.c: At top level:
> nbd.c:481: warning: static declaration for `nbd_init' follows non-static

See the attached patch....

--
Jeff Garzik | Sam: "Mind if I drive?"
Building 1024 | Max: "Not if you don't mind me clawing at the dash
MandrakeSoft | and shrieking like a cheerleader."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);
\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.030 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site