<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">Op 20-10-2015 om 11:37 schreef Guus
Sliepen:<br>
</div>
<blockquote cite="mid:20151020093716.GU17506@sliepen.org"
type="cite">
<pre wrap="">On Tue, Oct 20, 2015 at 11:08:35AM +0200, Henk van der Meer wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Using the source I tracked the problem down to a call to getaddrinfo
that failed. After a lot of trying I found out that somehow my host
file got notepad++ macintosh file endings. Never even knew it existed.
</pre>
</blockquote>
<pre wrap="">
Oh, maybe I'll have to add proper handling of Macintosh file endings to
tinc then...
</pre>
<blockquote type="cite">
<pre wrap="">Anyhow changing that to Dos\Windows fixed my problem. Maybe the error
message could include the error number. Looking/google-ing for a not
English (Dutch) error message is hard.
</pre>
</blockquote>
<pre wrap="">
The error message you got is unfortunately very unhelpful whether in
English or Dutch.
</pre>
</blockquote>
It would have been easier if it was easier to find the source code
location of the error. <br>
What i did not realize is that the log messages you get from using
tincd -D -d3 are different from the log messages you get when you
log to a file. The log to the file is what finally set me in the
right direction. <br>
<br>
<blockquote cite="mid:20151020093716.GU17506@sliepen.org"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">This proofs the added value of having the source code. being able to build
it would even be better. So if anybody has some pointers than please.
</pre>
</blockquote>
<pre wrap="">
Personally, I cross-compile tinc using MinGW on Linux. There is a
description of how you can do that yourself here:
<a class="moz-txt-link-freetext" href="http://tinc-vpn.org/examples/cross-compiling-windows-binary/">http://tinc-vpn.org/examples/cross-compiling-windows-binary/</a>
It should be possible to build it using MinGW on Windows itself in a
similar way, but without using the --host option or the "mingw" script
from the cross-compilation example of course.
</pre>
</blockquote>
I would like to build the windows version on windows in the end.
I'll start with the Linux build first.<br>
My end goal would be to run tincd in a debugger. I like to see the
code run when I run into hard problems.<br>
<br>
<blockquote cite="mid:20151020093716.GU17506@sliepen.org"
type="cite">
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
tinc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a>
<a class="moz-txt-link-freetext" href="http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc">http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a>
</pre>
</blockquote>
<br>
</body>
</html>