Hello,<br><br>I need to run rsync on a mac (OS X 10.6.5) with the --detect-renamed option available.<br>I therefore started to compile rsync with the 3 relevant patches (in my opinion) : <br> - fileflags.diff<br> - crtimes.diff<br>

 - detect-renamed.diff<br>
<br>Here are my exact compile instructions : <br>  patch -p1 &lt;patches/fileflags.diff<br>  patch -p1 &lt;patches/crtimes.diff<br>  patch -p1 &lt;patches/detect-renamed.diff<br>  ./prepare-source<br>  CFLAGS=-m32 CPPFLAGS=-m32 CCASFLAGS=-m32 ./configure<br>


  CFLAGS=-m32 CPPFLAGS=-m32 CCASFLAGS=-m32 make<br><br>But the make ends with errors : <br>  gcc -std=gnu99 -I. -I. -m32 -DHAVE_CONFIG_H -Wall -W -I./popt -m32 -c compat.c -o compat.o<br>  compat.c: In function &#39;set_allow_inc_recurse&#39;:<br>


  compat.c:128: error: &#39;detect_renamed&#39; undeclared (first use in this function)<br>  compat.c:128: error: (Each undeclared identifier is reported only once<br>  compat.c:128: error: for each function it appears in.)<br>


  make: *** [compat.o] Error 1<br><br>I made different tries : <br><br>1/ only the 2 patches 4 mac : ( fileflags.diff  &amp; crtimes.diff )  =&gt; it works !<br><br>2/ with patches in an other order : detect-renamed.diff &amp; fileflags.diff  &amp; crtimes.diff <br>


  =&gt; errors but different (but alway in connection with the last applied patch...) <br>  gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -Wno-unused-parameter  -c compat.c -o compat.o<br>  compat.c: In function &#39;setup_protocol&#39;:<br>


  compat.c:144: error: &#39;preserve_crtimes&#39; undeclared (first use in this function)<br>  compat.c:144: error: (Each undeclared identifier is reported only once<br>  compat.c:144: error: for each function it appears in.)<br>


  compat.c:146: error: &#39;preserve_fileflags&#39; undeclared (first use in this function)<br>  compat.c:146: error: &#39;force_change&#39; undeclared (first use in this function)<br>  make: *** [compat.o] Error 1<br><br>


3/ with more patches : <br>   fileflags.diff <br>  crtimes.diff<br>  crtimes-64bit.diff<br>  crtimes-hfs+.diff<br>  hfs_compression.diff<br>  detect-renamed.diff<br>==&gt; same error as the initial test :<br>  gcc -std=gnu99 -I. -I. -m32 -DHAVE_CONFIG_H -Wall -W -I./popt -m32 -c compat.c -o compat.o<br>


  compat.c: In function &#39;set_allow_inc_recurse&#39;:<br>  compat.c:128: error: &#39;detect_renamed&#39; undeclared (first use in this function)<br>  compat.c:128: error: (Each undeclared identifier is reported only once<br>


  compat.c:128: error: for each function it appears in.)<br>  make: *** [compat.o] Error 1<br><br>Any idea ? I am stuck ...<br><br>many thanks for help !<br><br clear="all">Ben