delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/23/21:47:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Tue, 23 Oct 2012 18:47:14 -0700
From: Gary Johnson <garyjohn AT spocom DOT com>
To: cygwin AT cygwin DOT com
Subject: ISC DHCPv6 Server?
Message-ID: <20121024014714.GA9824@phoenix>
Mail-Followup-To: cygwin AT cygwin DOT com
MIME-Version: 1.0
User-Agent: Mutt/1.5.20 (2009-06-14)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Has anyone built the ISC DHCPv6 server on Cygwin?

I downloaded the latest source, dhcp-4.2.4-P2, saw that it contained
some checks for __CYGWIN__ and __CYGWIN32__ and tried "./configure"
and "make" but make failed with the following.

    make[2]: Entering directory `/usr/local/src/dhcp-4.2.4-P2/dhcp-4.2.4-P2/common'
    gcc -DHAVE_CONFIG_H -I. -I../includes  -I.. -DLOCALSTATEDIR='"/var"'    -g -O2  -Wall -Werror -fno-strict-aliasing -I../bind/include -MT alloc.o -MD -MP -MF .deps/alloc.Tpo -c -o alloc.o alloc.c
    In file included from alloc.c:35:
    ../includes/dhcpd.h:63:23: net/route.h: No such file or directory
    ../includes/dhcpd.h:64:24: net/if_arp.h: No such file or directory
    In file included from ../includes/dhcpd.h:105,
                     from alloc.c:35:
    ../includes/omapip/omapip_p.h:48:1: "fd_set" redefined
    In file included from ../includes/dhcpd.h:48,
                     from alloc.c:35:
    /usr/include/sys/types.h:238:1: this is the location of the previous definition
    Makefile:264: recipe for target `alloc.o' failed
    make[2]: *** [alloc.o] Error 1
    make[2]: Leaving directory `/usr/local/src/dhcp-4.2.4-P2/dhcp-4.2.4-P2/common'
    Makefile:329: recipe for target `all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/local/src/dhcp-4.2.4-P2/dhcp-4.2.4-P2/common'
    Makefile:246: recipe for target `all-recursive' failed
    make: *** [all-recursive] Error 1

It is the end of the day so I have not yet investigated those
errors.  I was hoping more to find someone here who had already done
this than to get help with the make process.  For now.

Before downloading the ISC source, I searched the web to see if
anyone had built this on Cygwin, but the latest work I could find
was a patch to dhcp-3.0.1rc11, which does not support DHCPv6.

Regards,
Gary


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019