This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems compiling rsync with latest update


On Tue, Sep 18, 2001 at 11:21:45AM -0700, Kevin Takenaga wrote:
>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.

The last update to getopt.h was in 2000/10/28.

cgf

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]