delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/06/14:49:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Mark Geisert <mark AT maxrnd DOT com>
Subject: Re: How do I build this program for Cygwin?
Date: Sun, 6 May 2012 18:49:10 +0000 (UTC)
Lines: 23
Message-ID: <loom.20120506T203700-147@post.gmane.org>
References: <loom DOT 20120506T103916-699 AT post DOT gmane DOT org> <1336296115 DOT 32875 DOT YahooMailClassic AT web28602 DOT mail DOT ukl DOT yahoo DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
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

Marilo writes:
> I amended the configure file as you mention.
> 
> I still get an error in the make.. and then no netcat.exe in the src
> subdirectory
[...]
> core.o: In function `core_listen':
> /home/Steve/netcat/src/core.c:225: undefined reference to
>`_udphelper_ancillary_read'
> collect2: ld returned 1 exit status

If you did ./configure then make, then edited configure, you'll have some
stuff laying around from the make that won't match stuff built after the edit. 
Editing configure is a really drastic thing that I believe will work in this
specific situation only because I inspected the code in udphelper.c after the
first make failed.

But after editing configure one needs to start the build over from scratch, so:
    make distclean
    make
and you should be all set.

..mark


--
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