problems compiling cactid on Solaris 8

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
mlanghorst
Posts: 8
Joined: Fri Dec 08, 2006 7:17 pm

problems compiling cactid on Solaris 8

Post by mlanghorst »

I've downloaded the latest beta, though I'm having the same error on 0.8.6g.
I run ./configure --with-mysql=/usr/local/mysql --with-snmp=/usr/local (I'll add the output from configure at the end) make errors out very quickly with the following:

source='cactid.c' object='cactid.o' libtool=no \
depfile='.deps/cactid.Po' tmpdepfile='.deps/cactid.TPo' \
depmode=gcc3 /bin/ksh ./config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I./config -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include/net-snmp -I/usr/local/include/net-snmp -I/usr/local/mysql/include -g -O2 -c `test -f 'cactid.c' || echo './'`cactid.c
cactid.c: In function `main':
cactid.c:258: error: `EXIT_SUCCESS' undeclared (first use in this function)
cactid.c:258: error: (Each undeclared identifier is reported only once
cactid.c:258: error: for each function it appears in.)
cactid.c:334: warning: assignment makes pointer from integer without a cast
make: *** [cactid.o] Error 1


Any ideas?

Thanks.



configure output:
funix# ./configure --with-mysql=/usr/local/mysql --with-snmp=/usr/local
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) nawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... config/install-sh -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking whether to enable -Wall... no
checking for gethostbyname in -lnsl... yes
checking for socket in -lsocket... yes
checking for floor in -lm... yes
checking for pthread_exit in -lpthread... yes
checking for deflate in -lz... yes
checking for kstat_close in -lkstat... yes
checking for egrep... egrep
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for signal.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for unsigned long long... yes
checking for long long... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for malloc... yes
checking for calloc... yes
checking for gettimeofday... yes
checking for strerror... yes
checking for strtoll... yes
checking for mysql_init in -lmysqlclient... yes
checking for mysql_thread_init in -lmysqlclient... yes
checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... no
checking for snmp_timeout in -lnetsnmp... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/config.h
config.status: config/config.h is unchanged
config.status: executing depfiles commands
mlanghorst
Posts: 8
Joined: Fri Dec 08, 2006 7:17 pm

never mind

Post by mlanghorst »

Well, didn't see that 0.8.6i final was released. configured with the same options, and compiled fine...
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests