Hi all,

I'm trying to compile and install the latest version of rsync, but I'm getting 
stuck...I know very little C and even less about compiling it and what errors 
properly mean. This is what I'm getting after running `make` (already done 
./configure):
root at beleg-ia:/var/tmp/rsync-3.0.5# make
perl ./mkproto.pl ./*.c ./lib/compat.c
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -c 
flist.c -o flist.o
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -c 
rsync.c -o rsync.o
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -c 
generator.c -o generator.o
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -c 
receiver.c -o receiver.o
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -c 
cleanup.c -o cleanup.o
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -c 
sender.c -o sender.o
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -c 
exclude.c -o exclude.o
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -c 
util.c -o util.o
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -c 
main.c -o main.o
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -c 
checksum.c -o checksum.o
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -c 
match.c -o match.o
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -Wno-unused-parameter -c 
syscall.c -o syscall.o
syscall.c: In function `get_create_time':
syscall.c:406: error: storage size of 'attrList' isn't known
syscall.c:409: error: `ATTR_BIT_MAP_COUNT' undeclared (first use in this 
function)
syscall.c:409: error: (Each undeclared identifier is reported only once
syscall.c:409: error: for each function it appears in.)
syscall.c:410: error: `ATTR_CMN_CRTIME' undeclared (first use in this function)
syscall.c:411: warning: implicit declaration of function `getattrlist'
syscall.c:411: error: `FSOPT_NOFOLLOW' undeclared (first use in this function)
syscall.c:406: warning: unused variable `attrList'
syscall.c: In function `set_create_time':
syscall.c:418: error: storage size of 'attrList' isn't known
syscall.c:428: error: `ATTR_BIT_MAP_COUNT' undeclared (first use in this 
function)
syscall.c:429: error: `ATTR_CMN_CRTIME' undeclared (first use in this function)
syscall.c:430: warning: implicit declaration of function `setattrlist'
syscall.c:430: error: `FSOPT_NOFOLLOW' undeclared (first use in this function)
syscall.c:418: warning: unused variable `attrList'
make: *** [syscall.o] Error 1

Can anyone help out?
I want to upgrade because I've heard that it better supports OS X attributes.

Thanks for any help :)

Ben
-- 
This message posted from opensolaris.org

Reply via email to