How do I build this program for Cygwin?

Mark Geisert mark@maxrnd.com
Sun May 6 18:49:00 GMT 2012


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



More information about the Cygwin mailing list