Problems compiling rsync with latest update

Kevin Takenaga slytake@yahoo.com
Tue Sep 18 11:23:00 GMT 2001


I'm getting the following output when I try to compile
rsync against the latest sources:

bash-2.05$ make
gcc -I. -I. -O -c rsync.c -o rsync.o
In file included from /usr/include/unistd.h:7,
                 from rsync.h:87,
                 from rsync.c:23:
/usr/include/getopt.h:41: redefinition of `struct
option'
/usr/include/getopt.h:56: conflicting types for
`getopt_long'
lib/getopt.h:107: previous declaration of
`getopt_long'
make: *** [rsync.o] Error 1

I noticed there was a change to the getopt.h in the
last cygwin update.

--kevin



__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list