This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Redefinition of `struct in6_addr'?
- From: Max Balduino <max dot balduino at gmail dot com>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 24 Apr 2013 17:34:46 +0200
- Subject: Redefinition of `struct in6_addr'?
Dear all,
Looks like there's something wrong here:
userwinemt@ioxp /usr/src/vpnc-0.5.2
$ make install
LC_ALL=C perl -w ./enum2debug.pl isakmp.h >vpnc-debug.c 2>vpnc-debug.h
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings
-DVERSION=\"0.5.2\" -c -o sysdep.o sysdep.c
In file included from /usr/include/cygwin/in.h:267,
from /usr/include/netinet/in.h:14,
from sysdep.h:23,
from sysdep.c:71:
/usr/include/cygwin/in6.h:76: error: redefinition of `struct in6_addr'
I'm compiling vpnc-0.5.2 on a fresh cygwin environment, just
downloaded from stable distribution. I'm using gcc version 3.4.4
(cygming special, gdc 0.12, using dmd 0.125). I've googled for it and
found a post reading "Problems with latest cygwin + latest sources"
that claims for the same error.
Anybody has seen this before or has a quick workaround, please?
Best Regards,
Max.