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 Subject: Re: How do I build this program for Cygwin? Date: Sun, 6 May 2012 18:49:10 +0000 (UTC) Lines: 23 Message-ID: References: <1336296115 DOT 32875 DOT YahooMailClassic AT web28602 DOT mail DOT ukl DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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