Re: 2.4.27+stdarg+gcc-3.4.1

From: Keith Owens
Date: Fri Jul 23 2004 - 20:57:41 EST

On Sat, 24 Jul 2004 02:14:21 +0200,
"J.A. Magallon" <jamagallon@xxxxxxx> wrote:
>With gcc-3.4.1 I get the following error when building 2.4.27-rc3.
>Any suggestion ?
>gcc -D__KERNEL__ -nostdinc -iwithprefix include -I/usr/src/linux-2.4.27-rc3-jam1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mpreferred-stack-boundary=2 -msoft-float -march=pentium3 -fno-unit-at-a-time -DKBUILD_BASENAME=do_mounts -c -o init/do_mounts.o init/do_mounts.c
>init/do_mounts.c: In function `change_floppy':
>init/do_mounts.c:424: error: `va_list' undeclared (first use in this function)

Looks like you applied some additional patches over 2.4.27-rc3, that
command line is non-standard. Run

gcc -D__KERNEL__ -nostdinc -iwithprefix include \
-I/usr/src/linux-2.4.27-rc3-jam1/include -Wall \
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common \
-fomit-frame-pointer -mpreferred-stack-boundary=2 -msoft-float \
-march=pentium3 -fno-unit-at-a-time -DKBUILD_BASENAME=do_mounts -c \
-o init/do_mounts.s init/do_mounts.c -E

Mail the results from

egrep -B20 -A5 'va_list|stdarg\.h' init/do_mounts.i

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at