[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MacOS X tiger compile files w/ 'SIOCADDRT' undeclared
From: |
Peter Burkholder |
Subject: |
MacOS X tiger compile files w/ 'SIOCADDRT' undeclared |
Date: |
Tue, 14 Jun 2005 14:32:57 -0600 |
I've been trying to compile cfengine both from fink (v. 2.1.11) and
from source download (v 2.1.15). In either case the build process
fails with (v. 2.1.15 in this example):
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include/db4 -I/sw/include -
I/usr/include -I/sw/include -g -O2 -Wreturn-type -Wmissing-prototypes
-Wuninitialized -g -O2 -I/sw/include/db4 -g -O2 -I/sw/include/db4 -
MT ifconf.o -MD -MP -MF ".deps/ifconf.Tpo" -c -o ifconf.o ifconf.c; \
then mv -f ".deps/ifconf.Tpo" ".deps/ifconf.Po"; else rm -f ".deps/
ifconf.Tpo"; exit 1; fi
ifconf.c: In function 'SetDefaultRoute':
ifconf.c:489: error: 'SIOCADDRT' undeclared (first use in this function)
ifconf.c:489: error: (Each undeclared identifier is reported only once
ifconf.c:489: error: for each function it appears in.)
make[2]: *** [ifconf.o] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
In googling about I do see that DHCPD does have some notes about a
"broadcast route portability bug" but I don't see how I can apply
that to this case (ref. http://www.net.princeton.edu/software/dhcpd/
INSTALL.txt)
Can anyone provide some help, please?
Thanks,
Peter
--
Peter Burkholder
System Administrator, DLESE Program Center
peterb@ucar.edu
+1-303-497-2663
- MacOS X tiger compile files w/ 'SIOCADDRT' undeclared,
Peter Burkholder <=