All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alessandro Suardi <alessandro.suardi@oracle.com>
To: Adrian Bunk <bunk@fs.tum.de>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux-2.4.11-pre5
Date: Sun, 07 Oct 2001 23:17:09 +0200	[thread overview]
Message-ID: <3BC0C655.6C35DF43@oracle.com> (raw)
In-Reply-To: <Pine.NEB.4.40.0110072235410.3783-200000@mimas.fachschaften.tu-muenchen.de>

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

  reply	other threads:[~2001-10-07 21:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-07 18:49 Linux-2.4.11-pre5 Linus Torvalds
2001-10-07 19:18 ` Linux-2.4.11-pre5 Simon Kirby
2001-10-07 19:34   ` Linux-2.4.11-pre5 Johannes Erdfelt
2001-10-07 19:40     ` Linux-2.4.11-pre5 Simon Kirby
2001-10-07 20:19       ` Linux-2.4.11-pre5 Johannes Erdfelt
2001-10-07 20:33         ` [patch] uhci.c interrupts Johannes Erdfelt
2001-10-08 19:02         ` Linux-2.4.11-pre5 Simon Kirby
2001-10-08 19:47           ` Linux-2.4.11-pre5 Simon Kirby
2001-10-08 20:21             ` Linux-2.4.11-pre5 Johannes Erdfelt
2001-10-08 20:30               ` Linux-2.4.11-pre5 Simon Kirby
2001-10-07 20:49 ` Linux-2.4.11-pre5 Adrian Bunk
2001-10-07 21:17   ` Alessandro Suardi [this message]
2001-10-07 23:46     ` Linux-2.4.11-pre5 Linus Torvalds
2001-10-08 16:32       ` [PATCH] Linux-2.4.11-pre5 Robert Schiele
2001-10-07 21:48   ` Linux-2.4.11-pre5 Alan Cox
2001-10-08  1:11   ` Linux-2.4.11-pre5 Keith Owens

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=3BC0C655.6C35DF43@oracle.com \
    --to=alessandro.suardi@oracle.com \
    --cc=bunk@fs.tum.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.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 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.