[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
error compiling cfengine 2.1.4 -- error: conflicting types
From: |
Donald Wolfe |
Subject: |
error compiling cfengine 2.1.4 -- error: conflicting types |
Date: |
Mon, 12 Apr 2004 17:25:08 -0700 (PDT) |
I am trying to compile, and install cfengine 2.1.4 and
am getting an error while running make. I am running
configure, and make as follows:
CFLAGS=-static; export CFLAGS
make distclean
./configure \
--prefix=/build/usr/local \
--with-berkeleydb=/usr/local/BerkeleyDB.4.2 \
--with-openssl=/usr/local/ssl
make
I am getting the following error indicating
conflicting declarations in the src/prototypes file,
and the /usr/include/netdb.h file.
What is the proper way to resolve this issue?
The error:
...
In file included from ../src/cf.defs.h:1944,
from full-write.c:23:
../src/prototypes.h:798: error: conflicting types for
`setnetgrent'
/usr/include/netdb.h:283: error: previous declaration
of `setnetgrent'
../src/prototypes.h:800: error: conflicting types for
`endnetgrent'
/usr/include/netdb.h:284: error: previous declaration
of `endnetgrent'
make[1]: *** [full-write.o] Error 1
make[1]: Leaving directory
`/export/Infrastructure/CFEngine/cfengine-2.1.4/pub'
make: *** [all-recursive] Error 1
...
Thanks!
Don
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
- error compiling cfengine 2.1.4 -- error: conflicting types,
Donald Wolfe <=