Hi all,
I have rsync 2.5.1 (with a patch from albert chin - china@thewrittenword.com)
installed OK on Tru64 5.1 UNIX.
When I run rsync, it doesn't work with special files (FIFO, socket,...)
Here is the error:
mknod cluster/members/member1/dev/binlogdmb : Invalid argument
mknod cluster/members/member1/dev/log : Invalid argument
mknod cluster/members/member1/dev/printer : Invalid argument
mknod cluster/members/member2/dev/binlogdmb : Invalid argument
mknod cluster/members/member2/dev/log : Invalid argument
mknod cluster/members/member2/dev/printer : Invalid argument
mknod cluster/members/member2/tmp/mysql.sock : Invalid argument
rsync error: partial transfer (code 23) at main.c(537)
alpha2> ls -l /cluster/members/member2/dev/printer
srwxrwxrwx 1 root system 0 Dec 19 06:22
/cluster/members/member2/dev/printer
I searched on this mailing list and apply a patch from Andrew Flury
<andrew@flury.org> to rsync 2.5.2. Now I can't even compile 2.5.2.
Here is the error messages with GNU C compiler:
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c syscall.c -o
syscall.o
syscall.c: In function `do_mknod':
syscall.c:81: structure has no member named `sun_len'
syscall.c:81: warning: comparison between signed and unsigned
syscall.c:81: warning: signed and unsigned type in conditional
expression
make: *** [syscall.o] Error 1
Here is the error messages with Compaq C compiler:
usr/bin/cc -I. -I. -g -DHAVE_CONFIG_H -I./popt -c syscall.c -o
syscall.o
cc: Error: syscall.c, line 81: In this statement, "sun_len" is not
a
member of "saddr". (needmember)
saddr.sun_len = len > sizeof(saddr.sun_path) ?
sizeof(saddr.sun_path): len;
----------------^
make: *** [syscall.o]
Error 1
Does anyone know what is wrong ?
Thanks
--
Zoong Pham zpham@mercy.com.au
UNIX Systems Administrator Mercy Health and Aged Care Inc.
To get my PGP public key, email me with the subject:
Request for Zoong Pham's PGP public key
-------------- next part --------------
------------------------------------------------------------
If you are not the intended recipient of this communication
please delete and destroy all copies immediately. If you are
the intended recipient of this communication, you should not
copy, disclose or distribute this communication without the
authority of the sender.
Any views expressed in this communication are those of the
individual sender, except where the sender specifically
states them to be the views of the Company.
If you have received this email in error or have other
concerns regarding this transmission, please contact the
Mercy Health & Aged Care Mail Administrator.
Mercy Health & Aged Care
support@mercy.com.au or +613 9270 2600
------------------------------------------------------------