<div dir="ltr"><p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">I am new to usage of this mailing list, I have
was going through some of the archives to see if my question is addressed
already but I could find it. I could see mostly people are discussing about
issues with rsync. My query is not much related with issues with rsync but it
is related to compilation error which I am facing with latest version of rsync.
</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif"> </span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">I am compiling rsync-3.0.9 in my build system
(which is for 2.6.10 linux kernel. I am using windriver build system),
compilation is failing due to size of “uint32” and “uint16” was computed
wrongly during configuration. </span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif"> </span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">Output during configuration:- </span></p>

<p class=""><span style="font-size:7.5pt;font-family:'Courier New';color:blue">checking size of int... (cached) 4</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">checking
size of long... (cached) 4</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">checking
size of long long... (cached) 8</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">checking
size of short... (cached) 2</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">checking
size of int16_t... 2</span> <br>
<b><span style="font-size:7.5pt;font-family:'Courier New';color:red">checking
size of uint16_t... (cached) 0</span></b> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">checking
size of int32_t... 4</span> <br>
<b><span style="font-size:7.5pt;font-family:'Courier New';color:red">checking
size of uint32_t... (cached) 0</span></b> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">checking
size of int64_t... 8</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">checking
size of off_t... (cached) 8</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">checking
size of off64_t... 8</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">checking
size of time_t... 4</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">checking for
inline... (cached) inline</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif"> </span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">Compilation error </span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif"> </span></p>

<p class=""><span style="font-size:7.5pt;font-family:'Courier New';color:blue">In file included from
/home/xjitgor/RSYNC-WRS1.1/pkgsrc/rsync-3.0.9/rsync.c:22:</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">/home/xjitgor/RSYNC-WRS1.1/pkgsrc/rsync-3.0.9/rsync.h:575:
warning: no semicolon at end of struct or union</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">/home/xjitgor/RSYNC-WRS1.1/pkgsrc/rsync-3.0.9/rsync.h:575:
error: parse error before "node_size"</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">/home/xjitgor/RSYNC-WRS1.1/pkgsrc/rsync-3.0.9/rsync.h:577:
error: parse error before '}' token</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">/home/xjitgor/RSYNC-WRS1.1/pkgsrc/rsync-3.0.9/rsync.h:639:
warning: no semicolon at end of struct or union</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">/home/xjitgor/RSYNC-WRS1.1/pkgsrc/rsync-3.0.9/rsync.h:639:
error: parse error before "unum"</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">/home/xjitgor/RSYNC-WRS1.1/pkgsrc/rsync-3.0.9/rsync.h:645:
warning: no semicolon at end of struct or union</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">/home/xjitgor/RSYNC-WRS1.1/pkgsrc/rsync-3.0.9/rsync.h:645:
error: parse error before "len32"</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">/home/xjitgor/RSYNC-WRS1.1/pkgsrc/rsync-3.0.9/rsync.h:646:
error: parse error before "mode"</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">/home/xjitgor/RSYNC-WRS1.1/pkgsrc/rsync-3.0.9/rsync.h:646:
warning: type defaults to `int' in declaration of `mode'</span> <br>
<span style="font-size:7.5pt;font-family:'Courier New';color:blue">/home/xjitgor/RSYNC-WRS1.1/pkgsrc/rsync-3.0.9/rsync.h:646:
warning: data definition has no type or storage class</span> <br>
<br>
<span style="font-size:10pt;font-family:Arial,sans-serif"></span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif"> </span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif"> </span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">As I am new to this kind of build system I am
confused, which file is referred for checking the values of variable “ac_cv_sizeof_uint32_t/</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:navy"> checking size
of uint16_t</span><span style="font-size:10pt;font-family:Arial,sans-serif">” ? As far as my study during this error debugging
it seems the value is looked from the cache file. </span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">However the cache file which is referred during
configuration has presence of ” ac_cv_sizeof_uint32_t/</span><span style="font-size:10pt;font-family:Arial,sans-serif;color:navy"> checking size
of uint16_t</span><span style="font-size:10pt;font-family:Arial,sans-serif">”</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif;color:navy">Could any one help me on understanding how and where the
vaues are getting reffred for following condidtion?</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif;color:navy"> </span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">{ $as_echo "$as_me:${as_lineno-$LINENO}:
checking size of uint32_t" >&5</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">$as_echo_n "checking size of uint32_t...
" >&6; }</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">if ${ac_cv_sizeof_uint32_t+:} false; then :</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif"> 
$as_echo_n "(cached) " >&6</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">else</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">  if
ac_fn_c_compute_int "$LINENO" "(long int) (sizeof
(uint32_t))" "ac_cv_sizeof_uint32_t"        "$ac_includes_default"; then
:</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif"> </span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">else</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">  if test
"$ac_cv_type_uint32_t" = yes; then</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">     { {
$as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':"
>&5</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">$as_echo "$as_me: error: in
\`$ac_pwd':" >&2;}</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">as_fn_error 77 "cannot compute sizeof
(uint32_t)</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">See \`config.log' for more details"
"$LINENO" 5; }</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">   else</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">    
ac_cv_sizeof_uint32_t=0</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">   fi</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">fi</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif"> </span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">fi</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">{ $as_echo "$as_me:${as_lineno-$LINENO}:
result: $ac_cv_sizeof_uint32_t" >&5</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">$as_echo "$ac_cv_sizeof_uint32_t"
>&6; }</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif"> </span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif">========================================================================</span></p>

<p class=""><span style="font-size:10pt;font-family:Arial,sans-serif;color:navy"> </span></p>

<span style="font-size:10pt;font-family:Arial,sans-serif;color:navy">Thanks and Regards,</span><span style="font-size:12pt;font-family:'Times New Roman',serif;color:navy"> </span><span style="font-size:10pt;font-family:Arial,sans-serif;color:navy"><br>

Harshada Senad</span><span style="font-size:12pt;font-family:'Times New Roman',serif;color:navy"> </span><span style="font-size:10pt;font-family:Arial,sans-serif;color:navy"><br>
<br>
</span></div>