Making rsync compile under Mac OS X 10.3.9 with extended attributes

Vitorio Machado v.machado at
Tue Feb 12 11:29:25 GMT 2008

It seems that this problem is generated by the inclusion of the  
Carbon API that have conflicting headers with the *NIX ones...

I don't know if doing export C_INCLUDE_PATH=/Developer/SDKs/ 
MacOSX10.4.0.sdk/Developer/Headers/CFMCarbon/ is the correct way to  
link with the CarbonCore.

I'm trying some things unsuccessfully mainly because I'm really lost  
with all this complexity of configure, automake, linking etc. If  
somebody more skilled on compiling can help me on this, would be great!


Vitorio - a little lost in all those automatically generated code lines

Le 11 févr. 08 à 23:35, Vitorio Machado a écrit :
> iMac:/Volumes/Nomade/Input/rsync-3.0.1 lag$ make
> perl ./ ./*.c ./lib/compat.c
> gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c  
> flist.c -o flist.o
> In file included from rsync.h:351,
>                  from flist.c:23:
> /usr/include/sys/file.h:81: error: parse error before 'caddr_t'
> In file included from rsync.h:916,
>                  from flist.c:23:
> proto.h:301: error: parse error before 'u_long'
> flist.c: In function 'send_file_entry':
> flist.c:429: warning: implicit declaration of function 'major'
> flist.c:433: warning: implicit declaration of function 'minor'
> flist.c:437: warning: implicit declaration of function 'makedev'
> make: *** [flist.o] Error 1

More information about the rsync mailing list