Messages in this thread | | | Date | Thu, 30 Jan 2003 21:13:05 -0800 | From | Andrew Morton <> | Subject | Re: Small bug in linux-2.4.20/include/linux/kernel.h |
| |
Jared Young <headgeek@li.nu-x.net> wrote: > > Perhaps this is a small bug: During a compile for 2.4.20 there comes a > section in /include/linux/kernel.h that calls for #include <stdarg.h> > however stdarg.h is not included or found in any of the source directories. >
I was bitten by this when I built up gcc-3.2.1.
In earlier gcc's you could have
ln -s /usr/local/gcc-3.0/bin/gcc /usr/local/bin/gcc
and it would all work OK.
But in recent gcc's, that does not work. You actually have to add /usr/local/gcc-3.2.1/bin to your $PATH, and execute gcc from there.
The problem also goes away when you remove -notsdinc from the kernel makefiles. So it seems that something changed in the way in which gcc locates the compiler-provided headers.
In short: check your compiler setup.
- 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/
| |