anyone compile source on Mac OS X?

Derek Sivers cdbaby at mac.com
Wed Feb 27 14:59:57 EST 2002


Did anyone have any luck compiling rsync 2.5.2, from source, on Mac OS X?

Doing a straight ./configure && make, I get the error below.

I've searched the lists here with no luck.  Any pointers, or any URL 
with more info would be great.

Thanks!


RSYNC 2.5.2 COMPILING ERROR ON MAC OS X:

root# make
Please ignore warnings below about mktemp -- it is used in a safe way
cc -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 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/inet_ntop.o lib/inet_pton.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
/usr/bin/ld: warning multiple definitions of symbol _snprintf
lib/snprintf.o definition of _snprintf in section (__TEXT,__text)
/usr/lib/libSystem.dylib(snprintf.o) definition of _snprintf
/usr/bin/ld: warning multiple definitions of symbol _vsnprintf
lib/snprintf.o definition of _vsnprintf in section (__TEXT,__text)
/usr/lib/libSystem.dylib(vsnprintf.o) definition of _vsnprintf
/usr/bin/ld: Undefined symbols:
_freehostent
_getipnodebyaddr
make: *** [rsync] Error 1





More information about the rsync mailing list