linux-um archives
 help / color / mirror / Atom feed
From: "Anthony Brock" <Anthony_Brock@ous.edu>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Re: Patch 2.6.6
Date: Mon, 17 May 2004 10:22:53 -0700	[thread overview]
Message-ID: <s0a89290.084@ORANGE.OUS.EDU> (raw)

I've downloaded this patch, with a vanilla kernel to a SuSE 9.0 machine
(32-bit, native Intel architecture). Following previously posted
suggestions, I removed the um_rquest_irq function from
include/asm-um/irq.h.

However, I'm having problems compiling. I issue 'make vmlinux ARCH=um'
and see:

  HOSTCC  arch/um/util/mk_constants_kern.o
arch/um/util/mk_constants_kern.c: In function `main':
arch/um/util/mk_constants_kern.c:16: error: `KERN_EMERG' undeclared
(first use in this function)
arch/um/util/mk_constants_kern.c:16: error: (Each undeclared identifier
is reported only once
arch/um/util/mk_constants_kern.c:16: error: for each function it
appears in.)
arch/um/util/mk_constants_kern.c:17: error: `KERN_ALERT' undeclared
(first use in this function)
arch/um/util/mk_constants_kern.c:18: error: `KERN_CRIT' undeclared
(first use in this function)
arch/um/util/mk_constants_kern.c:19: error: `KERN_ERR' undeclared
(first use in this function)
arch/um/util/mk_constants_kern.c:20: error: `KERN_WARNING' undeclared
(first use in this function)
arch/um/util/mk_constants_kern.c:21: error: `KERN_NOTICE' undeclared
(first use in this function)
arch/um/util/mk_constants_kern.c:22: error: `KERN_INFO' undeclared
(first use in this function)
arch/um/util/mk_constants_kern.c:23: error: `KERN_DEBUG' undeclared
(first use in this function)
arch/um/util/mk_constants_kern.c:25: error: `NSEC_PER_SEC' undeclared
(first use in this function)
make[1]: *** [arch/um/util/mk_constants_kern.o] Error 1
make: *** [arch/um/util] Error 2

However, KERN_EMERG is declared in both
<kernel_src>/include/linux/kernel.h and /usr/include/linux/kernel.h,
which is included at the top of the source file. Why would this fail to
be declared? I HAVE to be missing something basic on my compiles...
*sigh*

Tony


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

                 reply	other threads:[~2004-05-17 17:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=s0a89290.084@ORANGE.OUS.EDU \
    --to=anthony_brock@ous.edu \
    --cc=user-mode-linux-devel@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