Compiling 2.6.2 on Solaris 9 fails
Albert Chin
rsync at mlists.thewrittenword.com
Wed May 5 19:13:25 GMT 2004
On Wed, May 05, 2004 at 11:59:30AM -0700, John Martinez wrote:
>
> Went through some of the archives, but couldn't find any answers to
> this.
>
> I'm trying to compile the latest rsync on Solaris 9 SPARC. I'm using
> gcc 2.95.3 supplied by Sun on the Companion CD.
>
> I get the following error:
>
> sun> gmake
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c rsync.c -o rsync.o
> In file included from rsync.c:23:
> rsync.h:353: warning: no semicolon at end of struct or union
> rsync.h:353: parse error before `inode'
> rsync.h:354: parse error before `dev'
> rsync.h:354: warning: type defaults to `int' in declaration of `dev'
> rsync.h:354: warning: data definition has no type or storage class
> gmake: *** [rsync.o] Error 1
Works fine with the Sun C compiler. Is your 2.95.3 build specifically
for Solaris 9? GCC include files are specific to the platform it was
built on.
--
albert chin (china at thewrittenword.com)
More information about the rsync
mailing list