Menu

#101 snprintf.c:136: conflicting types for `v

open
nobody
configure (8)
5
2002-01-07
2002-01-07
Anonymous
No

Hi,

i'm having some problems to
compile plugins: netsaint-plugins-1.2.9-4
on solaris 2.8 intel with gcc version 2.95.3 20010315
(release)

gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -
I/usr/local/ssl/include -g -O2 -c ./getopt1.c
ar -r libgetopt.a getopt.o getopt1.o
ar: creating libgetopt.a
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -
I/usr/local/ssl/include -g -O2 -c snprintf.c
snprintf.c:136: conflicting types for `vsnprintf'
/usr/include/stdio.h:227: previous declaration of
`vsnprintf'
make[1]: *** [snprintf.o] Error 1
make[1]: Leaving directory `/export/software/netsaint-
plugins-1.2.9-4/plugins'
make: *** [all-recursive] Error 1

bash-2.03# grep vsnprintf config.log
configure:3814: checking for vsnprintf
which can conflict with char vsnprintf(); below.
*/
char vsnprintf();
#if defined (__stub_vsnprintf) || defined
(__stub___vsnprintf)
vsnprintf();

All help appreciated, i'm willing to do some tests if
helpfull.

regards,

-Jan

Discussion


Log in to post a comment.