Messages in this thread |  | | Date | Sun, 07 Oct 2001 23:17:09 +0200 | From | Alessandro Suardi <> | Subject | Re: Linux-2.4.11-pre5 |
| |
Adrian Bunk wrote: > > I get the error below. Must likely there's a problem when you build a > kernel without module support (my .config is attached). > > ... > gcc -D__KERNEL__ -I/home/bunk/linux/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -c -o exec_domain.o exec_domain.c
[snip]
> This seems to be triggered by the following change in pre5: > > --- linux/include/linux/module.h > +++ linux/include/linux/module.h > @@ -348,6 +348,13 @@ > #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 > + > #elif !defined(CONFIG_MODULES) > > #define __EXPORT_SYMBOL(sym,str)
Happens also for ieee1394 when built as module.
--alessandro
"this is no time to get cute, it's a mad dog's promenade so walk tall, or baby don't walk at all" (Bruce Springsteen, 'New York City Serenade') - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |