This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
libc error
- From: Mike Cleary <mcleary at iol dot unh dot edu>
- To: libc-alpha at sources dot redhat dot com
- Date: Wed, 31 Jul 2002 13:30:59 -0400
- Subject: libc error
Hello,
I found the following error while building libc:
gcc syslog.c -c -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g
-mieee
-I../include -I.
-I/mnt/u2/mcleary/tools/build/alpha7/basic-gcc_2.95.3/nativ
e/libc/misc -I.. -I../libio
-I/mnt/u2/mcleary/tools/build/alpha7/basic-gcc_2.95
.3/native/libc -I../sysdeps/alpha/elf -I../sysdeps/unix/sysv/linux/alpha
-I../sy
sdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/uni
x/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/alpha -I.
./sysdeps/unix -I../sysdeps/posix -I../sysdeps/alpha/fpu
-I../sysdeps/alpha -I..
/sysdeps/wordsize-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I.
./sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-include ../i
nclude/libc-symbols.h -o
/mnt/u2/mcleary/tools/build/alpha7/basic-gcc_2.95.
3/native/libc/misc/syslog.o
In file included from
/mnt/u9/toolchain/baseline/install/alpha7/basic-gcc_2.95.3
/native/gcc-2.95.3/lib/gcc-lib/alphaev56-unknown-linux-gnu/2.95.3/include/stdarg
.h:36,
from syslog.c:52:
/mnt/u9/toolchain/baseline/install/alpha7/basic-gcc_2.95.3/native/gcc-2.95.3/lib
/gcc-lib/alphaev56-unknown-linux-gnu/2.95.3/include/va-alpha.h:36:
warning: rede
finition of `va_list'
../libio/stdio.h:71: warning: `va_list' previously declared here
syslog.c: In function `openlog':
syslog.c:335: parse error before `)'
syslog.c:335: `__save_FCT' undeclared (first use in this function)
syslog.c:335: (Each undeclared identifier is reported only once
syslog.c:335: for each function it appears in.)
syslog.c:335: parse error before `)'
syslog.c:342: `__save_ARG' undeclared (first use in this function)
syslog.c: In function `closelog':
syslog.c:367: parse error before `)'
syslog.c:367: `__save_FCT' undeclared (first use in this function)
syslog.c:367: parse error before `)'
syslog.c:376: `__save_ARG' undeclared (first use in this function)
make[2]: ***
[/mnt/u2/mcleary/tools/build/alpha7/basic-gcc_2.95.3/native/libc/mi
sc/syslog.o] Error 1
make[2]: Leaving directory `/mnt/u2/mcleary/tools/source/libc/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/u2/mcleary/tools/source/libc'
make: *** [all] Error 2
I found this error using an alpha with the alphaev56-unknown-linux-gnu
configuration, the basic-gcc_2.95.3 baseline and the libc package. If
some one can help that would be great.
Salutations,
-Mike Cleary