The configure ran fine, but I get a Command failed for
target snprintf.o during the make. The previous
version failed at the getopt.c, so it is nice to see
we fixed that. I am running solaris 2.7, the latest
beta netsaint, the lastest gcc.
i'm having the same problem on solaris 8 intel.
gcc version 2.95.3 20010315 (release)
( as from version 1.2.9-1 ) error message from 1.2.9-4
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
The error output is:
gcc -DHAVE_CONFIG_H -I. -I/usr/include/ldap
-I/usr/local/ssl/include -O2 -c snprintf.c snprintf.c -o
snprintf.o
gcc: cannot specify -o with -c or -S and multiple
compilations
So I just did the following:
cd plugins; gcc -DHAVE_CONFIG_H -I. -I/usr/include/ldap
-I/usr/local/ssl/include -O2 -c snprintf.c; cd ..
and then went back to a "make all". Now I get the following
error later on:
gcc -DHAVE_CONFIG_H -I. -I/usr/include/ldap
-I/usr/local/ssl/include -O2 -c netutils.c
make: Fatal error: Don't know how to make target `-lnsl'
Im currently trying to figure out why the Makefile is trying
to compile $(SOCKETLIBS) as opposed to *.c!
Logged In: NO
Use GNU Make instead of the /usr/ccs/bin/make.
I just compiled 1.2.9-3 on Solaris 2.8 without any problems.
Logged In: YES
user_id=1671
Problems seem resolved in upcoming 1.2.9-4. Can't check with
this user, since it was anonymously posted.
Logged In: NO
i'm having the same problem on solaris 8 intel.
gcc version 2.95.3 20010315 (release)
( as from version 1.2.9-1 ) error message from 1.2.9-4
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