This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcov with glibc-2.3.2


Hello my name is David and I'm from Barcelona (Spain)

I have Red Hat Linux 9.0 and I try to use gcov with
gnu libc. When I build the glibc-2.3.2 with gcc-3.2.2
always I have an error when I compile with
-fprofile-arcs -ftest-coverage. For this reason I
build and install gcc-3.4.0 without problems, but when
I compile glibc-3.2.2 (although I don't use
-fprofile-arcs -ftest-coverage options) I have this
error:


sscanf.c:31: error: conflicting types for 'sscanf'
sscanf.c:31: error: conflicting types for 'sscanf'
sscanf.c:48: error: conflicting types for '_IO_sscanf'
../libio/iolibio.h:42: error: previous declaration of
'_IO_sscanf' was here
sscanf.c:48: error: conflicting types for '_IO_sscanf'
../libio/iolibio.h:42: error: previous declaration of
'_IO_sscanf' was here
sscanf.c: In function `sscanf':
sscanf.c:37: error: se usó `va_start' en una función
con argumentos fijos
make[2]: ***
[/home/e7604061/PFC/libreria-c/glibc-2.3.2-build/stdio-common/sscanf.o]
Error 1
make[2]: Saliendo directorio
`/home/e7604061/PFC/libreria-c/glibc-2.3.2/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Saliendo directorio
`/home/e7604061/PFC/libreria-c/glibc-2.3.2'
make: *** [all] Error 2

So many messages of warnings appears in my monitor,
too. I don't know what is the problem and what can I
do.

Thanks for read the message.


	
	
		
__________________________________________
Correo Yahoo! - 6MB de espacio ¡Gratis!
http://correo.yahoo.es


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]