rsync 3.0.8 failed to compile with strange linker error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

rsync 3.0.8 failed to compile with strange linker error

Cesar Romani-4

I'm trying to build rsync 3.0.8 on msys 1.0.17, gcc 3.4.4, and I'm
getting the following linker error:

gcc -std=gnu99 -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt
-Wno-unused-parameter  -o rsync.exe flist.o 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 io.o compat.o hlink.o token.o
uidlist.o socket.o hashtable.o fileio.o batch.o clientname.o chmod.o
acls.o xattrs.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/md5.o lib/permstring.o lib/pool_alloc.o
lib/sysacls.o lib/sysxattrs.o  lib/inet_ntop.o lib/inet_pton.o
lib/getaddrinfo.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
fu000001.o:(.idata$2+0xc): undefined reference to `_templib_a_iname'
nmth000000.o:(.idata$4+0x0): undefined reference to `__nm__h_errno'
collect2: ld returned 1 exit status
make: *** [rsync.exe] Error 1

Many thanks in advance,


Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
Mingw-msys mailing list
[hidden email]