[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compilation error compiling glibc 2.3.2 on RedHat 7.3 (using gcc 3.3)
From: |
John Lumby |
Subject: |
compilation error compiling glibc 2.3.2 on RedHat 7.3 (using gcc 3.3) |
Date: |
Mon, 25 Aug 2003 07:53:37 -0400 |
The gcc 3.3 compiler apparently rejects use of va_start with a list of
a fixed number of parms. I tried to use your gnats database but got
"connection refused". Would appreciate some assistance Thanks
John
gcc sscanf.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -g -I../include -I.
-I/usr/src/glibc-build/stdio-common -I.. -I../libio
-I/usr/src/glibc-build -I../sysdeps/i386/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I
/lib/modules/2.4.18-3/build/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h -D_IO_MTSAFE_IO -o
/usr/src/glibc-build/stdio-common/sscanf.o
sscanf.c:31: warning: conflicting types for built-in function `sscanf'
sscanf.c: In function `sscanf':
sscanf.c:37: error: `va_start' used in function with fixed args
../string/bits/string2.h: At top level:
../stdio-common/_itoa.h:40: warning: inlining failed in call to
`_itoa_word'
../string/bits/string2.h:76: warning: called from here
make[2]: *** [/usr/src/glibc-build/stdio-common/sscanf.o] Error 1
make[2]: Leaving directory `/usr/src/glibc-2.3.2/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.3.2'
make: *** [all] Error 2
- compilation error compiling glibc 2.3.2 on RedHat 7.3 (using gcc 3.3),
John Lumby <=