Re: sparse error: unable to open 'stdarg.h'

From: Timur Tabi
Date: Wed May 18 2005 - 09:25:17 EST


Christopher Li wrote:
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.

Nope, that didn't fix it. I deleted pre-process.h and re-ran "make", and it created a new one:

#define GCC_INTERNAL_INCLUDE "/usr/lib/gcc-lib/i586-suse-linux/3.3.4/include"

vic1:~/sparse-bk # ll /usr/lib/gcc-lib/i586-suse-linux/3.3.4/include/stdarg.h
-rw-r--r-- 1 root root 4325 Oct 1 2004 /usr/lib/gcc-lib/i586-suse-linux/3.3.4/include/stdarg.h

--
Timur Tabi
Staff Software Engineer
timur.tabi@xxxxxxxxxxx

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/