Compile error

Jennifer Lu mou at goodluck.Eng.Sun.COM
Wed Mar 13 12:18:49 EST 2002


The patch Jos gave to me works successfully, I can 
compile rsync2.5.3 on Solaris5.5.1 and Solaris5.7.
Also, I don't see any error after I tried to run new 
rsync between 5.5.1 and 5.8. 

Thanks a lot to Jos.

Jennifer


> Delivered-To: rsync at samba.org
> From: Jos Backus <josb at cncdsl.com>
> To: rsync at samba.org
> Subject: Re: Compile error
> Mail-Followup-To: rsync at samba.org
> Mime-Version: 1.0
> Content-Disposition: inline
> User-Agent: Mutt/1.3.27i
> X-BeenThere: rsync at lists.samba.org
> X-Mailman-Version: 2.0.8
> List-Help: <mailto:rsync-request at lists.samba.org?subject=help>
> List-Post: <mailto:rsync at lists.samba.org>
> List-Subscribe: <http://lists.samba.org/mailman/listinfo/rsync>, 
<mailto:rsync-request at lists.samba.org?subject=subscribe>
> List-Id: rsync user list <rsync.lists.samba.org>
> List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/rsync>, 
<mailto:rsync-request at lists.samba.org?subject=unsubscribe>
> List-Archive: <http://lists.samba.org/pipermail/rsync/>
> Date: Mon, 11 Mar 2002 22:10:50 -0801
> 
> On Mon, Mar 11, 2002 at 08:45:44PM -0800, Jennifer Lu wrote:
> > I tried to compile rsync2.5.3 on Solaris5.7, and I still
> > got the same errors as Solaris5.8, can you please help 
> > me to look at the problem? I got error messages:
> > 
> > Configure was run successfully, then I ran make, 
> > I got:
> > 
> > "batch.c", line 408: operands have incompatible types:
> >          pointer to unsigned long ":" pointer to unsigned int
> > cc: acomp failed for batch.c
> > *** Error code 2
> > make: Fatal error: Command failed for target `batch.o'
> 
> Does this patch help?
> 
> Index: batch.c
> ===================================================================
> RCS file: /cvsroot/rsync/batch.c,v
> retrieving revision 1.13
> diff -u -r1.13 batch.c
> --- batch.c     6 Feb 2002 21:20:48 -0000   1.13
> +++ batch.c     12 Mar 2002 06:16:49 -0000
> @@ -396,7 +396,7 @@
>                    struct sum_struct *s)
>  {
>      size_t i;
> -    unsigned int int_zero = 0;
> +    size_t int_zero = 0;
>      extern int csum_length;
>  
>      fdb_open = 1;
> 
> -- 
> Jos Backus                 _/  _/_/_/        Santa Clara, CA
>                           _/  _/   _/
>                          _/  _/_/_/             
>                     _/  _/  _/    _/
> josb at cncdsl.com     _/_/   _/_/_/            use Std::Disclaimer;
> 
> -- 
> To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Jennifer





More information about the rsync mailing list