compiling on HP-UX

Josef Schmid e9427749 at student.tuwien.ac.at
Thu May 27 20:57:15 GMT 2004


Hi, everybody here!

I hope not all is old stuff, because I only scanning subjects
fast in this list. (and sorry for my worse english, too.)

1) rsync 2.6.0 on HP-UX (HP-UX server B.11.00 U 9000/803)
   Running as server: crashed always after receiving data.
   The data is transmitted correctly, and the server dies
   afterwards. (rsync2.5.7 works anyway)
   (about rsync2.6.2 later)

2) compiling warnings for rsync 2.6.2 on HP-UX:
   (but not run-tested yet, because in production state
    and the rsync2.5.7 works.)

# make
[...]
        cc -I. -I. -Ae -O -DHAVE_CONFIG_H -I./popt  -c exclude.c -o exclude.o
cc: "exclude.c", line 273: warning 604: Pointers are not assignment-compatible.
cc: "exclude.c", line 273: warning 563: Argument #1 is not the correct type.
[...]
        cc -I. -I. -Ae -O -DHAVE_CONFIG_H -I./popt  -c socket.c -o socket.o
cc: "socket.c", line 433: warning 604: Pointers are not assignment-compatible.
cc: "socket.c", line 433: warning 563: Argument #5 is not the correct type.
... and for lines: 500, 716, 732
        cc -I. -I. -Ae -O -DHAVE_CONFIG_H -I./popt  -c clientname.c -o clientname.o
cc: "clientname.c", line 171: warning 604: Pointers are not assignment-compatible.
cc: "clientname.c", line 171: warning 563: Argument #3 is not the correct type.
        cc -I. -I. -Ae -O -DHAVE_CONFIG_H -I./popt  -c popt/poptconfig.c ...
cc: "popt/poptconfig.c", line 27: warning 604: Pointers are not assignment-compatible.
cc: "popt/poptconfig.c", line 27: warning 563: Argument #1 is not the correct type.
cc: "popt/poptconfig.c", line 34: warning 604: Pointers are not assignment-compatible.
cc: "popt/poptconfig.c", line 40: warning 604: Pointers are not assignment-compatible.
        cc -I. -I. -Ae -O -DHAVE_CONFIG_H -I./popt  -c popt/popthelp.c -o ...
cc: "popt/popthelp.c", line 194: warning 604: Pointers are not assignment-compatible.
cc: "popt/popthelp.c", line 211: warning 604: Pointers are not assignment-compatible.
cc: "popt/popthelp.c", line 211: warning 563: Argument #1 is not the correct type.
... same for line: 215, 217, 222, and so on
        cc -I. -I. -Ae -O -DHAVE_CONFIG_H -I./popt  -c popt/poptparse.c -o ...
cc: "popt/poptparse.c", line 61: warning 604: Pointers are not assignment-compatible.
cc: "popt/poptparse.c", line 61: warning 563: Argument #1 is not the correct type.


Warnings from gcc:

