Errors on Solaris 2.5

Josh Skains JSkains at deltad.com
Tue Aug 27 18:10:56 CEST 2002


Wow, I found a snprintf package from SunFreeware....
 
JMS

-----Original Message-----
From: Josh Skains [mailto:JSkains at deltad.com]
Sent: Tuesday, August 27, 2002 7:48 AM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] Errors on Solaris 2.5



Ok.. I got my Solaris 7 nrpe installed.. Now I am fighting with 2.5. Thanks
ahead of time for any help :) 

I have autoconf v2.53 
I have automake v1.4 
gcc v2.95.3 
glib v1.2.10 

I get the following: 

cd ./src/; make ; cd .. 
make[1]: Entering directory `/mhome/jskains/work/mon/nrpe-1.5/src' 
gcc -g -O2 -DHAVE_CONFIG_H  -lnsl -lsocket nrpe.c netutils.c -o nrpe 
Undefined                       first referenced 
 symbol                             in file 
snprintf                            /var/tmp/cc88wkDn.o 
ld: fatal: Symbol referencing errors. No output written to nrpe 
collect2: ld returned 1 exit status 
make[1]: *** [nrpe] Error 1 
make[1]: Leaving directory `/mhome/jskains/work/mon/nrpe-1.5/src' 


I get the following when I do a configure: 

creating cache ./config.cache 
checking for a BSD compatible install... ./install-sh -c 
checking for gcc... gcc 
checking whether the C compiler (gcc  ) works... yes 
checking whether the C compiler (gcc  ) is a cross-compiler... no 
checking whether we are using GNU C... yes 
checking whether gcc accepts -g... yes 
checking whether make sets ${MAKE}... yes 
checking how to run the C preprocessor... gcc -E 
checking for ANSI C header files... yes 
checking whether time.h and sys/time.h may both be included... yes 
checking for sys/wait.h that is POSIX.1 compatible... yes 
checking for ctype.h... yes 
checking for errno.h... yes 
checking for fcntl.h... yes 
checking for grp.h... yes 
checking for netdb.h... yes 
checking for pwd.h... yes 
checking for signal.h... yes 
checking for strings.h... yes 
checking for string.h... yes 
checking for syslog.h... yes 
checking for unistd.h... yes 
checking for arpa/inet.h... yes 
checking for netinet/in.h... yes 
checking for sys/types.h... yes 
checking for sys/time.h... yes 
checking for sys/resource.h... yes 
checking for sys/wait.h... (cached) yes 
checking for sys/socket.h... yes 
checking for sys/stat.h... yes 
checking for working const... yes 
checking whether struct tm is in sys/time.h or time.h... time.h 
checking for mode_t... yes 
checking for pid_t... yes 
checking for size_t... yes 
checking return type of signal handlers... void 
checking for uid_t in sys/types.h... yes 
checking type of array argument to getgroups... gid_t 
checking for main in -lnsl... yes 
checking for socket in -lsocket... yes 
checking for strdup... yes 
checking for strstr... yes 
checking for strtoul... yes 
checking for initgroups... yes 
checking for type of socket size... size_t 
updating cache ./config.cache 
creating ./config.status 
creating Makefile 
creating src/Makefile 
creating nrpe.cfg 
creating common/config.h 


*** Configuration summary for nrpe 1.5 06-03-2002 ***: 

 General Options: 
 ------------------------- 
 NRPE user:  nagios 
 NRPE group: nagios 


Review the options above for accuracy.  If they look okay, 
type 'make all' to compile the NRPE daemon and client. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020827/be196abd/attachment.html>


More information about the Users mailing list