help-cfengine
[Top][All Lists]
Advanced

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

2.1.0p1 compile problem on Solaris8


From: Frank Smith
Subject: 2.1.0p1 compile problem on Solaris8
Date: Wed, 05 Nov 2003 15:32:50 -0600

When I try to build cfengine-2.1.0p1 on a Solaris 8 (sparc) box
I get the following compile error:

gcc -DHAVE_CONFIG_H -I. -I. -I../src -I/usr/local/BerkeleyDB.4.0/include 
-I/usr/local/ssl/include   -static -I/usr/local/BerkeleyDB.4.0/include -g -O2 
-Wreturn-type -Wmissing-prototypes -Wuninitialized -static 
-I/usr/local/BerkeleyDB.4.0/include -c `test
-f 'full-write.c' || echo './'`full-write.c
In file included from ../src/cf.defs.h:1855,
                 from full-write.c:23:
../src/prototypes.h:756: conflicting types for `setnetgrent'
/usr/include/netdb.h:283: previous declaration of `setnetgrent'
../src/prototypes.h:758: conflicting types for `endnetgrent'
/usr/include/netdb.h:284: previous declaration of `endnetgrent'
make[1]: *** [full-write.o] Error 1


Any ideas on how to get around this (besides deleting system header
files)?

Thanks,
Frank

-- 
Frank Smith                                      fsmith@hoovers.com
Systems Administrator                           Voice: 512-374-4673
Hoover's Online                                   Fax: 512-374-4501





reply via email to

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