public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Pavel Machek <pavel@suse.cz>
Cc: torvalds@osdl.org, kernel list <linux-kernel@vger.kernel.org>
Subject: Re: sparse refuses to work due to stdarg.h
Date: Mon, 17 Jan 2005 16:46:26 +0100	[thread overview]
Message-ID: <20050117154626.GA16111@mars.ravnborg.org> (raw)
In-Reply-To: <20050117114927.GD1354@elf.ucw.cz>

On Mon, Jan 17, 2005 at 12:49:27PM +0100, Pavel Machek wrote:
 
> pavel@amd:/usr/src/linux-cvs$ make C=2
>   CHK     include/linux/version.h
>   CHECK   scripts/mod/empty.c
> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
>   CHECK   init/main.c
> /usr/lib/gcc-lib/i486-linux/3.3.5/include/asm/posix_types.h:29:35: warning: no newline at end of file
> /usr/lib/gcc-lib/i486-linux/3.3.5/include/asm/posix_types.h:13:11: error: unable to open 'features.h'
> make[1]: *** [init/main.o] Error 1
> make: *** [init] Error 2
> pavel@amd:/usr/src/linux-cvs$

You seems to have a symlink? to /usr/include/asm in your 3.3.5/include
directory.
But real issue is search order of include paths in sparse.
sparse searches standard system dirs before dir's specified with -I ...
This in contradiction to 'info gcc - see description for -I'.

	Sam

  reply	other threads:[~2005-01-17 15:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-16 22:49 sparse refuses to work due to stdarg.h Pavel Machek
2005-01-17  4:49 ` Sam Ravnborg
2005-01-17 11:49   ` Pavel Machek
2005-01-17 15:46     ` Sam Ravnborg [this message]
2005-01-17 16:33       ` Roland Dreier

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=20050117154626.GA16111@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@suse.cz \
    --cc=torvalds@osdl.org \
    /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