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 cannot go on with my kernel make without this as it fails every 'make bzImage' any suggestions. I have included my makemenuconfig file for examination. What does stdarg.h call for on and where can I get this file if needed?
--
?
???
?????
????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????
????? Jared A, Young 602 Crown Point Drive (757)246-1060 ?????
????? SC-Inetworks, Inc. Newport News, Virginia 23602-7009 ?????
????? ???????????????????????????????????????????????????????? ?????
????? [email protected] General Inquiries ?????
????? [email protected] Administrative Contact ?????
????? [email protected] Technical Support ?????
????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????
?????
???
?
Jared Young <[email protected]> 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.
On Thu, 30 Jan 2003 21:13:05 -0800
Andrew Morton <[email protected]> wrote:
> 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.
That was exactly it, thank you very much. Bloody GCC-3.2.1, luckily I have GCC-2.95.3 still on this box..
--
?
???
?????
????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????
????? Jared A, Young 602 Crown Point Drive (757)246-1060 ?????
????? SC-Inetworks, Inc. Newport News, Virginia 23602-7009 ?????
????? ???????????????????????????????????????????????????????? ?????
????? [email protected] General Inquiries ?????
????? [email protected] Administrative Contact ?????
????? [email protected] Technical Support ?????
????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????
?????
???
?
Jared Young <[email protected]> said:
> 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.
It is part of gcc.
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
On 31 January 2003 06:58, Jared Young 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 cannot go on with my kernel make without this
> as it fails every 'make bzImage' any suggestions. I have included my
> makemenuconfig file for examination. What does stdarg.h call for on
> and where can I get this file if needed?
/me too has nonstandard GCC installation. I use this instead of plain make:
CFLAGS=-std=gnu99 \
GCC_EXEC_PREFIX=/usr/app/gcc-3.2/lib/gcc-lib/ \
QTDIR=/usr/app/qt-3.0.3posix \
make ...
Adapt as needed...
--
vda