rsync set up problem

Hoang.Thai@sybase.com
Fri, 03 Mar 2006 01:21:51 -0000

Hi,

I downloaded rsync-2.6.7pre2 and ran the configure without problem.  But
'make' showed a bunch of errors (see below).  What do I need to do to
correct this problem?  Thanks.

:
:
:
config.status: creating shconfig
config.status: creating config.h

    rsync 2.6.7pre2 configuration successful

[03/02/06 16:58:31] docsguard-187 server/rsync-2.6.7pre2# make
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W  -c rsync.c -o rsync.o
In file included from /usr/include/sys/signal.h:34,
                 from /usr/include/signal.h:26,
                 from rsync.h:248,
                 from rsync.c:23:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before
"k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
                 from rsync.h:248,
                 from rsync.c:23:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from rsync.h:248,
                 from rsync.c:23:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
make: *** [rsync.o] Error 1
[03/02/06 16:58:34] docsguard-188 server/rsync-2.6.7pre2#

Regards,
Hoang Thai - Web Infrastructure
hthai@sybase.com | 925.236.6477
Sybase, Inc.
-------------- next part --------------
HTML attachment scrubbed and removed