mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Ph. Marek" <philipp.marek@bmlv.gv.at>
To: user-mode-linux-user@lists.sourceforge.net
Cc: jdike@addtoit.com, linux-kernel@vger.kernel.org
Subject: Re: 2.6.24.2 won't compile UML
Date: Thu, 14 Feb 2008 14:33:29 +0100	[thread overview]
Message-ID: <200802141433.29839.philipp.marek@bmlv.gv.at> (raw)
In-Reply-To: <200802141213.09859.philipp.marek@bmlv.gv.at>

Hello everybody,

On Donnerstag, 14. Februar 2008, Ph. Marek wrote:
> I'm trying to compile an UML binary from 2.6.24.
>
>   make ARCH=um O=... bzImage
>
> gives
>
>   make -C linux-2.6.24.2/ O=output_path/build ARCH=um bzImage
>   make[1]: Entering directory `output_path/linux-2.6.24.2'
>     GEN     output_path/build/Makefile
>   scripts/kconfig/conf -s arch/um/Kconfig
>   net/bluetooth/hidp/Kconfig:4:warning: 'select' used by config symbol 'BT_HIDP' refers to undefined symbol 'HID'

I now made a patch based on the spirit of 
  http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=0263603a01e802f79e369ac489793e5320031560
- although that's surely the wrong way to go, because it'll break
the other options. I just attach it in case other people have the same problem.


Now I get other errors ...
	$ make
	  CHK     include/linux/version.h
	  CHK     include/linux/utsrelease.h
	  CC      arch/x86/kernel/asm-offsets.s
	In file included from include/linux/sched.h:54,
	                 from arch/x86/kernel/asm-offsets_32.c:8,
	                 from arch/x86/kernel/asm-offsets.c:2:
	include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined
	include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined
	include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined
	include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined
	include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined
	include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined
	include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined
	include/linux/jiffies.h:33:3: error: #error You lose.
and so on, and so on ...

I'm currently trying to use the pre-build binary from 
http://user-mode-linux.sourceforge.net - but I'd prefer to build
the kernel myself.


Help, please? Anyone?


Regards,

Phil

  reply	other threads:[~2008-02-14 13:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-14 11:13 Ph. Marek
2008-02-14 13:33 ` Ph. Marek [this message]
2008-02-14 14:06   ` Gabriel C
2008-02-14 14:21   ` Ph. Marek
2008-02-14 14:24 ` Jeff Dike
2008-02-14 14:33   ` Ph. Marek

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=200802141433.29839.philipp.marek@bmlv.gv.at \
    --to=philipp.marek@bmlv.gv.at \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=user-mode-linux-user@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®