2.4.27+stdarg+gcc-3.4.1

From: J.A. Magallon
Date: Fri Jul 23 2004 - 19:15:30 EST


Hi,

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)
init/do_mounts.c:424: error: (Each undeclared identifier is reported only once
init/do_mounts.c:424: error: for each function it appears in.)
init/do_mounts.c:424: error: syntax error before "args"
init/do_mounts.c:425: warning: implicit declaration of function `va_start'
init/do_mounts.c:425: error: `args' undeclared (first use in this function)
init/do_mounts.c:426: warning: implicit declaration of function `vsprintf'
init/do_mounts.c:427: warning: implicit declaration of function `va_end'
make: *** [init/do_mounts.o] Error 1


As a side note:

./include/acpi/platform/aclinux.h:

#define ACPI_USE_SYSTEM_CLIBRARY

??


--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrakelinux release 10.1 (Alpha 1) for i586
Linux 2.6.8-rc1-jam1 (gcc 3.4.1 (Mandrakelinux (Cooker) 3.4.1-1mdk)) #1

Attachment: pgp00000.pgp
Description: PGP signature