[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error compiling cfengine 2.1.4 -- error: conflicting types
From: |
Mark Burgess |
Subject: |
Re: error compiling cfengine 2.1.4 -- error: conflicting types |
Date: |
Tue, 13 Apr 2004 08:12:49 +0200 (MEST) |
Perhaps try
make distclean
configure
make
else some kind of OS info would be useful.
M
>
> 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
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~