anyone compile source on Mac OS X?

Dave Dykstra dwd at
Thu Feb 28 06:20:02 EST 2002

I get those warnings but not those undefined symbols.  They're coming from
lib/getnameinfo.c when INET6 is defined, and I use --disable-ipv6 on all
the platforms I compile on so I didn't notice it.  You could try using
that.  Other than that, somebody should try to figure out why the test couldn't autodetect that Mac OSX didn't autodetect that
ipv6 wouldn't work, or fix it so ipv6 will work.

Oddly, Mac OSX appears to have its own getaddrinfo but no getnameinfo.

- Dave

On Tue, Feb 26, 2002 at 07:59:57PM -0800, Derek Sivers wrote:
> 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!
> 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
> -- 
> To unsubscribe or change options: 
> Before posting, read:

More information about the rsync mailing list