LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Sergio Luis <sergio@larces.uece.br>
To: Christian Kujau <lists@nerdbynature.de>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Rusty Russell <rusty@rustcorp.com.au>,
Ingo Molnar <mingo@elte.hu>, LKML <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [build bug] lguest build failure: drivers/lguest/x86/switcher_32.S:(.text+0x3815f8): undefined reference to `LGUEST_PAGES_regs_trapnum'
Date: Mon, 18 Feb 2008 19:19:50 -0300 [thread overview]
Message-ID: <47BA0486.7000508@larces.uece.br> (raw)
In-Reply-To: <alpine.DEB.1.00.0802182305590.6469@sheep.housecafe.de>
Christian Kujau wrote:
> On Sun, 17 Feb 2008, Sergio Luis wrote:
>> oops. sorry, I just realized I missed the makefile part. I changed
>> the config symbol to CONFIG_LGUEST_HYPERVISOR so I should change it on
>> the makefile as well. reposting an updated patch for testing:
>
> Hm, now I cannot select LGUEST as a module any more:
>
> $ make clean && time make
> [...]
> HOSTCC scripts/kconfig/zconf.tab.o
> HOSTLD scripts/kconfig/conf
> scripts/kconfig/conf -s arch/x86/Kconfig
> .config:1793:warning: symbol value 'm' invalid for LGUEST
> [...]
> Linux hypervisor (LGUEST) [Y/n/?] (NEW)
if you select Y here it will prompt you about the lguest hypervisor, the code in question, the one you want to build, and you will then be able to select it as a module, if you want, or built-in into the kernel.
I dont like this approach myself, but it does fix the problem. I was hoping people would come up with better ideas on how to properly fix it.
-sergio
>
> Is this intentional? I've tried your patch with or without Rusty's
> patch, both gave me the same results. My .config:
> http://nerdbynature.de/bits/2.6.25-rc2/lguest/
>
> Thanks,
> Christian.
next prev parent reply other threads:[~2008-02-18 22:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-01 12:45 Ingo Molnar
2008-02-01 17:05 ` Ingo Molnar
2008-02-02 12:25 ` Rusty Russell
2008-02-03 20:11 ` Rusty Russell
2008-02-17 13:51 ` Thomas Gleixner
2008-02-17 14:07 ` Sergio Luis
2008-02-17 20:11 ` Christian Kujau
2008-02-18 1:04 ` Sergio Luis
2008-02-18 1:31 ` Sergio Luis
2008-02-18 22:14 ` Christian Kujau
2008-02-18 22:19 ` Sergio Luis [this message]
2008-02-19 21:20 ` Christian Kujau
2008-02-19 3:44 ` [PATCH] Fix building lguest as module Tony Breeds
2008-02-19 7:32 ` Ingo Molnar
2008-02-19 13:54 ` Ingo Molnar
2008-02-19 23:35 ` Tony Breeds
2008-02-20 9:33 ` Ingo Molnar
2008-02-20 10:01 ` Ingo Molnar
2008-02-22 5:58 ` Tony Breeds
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=47BA0486.7000508@larces.uece.br \
--to=sergio@larces.uece.br \
--cc=linux-kernel@vger.kernel.org \
--cc=lists@nerdbynature.de \
--cc=mingo@elte.hu \
--cc=rusty@rustcorp.com.au \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--subject='Re: [build bug] lguest build failure: drivers/lguest/x86/switcher_32.S:(.text+0x3815f8): undefined reference to `LGUEST_PAGES_regs_trapnum'\''' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).