help-cfengine
[Top][All Lists]
Advanced

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

Static compilation on Solaris


From: Martin A. Brooks
Subject: Static compilation on Solaris
Date: Wed, 16 Jun 2004 17:14:07 +0100

Hi

When compiling cfengine 2.1.6 statically, I get this error:

ooker:~/cfengine-2.1.6$ make
Making all in pub
source='getopt.c' object='getopt.o' libtool=no \
depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo' \
depmode=gcc /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../src -I/opt/ssl/include    -g -O2  -g
-O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g -O2 -c
getopt.c
source='getopt1.c' object='getopt1.o' libtool=no \
depfile='.deps/getopt1.Po' tmpdepfile='.deps/getopt1.TPo' \
depmode=gcc /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../src -I/opt/ssl/include    -g -O2  -g
-O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g -O2 -c
getopt1.c
source='full-write.c' object='full-write.o' libtool=no \
depfile='.deps/full-write.Po' tmpdepfile='.deps/full-write.TPo' \
depmode=gcc /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../src -I/opt/ssl/include    -g -O2  -g
-O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g -O2 -c
full-write.c
In file included from ../src/cf.defs.h:1948,
                 from full-write.c:23:
../src/prototypes.h:799: conflicting types for `setnetgrent'
/usr/include/netdb.h:283: previous declaration of `setnetgrent'
../src/prototypes.h:801: conflicting types for `endnetgrent'
/usr/include/netdb.h:284: previous declaration of `endnetgrent'
*** Error code 1
make: Fatal error: Command failed for target `full-write.o'
Current working directory /home/martin/cfengine-2.1.6/pub
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
cooker:~/cfengine-2.1.6$ uname -a
SunOS cooker 5.8 Generic_108528-27 sun4u sparc SUNW,Ultra-250

It compiles fine dynamically, any thoughts?

Regards

-- 
Martin A. Brooks <martin@clues.ltd.uk>
Clues Ltd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]