All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: George Bonser <george@gator.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Re: 2.4.4-pre2 nbd compile error
Date: Thu, 12 Apr 2001 03:01:30 -0400	[thread overview]
Message-ID: <3AD552CA.B56AA740@mandrakesoft.com> (raw)
In-Reply-To: <CHEKKPICCNOGICGMDODJCEHHCLAA.george@gator.com>

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

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."

[-- Attachment #2: blk.patch --]
[-- Type: text/plain, Size: 545 bytes --]

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);

      reply	other threads:[~2001-04-12  7:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-12  6:56 2.4.4-pre2 nbd compile error George Bonser
2001-04-12  7:01 ` Jeff Garzik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AD552CA.B56AA740@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=george@gator.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.