From: Todor Todorov <ttodorov@web.de>
To: "Udo A. Steinberg" <reality@delusion.de>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.5.8-pre3 linking error
Date: Wed, 10 Apr 2002 13:37:37 +0200 [thread overview]
Message-ID: <3CB42401.2080007@web.de> (raw)
In-Reply-To: <3CB418B7.BB5CFEB9@delusion.de>
Udo A. Steinberg wrote:
>Hi,
>
>2.5.8-pre3 fails to link here:
>
>init/main.o: In function `start_kernel':
>init/main.o(.text.init+0x681): undefined reference to `setup_per_cpu_areas'
>
>-Udo.
>-
>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/
>
As you could see a few lines above setup_per_cpu_areas gets defined only
of CONFIG_SMP is set. So find the line in the function start_kernel in
init/main.c ( about line #320 IIRC ) where setup_per_cpu_areas gets
called and put #ifdef CONFIG_SMP and #endif around it.
Cheers,
Todor
next prev parent reply other threads:[~2002-04-10 11:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-10 10:49 2.5.8-pre3 linking error Udo A. Steinberg
2002-04-10 10:42 ` Gerd Knorr
2002-04-10 11:37 ` Todor Todorov [this message]
2002-04-10 11:39 ` Stelian Pop
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=3CB42401.2080007@web.de \
--to=ttodorov@web.de \
--cc=linux-kernel@vger.kernel.org \
--cc=reality@delusion.de \
/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.