lkml.org 
[lkml]   [2003]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.074 / U:1.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site