Address family not supported

WindyWinter bslgh1 at gmail.com
Sun Aug 23 07:42:13 CEST 2009


Thanks a lot.

I tried to fix configure.in and reconf to let configure generate correct
config.h for Windows XP, but finally i failed. So I have to edit several
files manually. And I got weird compile errors when compiling git version
(I'm trying to figure out what happened).

For 1.09,

1. replace "#ifdef HAVE_MINGW ... #endif" with the following one:
#ifdef HAVE_MINGW
#include <w32api.h>
#define WINVER WindowsXP
#include <windows.h>
#include <ws2tcpip.h>
#endif

2. manually add these defines to config.h after ./configure:
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1

Hopefully this brutish way is not only a specialty on my computer but also
works for someone else.

It seems that the program halted at the initialize part because it produced
the same RTE while running with no parameters at all.

Building IPv4 over IPv6 tunnels will help many Chinese students get cheaper,
faster and more reliable Internet connections. But now finding a VPN
solution on Windows platform becomes the problem. I've contacted developers
of OpenVPN and it seems that they have no interests on supporting IPv6. I'm
not that skilled to accomplish it by myself. So I'm counting on you. Thank
you.
----------
Soli Deo gloria,
yours WindyWinter
and http://www.briefdream.com


On Sun, Aug 23, 2009 at 4:50 AM, Guus Sliepen <guus at tinc-vpn.org> wrote:

> On Sun, Aug 23, 2009 at 01:52:37AM +0800, WindyWinter wrote:
>
> > Well, finally I got it compiled, with several defines, changing from
> > winsock2.h to ws2tcpip.h and msys... But when I try to run the binary, I
> got
> > a RTE. It's the same to segmentation fault, but I'm not able to provide
> the
> > exact error message in English because I'm running a Chinese version
> > Windows.
>
> Aha. Did you compile 1.0.9 or the latest version from git? In any case, if
> you
> send me the changes you made, you save me some work and I can try to
> reproduce
> the run-time exceptions, and see what further needs to be changed to get it
> to
> run properly with tunnels over IPv6.
>
> > Will it be better for me to wait till October?
> > It's most likely that this happened when I try to run OpenVPN with a udp6
> > patch.
>
> You have to decide yourself what is best for you.
>
> --
> Met vriendelijke groet / with kind regards,
>     Guus Sliepen <guus at tinc-vpn.org>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkqQWhUACgkQAxLow12M2nt9XACfaJYOBq77OmvOaJzJdIdkwDbf
> lJoAoKa5YQa37TkaSV6djV0aHCF3RyVZ
> =1qQx
> -----END PGP SIGNATURE-----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20090823/08d1aacc/attachment.htm>


More information about the tinc mailing list