Rsync 2.6.0 compile problem

Rick Frerichs rick at flightsim.com
Tue Mar 16 22:41:06 GMT 2004


I am trying to compile rsync-2.6.0 on BSD/OS 5.0
patched to current level.  gcc version 2.95.3

I ran configure:  ./configure --with-rsh=rsh

This is the only error message given by configure:

checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... yes
configure: WARNING: sys/sysctl.h: present but cannot be compiled
configure: WARNING: sys/sysctl.h: check for missing prerequisite headers?
configure: WARNING: sys/sysctl.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for sys/sysctl.h... yes

If I try to compile, I get this make error:

gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c popt/popt.c -o
popt/popt.o
popt/popt.c: In function `poptAddAlias':
popt/popt.c:1058: warning: unused parameter `flags'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c
popt/poptconfig.c -o popt/poptconfig.o
popt/poptconfig.c: In function `poptReadDefaultConfig':
popt/poptconfig.c:162: warning: unused parameter `useEnv'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c popt/popthelp.c -o
popt/popthelp.o
popt/popthelp.c: In function `displayArgs':
popt/popthelp.c:20: warning: unused parameter `foo'
popt/popthelp.c:22: warning: unused parameter `arg'
popt/popthelp.c:22: warning: unused parameter `data'
popt/popthelp.c: In function `getArgDescrip':
popt/popthelp.c:87: warning: unused parameter `translation_domain'
popt/popthelp.c: In function `singleOptionDefaultValue':
popt/popthelp.c:118: warning: unused parameter `translation_domain'
popt/popthelp.c: In function `poptPrintHelp':
popt/popthelp.c:478: warning: unused parameter `flags'
popt/popthelp.c: In function `poptPrintUsage':
popt/popthelp.c:637: warning: unused parameter `flags'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c popt/poptparse.c -o
popt/poptparse.o

Can anybody get me a step in the right direction?

Thank you in advance,
Rick



More information about the rsync mailing list