rsync 2.5.6 for NCR MP-RAS

Mike.Li at schenker.ca Mike.Li at schenker.ca
Thu Jun 26 03:26:44 EST 2003


Hi :
Anyone who would be able to help for the issue below. Thanks.




Mike Li
06/21/2003 09:05 AM


        To:     Martin Pool <mbp at samba.org>
        cc:     rsync at lists.samba.org
        Subject:        Re: rsync 2.5.6 for NCR MP-RAS

Hi:
After compiling rsync2.5.6 using on SVR4 on Intel HW, Please help
# ./rsync --version
rsync: --version: unknown option
rsync error: syntax or usage error (code 1) at main.c(994)
# ./rsync --help
Segmentation Fault - core dumped

Here is log of compilation.
Script started on Sat Jun 21 05:56:15 2003
# make
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c rsync.c -o rsync.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c generator.c -o 
generator.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c receiver.c -o 
receiver.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "receiver.c",L134/C9(#257):   '=' encountered where '==' may have been 
intended.
No errors   1 warning 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c cleanup.c -o cleanup.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "cleanup.c",L62/C22(#684): 
|    Trigraph "??)" detected but not replaced; turn on TRIGRAPHS toggle.
No errors   1 warning 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c sender.c -o sender.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c exclude.c -o exclude.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c util.c -o util.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "util.c",L174/C10(#257):      '=' encountered where '==' may have been 
intended.
w "util.c",L516/C10(#257):      '=' encountered where '==' may have been 
intended.
w "util.c",L559/C8(#257):       '=' encountered where '==' may have been 
intended.
w "util.c",L567/C8(#257):       '=' encountered where '==' may have been 
intended.
No errors   4 warnings 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c main.c -o main.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "main.c",L674/C9(#257):       '=' encountered where '==' may have been 
intended.
w "main.c",L712/C7(#257):       '=' encountered where '==' may have been 
intended.
No errors   2 warnings 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c checksum.c -o 
checksum.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c match.c -o match.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c syscall.c -o syscall.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c log.c -o log.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "log.c",L433/C13(#257):       '=' encountered where '==' may have been 
intended.
No errors   1 warning 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c backup.c -o backup.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "backup.c",L105/C17(#257):    '=' encountered where '==' may have been 
intended.
No errors   1 warning 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c options.c -o options.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "options.c",L417/C10(#257):   '=' encountered where '==' may have been 
intended.
No errors   1 warning 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c flist.c -o flist.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "flist.c",L509/C7(#257):      '=' encountered where '==' may have been 
intended.
w "flist.c",L711/C7(#257):      '=' encountered where '==' may have been 
intended.
w "flist.c",L945/C26(#257):     '=' encountered where '==' may have been 
intended.
w "flist.c",L952/C26(#257):     '=' encountered where '==' may have been 
intended.
No errors   4 warnings 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c io.c -o io.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c compat.c -o compat.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c hlink.c -o hlink.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "hlink.c",L60/C8(#257):       '=' encountered where '==' may have been 
intended.
No errors   1 warning 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c token.c -o token.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c uidlist.c -o uidlist.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "uidlist.c",L145/C9(#257):    '=' encountered where '==' may have been 
intended.
w "uidlist.c",L157/C8(#257):    '=' encountered where '==' may have been 
intended.
w "uidlist.c",L174/C9(#257):    '=' encountered where '==' may have been 
intended.
w "uidlist.c",L186/C8(#257):    '=' encountered where '==' may have been 
intended.
No errors   4 warnings 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c socket.c -o socket.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "socket.c",L118/C7(#257):     '=' encountered where '==' may have been 
intended.
w "socket.c",L520/C8(#257):     '=' encountered where '==' may have been 
intended.
No errors   2 warnings 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c fileio.c -o fileio.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c batch.c -o batch.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c clientname.c -o 
clientname.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c progress.c -o 
progress.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c pipe.c -o pipe.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c params.c -o params.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c loadparm.c -o 
loadparm.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c clientserver.c -o 
clientserver.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c access.c -o access.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c connection.c -o 
connection.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c authenticate.c -o 
authenticate.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "authenticate.c",L274/C8(#257):       '=' encountered where '==' may 
have been intended.
w "authenticate.c",L274/C43(#257):      '=' encountered where '==' may 
have been intended.
No errors   2 warnings 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c lib/fnmatch.c -o 
lib/fnmatch.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c lib/compat.c -o 
lib/compat.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c lib/snprintf.c -o 
lib/snprintf.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c lib/mdfour.c -o 
lib/mdfour.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c lib/permstring.c -o 
lib/permstring.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c lib/getaddrinfo.c -o 
lib/getaddrinfo.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "lib/getaddrinfo.c",L308/C4(#64):     Unreachable statement.
No errors   1 warning 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c lib/getnameinfo.c -o 
lib/getnameinfo.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c zlib/deflate.c -o 
zlib/deflate.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c zlib/infblock.c -o 
zlib/infblock.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c zlib/infcodes.c -o 
zlib/infcodes.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c zlib/inffast.c -o 
zlib/inffast.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c zlib/inflate.c -o 
zlib/inflate.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c zlib/inftrees.c -o 
zlib/inftrees.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c zlib/infutil.c -o 
zlib/infutil.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c zlib/trees.c -o 
zlib/trees.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c zlib/zutil.c -o 
zlib/zutil.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c zlib/adler32.c -o 
zlib/adler32.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c popt/findme.c -o 
popt/findme.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "popt/findme.c",L33/C7(#257): '=' encountered where '==' may have been 
intended.
No errors   1 warning 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c popt/popt.c -o 
popt/popt.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "popt/popt.c",L575/C41(#64):  Unreachable statement.
w "popt/popt.c",L625/C19(#64):  Unreachable statement.
w "popt/popt.c",L653/C19(#64):  Unreachable statement.
w "popt/popt.c",L910/C9(#311):  _ABS: Previous definition of macro 
superseded
|    (defined at "/usr/include/math.h",L232/C9).
w "popt/popt.c",L1091/C19(#64): Unreachable statement.
w (#657):       (info) How referenced files were included:
|    File /usr/include/math.h from popt/popt.c.
No errors   5 warnings 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c popt/poptconfig.c -o 
popt/poptconfig.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "popt/poptconfig.c",L174/C10(#257):   '=' encountered where '==' may 
have been intended.
No errors   1 warning 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c popt/popthelp.c -o 
popt/popthelp.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
w "popt/popthelp.c",L173/C19(#64):      Unreachable statement.
No errors   1 warning 
        cc -I. -I. -g -DHAVE_CONFIG_H -I./popt  -c popt/poptparse.c -o 
popt/poptparse.o
NCR High Performance C Compiler R3.0c 
(c) Copyright 1994-97, NCR Corporation
(c) Copyright 1987-97, MetaWare Incorporated
        cc -g -DHAVE_CONFIG_H -I./popt  -o rsync rsync.o generator.o 
receiver.o cleanup.o sender.o exclude.o util.o  main.o checksum.o match.o 
syscall.o log.o backup.o options.o flist.o io.o compat.o hlink.o token.o 
uidlist.o socket.o  fileio.o batch.o clientname.o progress.o pipe.o 
params.o loadparm.o clientserver.o access.o connection.o authenticate.o 
lib/fnmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o  lib/permstring.o 
lib/getaddrinfo.o lib/getnameinfo.o zlib/deflate.o zlib/infblock.o 
zlib/infcodes.o zlib/inffast.o  zlib/inflate.o zlib/inftrees.o 
zlib/infutil.o zlib/trees.o  zlib/zutil.o zlib/adler32.o popt/findme.o 
popt/popt.o  popt/poptconfig.o  popt/popthelp.o popt/poptparse.o -lresolv 
-lsocket -lnsl 

# rm core
# exit

script done on Sat Jun 21 05:57:44 2003

Best regards,
Mike  Li





More information about the rsync mailing list