All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.10-ac9: EXPORT_SYMBOLS compile fix
@ 2001-10-08 21:29 Robert Love
  2001-10-09  0:19 ` Keith Owens
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Love @ 2001-10-08 21:29 UTC (permalink / raw)
  To: alan, kaos; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-09  0:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-08 21:29 [PATCH] 2.4.10-ac9: EXPORT_SYMBOLS compile fix Robert Love
2001-10-09  0:19 ` Keith Owens
2001-10-09  0:23   ` Robert Love

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.