This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How do I build this program for Cygwin?
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