From: Christopher Li <lkml@chrisli.org>
To: Timur Tabi <timur.tabi@ammasso.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: sparse error: unable to open 'stdarg.h'
Date: Tue, 17 May 2005 16:11:48 -0400 [thread overview]
Message-ID: <20050517201148.GA12997@64m.dyndns.org> (raw)
In-Reply-To: <428A661C.1030100@ammasso.com>
It is missing the gcc default include path.
Check your pre-processor.h in sparse to see that match your gcc
include path or not.
If not, remove pre-processor.h and recompile sparse should solve
the problem.
Chris
On Tue, May 17, 2005 at 04:46:04PM -0500, Timur Tabi wrote:
> I'm trying to run sparse on my external module, but sparse complains about
> not being able to find stdarg.h. I know this bug was supposed to have been
> fixed back in January, but I'm using the latest code, so I can't explain
> what's wrong. I've tried this on a couple different 2.6 kernels.
>
> Here's the output I get:
>
> make -C /lib/modules/2.6.8-24-smp/source
> SUBDIRS=/root/AMSO1100/software/host/linux/sys/devccil C=1 V=2
> make[2]: Entering directory `/usr/src/linux-2.6.8-24'
> CHECK /root/AMSO1100/software/host/linux/sys/devccil/devnet.c
> include/linux/kernel.h:10:11: error: unable to open 'stdarg.h'
> make[3]: *** [/root/AMSO1100/software/host/linux/sys/devccil/devnet.o]
> Error 1
> make[2]: *** [_module_/root/AMSO1100/software/host/linux/sys/devccil] Error
> 2
> make[2]: Leaving directory `/usr/src/linux-2.6.8-24'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/root/AMSO1100/software/host/linux/sys/devccil'
> make: *** [build] Error 2
>
> --
> Timur Tabi
> Staff Software Engineer
> timur.tabi@ammasso.com
>
> One thing a Southern boy will never say is,
> "I don't think duct tape will fix it."
> -- Ed Smylie, NASA engineer for Apollo 13
> -
> 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/
next prev parent reply other threads:[~2005-05-17 23:17 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-17 21:46 Timur Tabi
2005-05-17 20:11 ` Christopher Li [this message]
2005-05-18 14:08 ` Timur Tabi
2005-05-18 12:38 ` Christopher Li
2005-05-18 15:51 ` Timur Tabi
2005-05-18 13:24 ` Christopher Li
2005-05-18 16:45 ` Timur Tabi
2005-05-18 18:22 ` Sam Ravnborg
2005-05-18 18:23 ` Timur Tabi
2005-05-20 19:37 ` Kbuild trick Sam Ravnborg
2005-05-20 23:43 ` Joel Becker
2005-05-21 5:12 ` Sam Ravnborg
2005-05-21 5:48 ` randy_dunlap
2005-05-21 20:41 ` Joel Becker
2005-05-21 10:59 ` Kedar Sovani
2005-05-22 7:28 ` Sam Ravnborg
2005-05-17 22:39 ` sparse error: unable to open 'stdarg.h' Timur Tabi
2005-05-18 18:22 ` Sam Ravnborg
2005-05-18 22:14 ` Timur Tabi
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=20050517201148.GA12997@64m.dyndns.org \
--to=lkml@chrisli.org \
--cc=linux-kernel@vger.kernel.org \
--cc=timur.tabi@ammasso.com \
/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®