From: Russell King <rmk@arm.linux.org.uk>
To: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>
Cc: Linus Torvalds <torvalds@transmeta.com>, linux-kernel@vger.kernel.org
Subject: Re: Does kernel use system stdarg.h?
Date: Fri, 27 Sep 2002 09:26:47 +0100 [thread overview]
Message-ID: <20020927092647.A7485@flint.arm.linux.org.uk> (raw)
In-Reply-To: <200209270804.g8R84cp08026@Port.imtp.ilyichevsk.odessa.ua>; from vda@port.imtp.ilyichevsk.odessa.ua on Fri, Sep 27, 2002 at 10:58:52AM -0200
On Fri, Sep 27, 2002 at 10:58:52AM -0200, Denis Vlasenko wrote:
> make[3]: Entering directory `/usr/src/linux-2.5.36/kernel'
> gcc -E
> -Wp,-MD,/usr/src/linux-2.5.36/include/linux/modules/kernel/.exec_domain.ver.d
> -D__KERNEL__ -I/usr/src/linux-2.5.36/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=i486 -nostdinc -iwithprefix include
> -DKBUILD_BASENAME=exec_domain -D__GENKSYMS__ exec_domain.c |
> /sbin/genksyms -p smp_ -k 2.5.36 >
> /usr/src/linux-2.5.36/include/linux/modules/kernel/exec_domain.ver.tmp
> In file included from exec_domain.c:12:
> /usr/src/linux-2.5.36/include/linux/kernel.h:10:20: stdarg.h: No such file or
> directory
>
> There is no stdarg.h in kernel tree, should it be there?
> For now I just copied GCC one into linux/include...
It must be the GCC one. If your GCC isn't finding it, then you've got a
broken GCC installation; "-iwithprefix include" tells GCC to look in its
private include directory for such things.
You could try adding -v to CFLAGS to see where it is searching for includes.
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next prev parent reply other threads:[~2002-09-27 8:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-27 12:58 Does kernel use system stdarg.h? Denis Vlasenko
2002-09-27 8:26 ` Russell King [this message]
2002-09-27 13:20 ` Denis Vlasenko
2002-09-27 9:31 ` Mikael Pettersson
2002-09-27 17:18 ` Denis Vlasenko
2002-09-27 14:05 ` Daniel Jacobowitz
2002-09-27 21:47 ` Oliver Xymoron
2002-09-28 8:15 ` Russell King
2002-09-28 9:34 ` Alan Cox
2002-09-28 10:59 ` Tomas Szepe
2002-09-28 17:26 ` Russell King
2002-09-29 1:16 ` Keith Owens
2002-09-28 15:13 ` Oliver Xymoron
[not found] ` <20020927140302.B13401@flint.arm.linux.org.uk>
2002-09-30 12:58 ` Denis Vlasenko
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=20020927092647.A7485@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
--cc=vda@port.imtp.ilyichevsk.odessa.ua \
/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