exclude.c: In function `get_exclude_tok':
exclude.c:252: warning: signed and unsigned type in conditional expression
exclude.c:269: warning: signed and unsigned type in conditional expression
exclude.c: In function `add_exclude_file':
exclude.c:350: warning: signed and unsigned type in conditional expression
util.c: In function `strlower':
util.c:578: warning: signed and unsigned type in conditional expression
In file included from options.c:22:
popt/popt.h:377: warning: type qualifiers ignored on function return type
socket.c: In function `establish_proxy_connection':
socket.c:97: warning: signed and unsigned type in conditional expression
socket.c: In function `try_bind_local':
socket.c:139: warning: implicit declaration of function `getaddrinfo'
socket.c:148: warning: implicit declaration of function `freeaddrinfo'
socket.c: In function `is_a_socket':
socket.c:433: warning: passing arg 5 of `getsockopt' from incompatible pointer type
socket.c: In function `start_accept_loop':
socket.c:501: warning: passing arg 3 of `accept' from incompatible pointer type
socket.c: In function `socketpair_tcp':
socket.c:716: warning: passing arg 3 of `getsockname' from incompatible pointer type
socket.c:732: warning: passing arg 3 of `accept' from incompatible pointer type
clientname.c: In function `client_addr':
clientname.c:71: warning: implicit declaration of function `getnameinfo'
clientname.c: In function `client_name':
clientname.c:126: warning: implicit declaration of function `getaddrinfo'
clientname.c:144: warning: implicit declaration of function `freeaddrinfo'
clientname.c: In function `client_sockaddr':
clientname.c:171: warning: passing arg 3 of `getpeername' from
                  incompatible pointer type
params.c: In function `EatWhitespace':
params.c:120: warning: signed and unsigned type in conditional expression
params.c: In function `Continuation':
params.c:167: warning: signed and unsigned type in conditional expression
params.c: In function `Section':
params.c:247: warning: signed and unsigned type in conditional expression
params.c: In function `Parameter':
params.c:346: warning: signed and unsigned type in conditional expression
params.c:389: warning: signed and unsigned type in conditional expression
params.c:397: warning: signed and unsigned type in conditional expression
loadparm.c: In function `strwicmp':
loadparm.c:484: warning: signed and unsigned type in conditional expression
loadparm.c:486: warning: signed and unsigned type in conditional expression
clientserver.c: In function `rsync_module':
clientserver.c:266: warning: signed and unsigned type in conditional expression
clientserver.c:276: warning: signed and unsigned type in conditional expression
access.c: In function `match_address':
access.c:102: warning: implicit declaration of function `getaddrinfo'
access.c:113: warning: implicit declaration of function `freeaddrinfo'
lib/wildmatch.c: In function `domatch':
lib/wildmatch.c:159: warning: signed and unsigned type in conditional expression
lib/wildmatch.c:163: warning: signed and unsigned type in conditional expression
lib/wildmatch.c:171: warning: signed and unsigned type in conditional expression
lib/wildmatch.c:175: warning: signed and unsigned type in conditional expression
lib/wildmatch.c:179: warning: signed and unsigned type in conditional expression
lib/wildmatch.c:183: warning: signed and unsigned type in conditional expression
lib/wildmatch.c:187: warning: signed and unsigned type in conditional expression
lib/wildmatch.c:191: warning: signed and unsigned type in conditional expression
lib/wildmatch.c:195: warning: signed and unsigned type in conditional expression
lib/wildmatch.c:199: warning: signed and unsigned type in conditional expression
lib/wildmatch.c:203: warning: signed and unsigned type in conditional expression
lib/snprintf.c: In function `dopr':
lib/snprintf.c:202: warning: signed and unsigned type in conditional expression
lib/snprintf.c:222: warning: signed and unsigned type in conditional expression
lib/getaddrinfo.c: In function `str_isnumber':
lib/getaddrinfo.c:206: warning: subscript has type `char'
lib/getaddrinfo.c:206: warning: signed and unsigned type in conditional expression
lib/getnameinfo.c: In function `getnameinfo':
lib/getnameinfo.c:115: warning: comparison between signed and unsigned
In file included from popt/system.h:82,
                 from popt/findme.c:9:
popt/popt.h:377: warning: type qualifiers ignored on function return type
popt/findme.c: In function `findProgramPath':
popt/findme.c:25: warning: implicit declaration of function `alloca'
In file included from popt/system.h:82,
                 from popt/popt.c:11:
popt/popt.h:377: warning: type qualifiers ignored on function return type
popt/popt.c: In function `execCommand':
popt/popt.c:369: warning: implicit declaration of function `alloca'
popt/popt.c: At top level:
popt/popt.c:1132: warning: type qualifiers ignored on function return type
In file included from popt/system.h:82,
                 from popt/poptconfig.c:9:
popt/popt.h:377: warning: type qualifiers ignored on function return type
popt/poptconfig.c: In function `configLine':
popt/poptconfig.c:21: warning: implicit declaration of function `alloca'
popt/poptconfig.c:31+33+35+38+41+44: warning: signed and unsigned type in
                  cond. expression
popt/poptconfig.c: In function `poptReadConfigFile':
popt/poptconfig.c:137: warning: signed and unsigned type in conditional expression
In file included from popt/system.h:82,
                 from popt/popthelp.c:12:
popt/popt.h:377: warning: type qualifiers ignored on function return type
popt/popthelp.c:69: warning: type qualifiers ignored on function return type
popt/popthelp.c:90: warning: type qualifiers ignored on function return type
popt/popthelp.c: In function `singleOptionHelp':
popt/popthelp.c:321+323+331: warning: signed and unsigned type in
                 conditional expression
popt/popthelp.c: In function `showShortOptions':
popt/popthelp.c:611: warning: implicit declaration of function `alloca'
In file included from popt/system.h:82,
                 from popt/poptparse.c:9:
popt/popt.h:377: warning: type qualifiers ignored on function return type
popt/poptparse.c: In function `poptParseArgvString':
popt/poptparse.c:62: warning: implicit declaration of function `alloca'
popt/poptparse.c:81: warning: signed and unsigned type in conditional expression


3) cygwin Troubles (under Win2000):
   as client (rsync 2.6.0 direct connections), sending data:
   Sometimes one some machines it get very very very slow.
   Stops more or less.
   I have no idea, what is different on that machines
   and what situations forces this behavior.
   But I doesnt test with the last cygwin-1.dll (1.5.10-3 downloaded now),
   so maybe the problem is gone.

 thanks,
   Josef Schmid


More information about the rsync mailing list