bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'sscanf.c' problems.


From: _Ke zy_
Subject: 'sscanf.c' problems.
Date: Fri, 19 Dec 2003 12:56:14 +0800

Hello, I just got Linux Mandrake 9.2 (download edition), and wanted to compile XMMS. So I needed to download and compile glibc. I downloaded glibc-2.3.2, and used the glibc-linuxthreads-2.3.2 addon.
I configured it with the following arguement:
-----------------------------------------------------------------------------------------
$../glibc-2.3.2/configure --enable-add-ons --prefix=/usr/local/glibc/
-----------------------------------------------------------------------------------------

While compiling the following error showed up:
-----------------------------------------------------------------------------------------
gcc sscanf.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -I../include -I. -I/home/kezy/glibc-build/stdio-common -I.. -I../libio -I/home/kezy/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 -D_LIBC_REENTRANT -include ../include/libc-symbols.h -D_IO_MTSAFE_IO -o /home/kezy/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
sscanf.c: At top level:
../stdio-common/_itoa.h:40: warning: inlining failed in call to `_itoa_word'
sscanf.c:76: warning: called from here
make[2]: *** [/home/kezy/glibc-build/stdio-common/sscanf.o] Error 1
make[2]: Leaving directory `/home/kezy/glibc-2.3.2/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `/home/kezy/glibc-2.3.2'
make: *** [all] Error 2
-----------------------------------------------------------------------------------------

Im not sure what the error is all about. Im no C++ guru, but I also got confused as an error occurred on line 76 of sscanf.c according to gcc, but the code doesnt reach to line 76.

I have enclosed sscanf.c for your convenience. Thanks very much for your support,
, Kezy K

_________________________________________________________________
E-mail just got a whole lot better. New ninemsn Premium. Click here http://ninemsn.com.au/premium/landing.asp

Attachment: sscanf.c
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]