[xml] Building/configure errors on alpha/OSF-1



Just a small build bug, but a sloppy one. 

Tried libxml2 2.4.8 and 2.4.10 on an alpha/OSF-1 with gcc 2.95.2

First configure reports this:
checking for printf... yes
checking for sprintf... yes
checking for fprintf... yes
checking for snprintf... no
checking for vfprintf... yes
checking for vsprintf... yes
checking for vsnprintf... no
checking for sscanf... yes
checking for gethostent... yes
checking for setsockopt... yes
checking for connect... yes
checking for type of socket length (socklen_t)... int *
checking for isnan... no
checking for isnan in -lm... yes
checking for isinf... no
checking for isinf in -lm... no

Sure, looks fine. Then this during build:
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -I./include 
-I/usr/local/stow/include -I/include -g -O2 -Wall -c ../entities.c  -DPIC -o 
.libs/entities.lo
../entities.c: In function `xmlEncodeEntities':
../entities.c:518: warning: implicit declaration of function `snprintf'

I thought the point of having configure detect if snprintf worked or not; was 
to either not use it, or report a configuration error.

Seems like a have to make do without libxml on this one.

Regards
Allan

PS. If replying please CC, since I am not on the mailing-list



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