[PATCH] Re: Makefile.in (install-strip) problem & 2.5.2 build error

Phil Howard phil-rsync at ipal.net
Sun Jan 27 10:03:51 EST 2002


On Sat, Jan 26, 2002 at 05:40:36PM +0100, Peter Breitenlohner wrote:

| 2. I just fetched rsync-2.5.2 but the build (on i686-linux) badly fails.
| The complete log from configure and make is attached.

...

| gcc -I. -I../rsync-2.5.2 -O2 -DHAVE_CONFIG_H -Wall -W -c ../rsync-2.5.2/rsync.c -o rsync.o
| In file included from ../rsync-2.5.2/rsync.c:23:
| ../rsync-2.5.2/rsync.h:339: warning: no semicolon at end of struct or union

...

I get the same thing on Linux.

First thing I noticed was that in 2.5.0 (my previous version) configure
detects things differently:

=============================================================================
root at pollux:/home/root/src 51> fgrep off64_t rsync-2.5.[02]/log
rsync-2.5.0/log:checking for off64_t... no
rsync-2.5.2/log:checking for off64_t... yes
root at pollux:/home/root/src 52>
=============================================================================

Trying to backtrack how off64_t is defined is a mess even worse than the
dependent definitions rsync.h has.  The following patch simply replaces
"off64_t" with "long long".  It's not a portable solution, but then,
rsync 2.5.2 is currently not portable anyway.

=============================================================================
begin 600 fix64.patch
M+2TM(')S>6YC+F at N;VQD"49R:2!*86X@,C4@,3<Z,#`Z,C$@,C`P, at HK*RL@
M<G-Y;F,N:`E3870 at 2F%N(#(V(#$V.C,S.C(U(#(P,#(*0$`@+3(U.2PW("LR
M-3DL-R!`0`H@(V5N9&EF"B`*("-I9B!(059%7T]&1C8T7U0*+2-D969I;F4@
M:6YT-C0@;V9F-C1?=`HK(V1E9FEN92!I;G0V-"!L;VYG(&QO;F<*("-E;&EF
M("A325I%3T9?3$].1R`]/2`X*2`*("-D969I;F4@:6YT-C0@;&]N9PH@(V5L
6:68@*%-)6D5/1E])3E0@/3T at ."D@"@``
`
end
=============================================================================

-- 
-----------------------------------------------------------------
| Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
| phil-nospam at ipal.net | Texas, USA | http://phil.ipal.org/     |
-----------------------------------------------------------------




More information about the rsync mailing list