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/