Compiling with --disable-iconv

Rob Bosch robbosch at msn.com
Sun Feb 3 23:06:55 GMT 2008


I've been trying to compile 3.0.0pre8 under cygwin.  I was getting a problem with the iconv functions which I think are related to the cygwin environment and its iconv.h.
 
To bypass it I wanted to compile with the --disable-iconv function.  I'm still getting the following errors during compile:
 
/usr/src/rsync-3.0.0pre8/rsync.c:85: undefined reference to `_iconv_open'rsync.o: In function `iconvbufs':/usr/src/rsync-3.0.0pre8/rsync.c:193: undefined reference to `_iconv'/usr/src/rsync-3.0.0pre8/rsync.c:163: undefined reference to `_iconv'collect2: ld returned 1 exit statusmake: *** [rsync.exe] Error 1
 
It looks like the line 85 and 163 are not conditionalized for the --disable-iconv option.  I'm not sure why line 193 is showing the error.
 
Any suggestions?  Am I missing something (as usual)?Rob 
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list