How do I build this program for Cygwin?

Mark Geisert
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
> 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
and you should be all set.


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list