Nils
2004-Sep-26 20:39 UTC
[repost] Problem compiling 2.6.3.pre1 and pre2 under Cygwin with Mingw
Can anybody offer usggestions on what to do, or where else to ask? thanks --nils. Hello, I'm trying to compile rsync under Cygwin using Mingw, but without success so far. The same problem appears in pre2. $ CC='gcc -mno-cygwin' ./configure --build=mingw32 configure: Configuring rsync 2.6.3pre1 checking build system type... i386-pc-mingw32 checking host system type... i386-pc-mingw32 checking target system type... i386-pc-mingw32 checking for gcc... gcc -mno-cygwin checking for C compiler default output file name... a.exe ... checking for socklen_t... no checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t $ In a Mail from 2002 I found the following: > This one"s easy to fix: > > #ifdef _WIN32 > # include <winsock2.h> > #endif > > And be sure to add -lws2_32 when linking. > > Earnie. ...but haven't been able to get it to work, since I can't figure out how to include this in the config check (or even if this is still the correct solution). I've attached the config log. Thanks for any help! Nils.
Wayne Davison
2004-Sep-27 18:35 UTC
[repost] Problem compiling 2.6.3.pre1 and pre2 under Cygwin with Mingw
On Sun, Sep 26, 2004 at 10:39:27PM +0200, Nils wrote:> Can anybody offer usggestions on what to do, or where else to ask?Have you tried the Cygwin mailing lists? http://www.cygwin.com/lists.html> I'm trying to compile rsync under Cygwin using MingwTrying to get rsync to compile without the extra support of the cygwin library is likely to be a large project. I don't know of anyone who has done it. Sorry to be so little help, but that's all the info I have. ..wayne..