netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Adrian Bunk <bunk@fs.tum.de>
Cc: David Howells <dhowells@redhat.com>,
	linux-kernel@vger.kernel.org, davem@redhat.com,
	netdev@oss.sgi.com
Subject: Re: 2.6: rxrpc compile errors with SYSCTL=n
Date: Wed, 11 Aug 2004 15:41:02 -0700	[thread overview]
Message-ID: <20040811224102.GU11200@holomorphy.com> (raw)
In-Reply-To: <20040811223225.GN26174@fs.tum.de>

On Thu, Aug 12, 2004 at 12:32:25AM +0200, Adrian Bunk wrote:
> I'm getting tons of the following compile errors in 2.6.8-rc4-mm1 (but 
> it doesn't seem to be specific to -mm) with CONFIG_SYSCTL=n:
> <--  snip  -->
> ...
>   LD      .tmp_vmlinux1
> net/built-in.o(.text+0x154127): In function `__rxrpc_call_acks_timeout':
> : undefined reference to `rxrpc_kdebug'
> net/built-in.o(.text+0x154167): In function `__rxrpc_call_rcv_timeout':
> : undefined reference to `rxrpc_kdebug'

Does this help?


Index: mm1-2.6.8-rc4/include/rxrpc/rxrpc.h
===================================================================
--- mm1-2.6.8-rc4.orig/include/rxrpc/rxrpc.h	2004-08-11 15:27:56.589237088 -0700
+++ mm1-2.6.8-rc4/include/rxrpc/rxrpc.h	2004-08-11 15:28:12.496818768 -0700
@@ -16,10 +16,17 @@
 
 extern uint32_t rxrpc_epoch;
 
+#ifdef CONFIG_SYSCTL
 extern int rxrpc_ktrace;
 extern int rxrpc_kdebug;
 extern int rxrpc_kproto;
 extern int rxrpc_knet;
+#else
+#define rxrpc_ktrace	0
+#define rxrpc_kdebug	0
+#define rxrpc_kproto	0
+#define rxrpc_knet	0
+#endif
 
 extern int rxrpc_sysctl_init(void);
 extern void rxrpc_sysctl_cleanup(void);

  reply	other threads:[~2004-08-11 22:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-11 22:32 2.6: rxrpc compile errors with SYSCTL=n Adrian Bunk
2004-08-11 22:41 ` William Lee Irwin III [this message]
2004-08-11 22:56   ` Adrian Bunk
2004-08-12  8:34   ` David Howells

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=20040811224102.GU11200@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=bunk@fs.tum.de \
    --cc=davem@redhat.com \
    --cc=dhowells@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).