RSYNC "make" problems with HP UX 11.0 & GCC 3.3.2

Poe, David dpoe at medplus.com
Wed Sep 14 19:27:13 GMT 2005


I am an rsync newbie trying to setup rsync on a HP UX 11.0 server, but
am running into problems in my "make".  I am using gcc version 3.3.2 and
rsync-2.6.6.tar.gz.  Would any of you have ideas on troubleshooting this
issue?  I haven't had much luck googling info on this, with the
exception of switching from HP's simple c compiler to gcc.  The warnings
and errors I am recieving are below.  TIA!
 
-Dave Poe
 
bash-2.04# make
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c rsync.c -o
rsync.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c generator.c -o
generator.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c receiver.c -o
receiver.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c cleanup.c -o
cleanup.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c sender.c -o
sender.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c exclude.c -o
exclude.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c util.c -o
util.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c main.c -o
main.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c checksum.c -o
checksum.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c match.c -o
match.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c syscall.c -o
syscall.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c log.c -o log.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c backup.c -o
backup.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c options.c -o
options.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c flist.c -o
flist.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c io.c -o io.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c compat.c -o
compat.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c hlink.c -o
hlink.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c token.c -o
token.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c uidlist.c -o
uidlist.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c socket.c -o
socket.o
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:427: warning: passing arg 5 of `getsockopt' from incompatible
pointer type
socket.c: In function `start_accept_loop':
socket.c:495: warning: passing arg 3 of `accept' from incompatible
pointer type
socket.c: In function `socketpair_tcp':
socket.c:707: warning: passing arg 3 of `getsockname' from incompatible
pointer type
socket.c:723: warning: passing arg 3 of `accept' from incompatible
pointer type
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c fileio.c -o
fileio.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c batch.c -o
batch.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c clientname.c -o
clientname.o
clientname.c: In function `client_addr':
clientname.c:69: warning: implicit declaration of function `getnameinfo'
clientname.c: In function `client_name':
clientname.c:124: warning: implicit declaration of function
`getaddrinfo'
clientname.c:142: warning: implicit declaration of function
`freeaddrinfo'
clientname.c: In function `client_sockaddr':
clientname.c:169: warning: passing arg 3 of `getpeername' from
incompatible pointer type
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c progress.c -o
progress.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c pipe.c -o
pipe.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c params.c -o
params.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c loadparm.c -o
loadparm.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c clientserver.c
-o clientserver.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c access.c -o
access.o
access.c: In function `match_address':
access.c:107: warning: implicit declaration of function `getaddrinfo'
access.c:119: warning: implicit declaration of function `freeaddrinfo'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c connection.c -o
connection.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c authenticate.c
-o authenticate.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c lib/wildmatch.c
-o lib/wildmatch.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c lib/compat.c -o
lib/compat.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c lib/snprintf.c
-o lib/snprintf.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c lib/mdfour.c -o
lib/mdfour.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c
lib/permstring.c -o lib/permstring.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c
lib/pool_alloc.c -o lib/pool_alloc.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c lib/inet_ntop.c
-o lib/inet_ntop.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c lib/inet_pton.c
-o lib/inet_pton.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c
lib/getaddrinfo.c -o lib/getaddrinfo.o
lib/getaddrinfo.c: In function `str_isnumber':
lib/getaddrinfo.c:206: warning: subscript has type `char'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c
lib/getnameinfo.c -o lib/getnameinfo.o
lib/getnameinfo.c: In function `getnameinfo':
lib/getnameinfo.c:115: warning: comparison between signed and unsigned
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c zlib/deflate.c
-o zlib/deflate.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c zlib/inffast.c
-o zlib/inffast.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c zlib/inflate.c
-o zlib/inflate.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c zlib/inftrees.c
-o zlib/inftrees.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c zlib/trees.c -o
zlib/trees.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c zlib/zutil.c -o
zlib/zutil.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c zlib/adler32.c
-o zlib/adler32.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c zlib/compress.c
-o zlib/compress.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c zlib/crc32.c -o
zlib/crc32.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c popt/findme.c
-o popt/findme.o
popt/findme.c: In function `findProgramPath':
popt/findme.c:25: warning: implicit declaration of function `alloca'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c popt/popt.c -o
popt/popt.o
popt/popt.c: In function `execCommand':
popt/popt.c:369: warning: implicit declaration of function `alloca'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c
popt/poptconfig.c -o popt/poptconfig.o
popt/poptconfig.c: In function `configLine':
popt/poptconfig.c:21: warning: implicit declaration of function `alloca'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c popt/popthelp.c
-o popt/popthelp.o
popt/popthelp.c: In function `showShortOptions':
popt/popthelp.c:611: warning: implicit declaration of function `alloca'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c
popt/poptparse.c -o popt/poptparse.o
popt/poptparse.c: In function `poptParseArgvString':
popt/poptparse.c:62: warning: implicit declaration of function `alloca'
gcc -g -O2 -DHAVE_CONFIG_H -Wall -W -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/wildmatch.o lib/compat.o
lib/snprintf.o lib/mdfour.o lib/permstring.o lib/pool_alloc.o
lib/inet_ntop.o lib/inet_pton.o lib/getaddrinfo.o lib/getnameinfo.o
zlib/deflate.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o
zlib/trees.o zlib/zutil.o zlib/adler32.o zlib/compress.o zlib/crc32.o
popt/findme.o  popt/popt.o  popt/poptconfig.o popt/popthelp.o
popt/poptparse.o
/usr/ccs/bin/ld: Unsatisfied symbols:
   _U_Qfneg (first referenced in lib/snprintf.o) (code)
collect2: ld returned 1 exit status
make: *** [rsync] Error 1
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list