This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling rsync 2.5.6 under Cygwin?

Team Cygwin:

First, I'd like to start by saying THANK YOU for developing and maintaining such an excellent product.

That having been said - I'm trying to implement a solution for a client pushing content from a Windows2000 server to a Solaris web server.  The obvious tool is rsync over ssh, using public key authentication.  Using the bundled packages included in Cygwin, I was able to get things up and running NO TROUBLE.... however, my client, for some unexplained reason, continues to experience "hangs" when performing rsync operations.

A good bit of Google research shows a lot of good discussion around this problem, and more than a little "finger pointing" as to where/why it exists.  I really don't care what the fix it - but really need a consistent, reliable product in order to convince my clients of the viability of the solution (currently they FTP great volumes of data on a regular basis).

So, I tried to compile the latest rsync sources (2.5.6) within Cygwin - but keep getting the following error:

<snip from make output>

gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -DBROKEN_LINKER  -c popt/po
ptparse.c -o popt/poptparse.o
In file included from popt/system.h:73,
                 from popt/poptparse.c:9:
popt/popt.h:377: warning: type qualifiers ignored on function return type
gcc -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -DBROKEN_LINKER  -o rsync.exe rsync
.o generator.o receiver.o cleanup.o sender.o exclude.o util.o main.o checksum.o
match.o syscall.o log.o backup.o options.o flist.o io.o compat.o hlink.o token.o
 uidlist.o socket.o fileio.o batch.o clientname.o progress.o pipe.o params.o loa
dparm.o clientserver.o access.o connection.o authenticate.o lib/fnmatch.o lib/co
mpat.o lib/snprintf.o lib/mdfour.o lib/permstring.o  lib/inet_ntop.o lib/inet_pt
on.o lib/getaddrinfo.o lib/getnameinfo.o zlib/deflate.o zlib/infblock.o zlib/inf
codes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/trees.
o zlib/zutil.o zlib/adler32.o popt/findme.o  popt/popt.o  popt/poptconfig.o popt
/popthelp.o popt/poptparse.o
Info: resolving _h_errno by linking to __imp__h_errno (auto-import)


Some research around this error showed that perhaps a "-DBROKEN_LINKER" switch might help at compile time - but no luck.

If there's an existing online discussion or other resource I can refer to - could you please help point me in the right direction?

Much thanks for any insight or assistance... and have a GREAT day!

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]