From: Robert Love <rml@tech9.net>
To: alan@lxorguk.ukuu.org.uk, kaos@ocs.com.au
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.4.10-ac9: EXPORT_SYMBOLS compile fix
Date: 08 Oct 2001 17:29:13 -0400 [thread overview]
Message-ID: <1002576557.8568.199.camel@phantasy> (raw)
The attached is against 2.4.10-ac9. The problem cropped up in ac8.
The kernel will not compile without modules. This is from a patch by
Keith Owens for 2.4.11-pre5 which has the same problem. Keith, I assume
this is right?
--- linux-2.4.10-ac9/include/linux/module.h Mon Oct 8 16:47:36 2001
+++ linux/include/linux/module.h Mon Oct 8 17:19:10 2001
@@ -348,9 +348,6 @@
#define EXPORT_SYMBOL_NOVERS(var) error config_must_be_included_before_module
#define EXPORT_SYMBOL_GPL(var) error config_must_be_included_before_module
-#elif !defined(EXPORT_SYMTAB)
-
-#define __EXPORT_SYMBOL(sym,str) error this_object_must_be_defined_as_export_objs_in_the_Makefile
#define EXPORT_SYMBOL(var) error this_object_must_be_defined_as_export_objs_in_the_Makefile
#define EXPORT_SYMBOL_NOVERS(var) error this_object_must_be_defined_as_export_objs_in_the_Makefile
#define EXPORT_SYMBOL_GPL(var) error this_object_must_be_defined_as_export_objs_in_the_Makefile
@@ -362,6 +359,13 @@
#define EXPORT_SYMBOL_NOVERS(var)
#define EXPORT_SYMBOL_GPL(var)
+#elif !defined(EXPORT_SYMTAB)
+
+#define __EXPORT_SYMBOL(sym,str) error this_object_must_be_defined_as_export_objs_in_the_Makefile
+#define EXPORT_SYMBOL(var) error this_object_must_be_defined_as_export_objs_in_the_Makefile
+#define EXPORT_SYMBOL_NOVERS(var) error this_object_must_be_defined_as_export_objs_in_the_Makefile
+#define EXPORT_SYMBOL_GPL(var) error this_object_must_be_defined_as_export_objs_in_the_Makefile
+
#else
#define __EXPORT_SYMBOL(sym, str) \
Robert Love
next reply other threads:[~2001-10-08 21:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-08 21:29 Robert Love [this message]
2001-10-09 0:19 ` [PATCH] 2.4.10-ac9: EXPORT_SYMBOLS compile fix Keith Owens
2001-10-09 0:23 ` Robert Love
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=1002576557.8568.199.camel@phantasy \
--to=rml@tech9.net \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=kaos@ocs.com.au \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox