Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Earnie Boyd <earnie_boyd-/E1597aS9LQAvxtiuMwx3w <at> public.gmane.org>
Subject: Re: Will pay $50 for a MingW build of latest rsync for Win32
Newsgroups: gmane.comp.gnu.mingw.user
Date: Tuesday 26th November 2002 18:16:41 UTC (over 14 years ago)
Ed Suominen wrote:
> I need to distribute rsync (useable for both client and --daemon) on
> Win32. Distributing cygwin1.dll is, well you know, a bad idea. I took a
> shot at building under MingW but ran into an ugly looking error:
> 
>  > checking for socklen_t... no
>  > checking for socklen_t equivalent... configure: error: Cannot find a
>  > type to use in place of socklen_t
> 

This one's easy to fix:

#ifdef _WIN32
# include 
#endif

And be sure to add -lws2_32 when linking.

Earnie.



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
MinGW-users mailing list
[email protected]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
 
CD: 3ms