isc-dhcp3-server port
Tom Frontera
tom at generationresponse.com
Wed Apr 13 11:20:09 PDT 2005
I'm having a problem when making this port:
===> Building for isc-dhcp3-server-3.0.2_7
Making all in common
cc -O -pipe -D_PATH_DHCPD_CONF=\"/usr/local/etc/dhcpd.conf\"
-D_PATH_DHCPD_DB=\"/var/db/dhcpd.leases\"
-D_PATH_DHCPD_PID=\"/var/run/dhcpd.pid\"
-D_PATH_DHCRELAY_PID=\"/var/run/dhcrelay.pid\"
-D_PATH_DHCLIENT_CONF=\"/usr/local/etc/dhclient.conf\"
-D_PATH_DHCLIENT_SCRIPT=\"/usr/local/sbin/dhclient-script\"
-D_PATH_DHCLIENT_DB=\"/var/db/dhclient.leases\"
-D_PATH_DHCLIENT_PID=\"/var/run/dhclient.pid\" -Dwarn=dhcp_warn
-DNOMINUM -DPARANOIA -DJAIL -I/usr/local/include -DUSE_SSL
-I/usr/include -I/usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.2
-I/usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.2/includes -O -Wall
-Wno-unused -Werror -c icmp.c
In file included from icmp.c:42:
/usr/include/netinet/ip.h:156: syntax error before `n_long'
/usr/include/netinet/ip.h:159: syntax error before `n_long'
In file included from icmp.c:43:
/usr/include/netinet/ip_icmp.h:64: syntax error before `n_short'
/usr/include/netinet/ip_icmp.h:71: syntax error before `n_short'
/usr/include/netinet/ip_icmp.h:93: syntax error before `n_time'
icmp.c: In function `icmp_echorequest':
icmp.c:169: structure has no member named `icd_seq'
icmp.c:174: structure has no member named `icd_id'
cc1: warnings being treated as errors
icmp.c: In function `icmp_echoreply':
icmp.c:247: warning: implicit declaration of function `IP_HL'
*** Error code 1
Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.2/work.freebsd/common.
*** Error code 1
Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.2/work.freebsd.
*** Error code 1
Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.2.
*** Error code 1
Stop in /usr/ports/net/isc-dhcp3-server.
Does anyone know how to fix this syntax error?
Thankx,
Tom
More information about the freebsd-questions
mailing list