Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <029f01c2d3b4$85816920$78d96f83@pomello>
From: "Max Bowsher" <maxb@ukf.net>
To: "Glenn, Billy" <BDG3@pge.com>, <cygwin@cygwin.com>
References: <A64C83FEDE2C9147AE14B15F80E7A0D0172F85@EXCHANGE07.utility.pge.com>
Subject: Re: Compiling rsync 2.5.6 under Cygwin?
Date: Thu, 13 Feb 2003 23:06:15 -0000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Glenn, Billy wrote:
> 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.

Can you give any/all of the following?:
- Exactly when the hang occurs
- strace output
- gdb backtraces

> 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.

Let's confirm that this really *is* the same bug. Any info... as above.

> 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

That's a warning, not an error.

Also: Cygwin comes with a popt package. If you install it, rsync will link
against the system popt shared library, rather than needlessly incorporating
an extra copy of libpopt into itself.

> Info: resolving _h_errno by linking to __imp__h_errno (auto-import)

And that's only an informational message.

I see no errors.

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

No, not relevant here.

Max.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

