On Fri, 21 Jan 2005, Florian Fainelli <florian@alphacore.net>
wrote:> Hi all
>
> Here is the egrep result :
>
> egrep "SIZEOF|LONGLONG" build_mipsel/rsync-2.6.3/config.h
> /* #undef HAVE_LONGLONG */
> #define SIZEOF_INT 4
> #define SIZEOF_LONG 4
> #define SIZEOF_SHORT 2
>
> and the HAVE_LONGLONG config.log result :
>
> rsync_cv_HAVE_LONGLONG=cross
>
> Is there a problem with this values ?
In a separate reply, Wayne (the maintainer of rsync) indicated that
there were deficiencies in the config test for cross-compilers.
That seems to be the case here.
Try this. In config.h, replace:
/* #undef HAVE_LONGLONG */
with
#define HAVE_LONGLONG 1
and try compiling again. If your cross-compiler doesn't have this
feature and you get compilation errors and you can't fix them, then
put them in a reply here and we'll go from there.
--
John Van Essen Univ of MN Alumnus <vanes002@umn.edu>