Hello, I have send the message below this message before. I guess nobody is familiar with my problem. So the next step is "use the source". The thing is I'm a windows developer. I have tried to build tinc before, a few years ago. And I know the linux developers think it is easy. And it always is, once you know what to do. But I got so many errors last time, I just gave up. I do have an Ubuntu VM running. Can somebody tell me how to add a build environment to Ubuntu to build tinc so I can track down this problem? Or even better, build it in windows? Thank you, Henk van der Meer Hello, I am trying to start a vpn connection from the command line. My interface and connection are called vpn. The command i use is: tincd -n vpn -D -d2. This is what I always do to test if I setup everything correctly. In this instance I get the error message: : De opgegeven klasse is niet gevonden. ICaa.....mp4H Could not set up a meta connection to ............. I left out some om the key and the hostname, I don't no if the key should be kept secret. The Dutch error message is windows error 10109: Class type not found. I have installed the latest version of tinc (1.0.26). The computer is running Windows 7 pro. I am running as administrator. Thank you, Henk van der Meer
Hello, With regards to my previous message and to help others. 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. 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. 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. Henk
On Tue, 20 Oct 2015 11:08:35 +0200 Henk van der Meer <henk at innomeer.nl> wrote:> Hello, > > With regards to my previous message and to help others. > 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. 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. > > 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. > > Henk >Hey, I've built tinc for windows myself recently. If you can install Debian in VM, then it's not that hard as it looks. Tinc website even includes guide for quick start: http://www.tinc-vpn.org/examples/cross-compiling-windows-binary/ Even when it's not a problem to cross compile software for me I followed it because I am lazy :) I needed to build Tinc for Windows because I made some changes to source code recently which makes it incompatible with original protocol. I cross compiled many things from Windows to Windows (32->64), and I usually develop on Windows using only mingw. -- http://lynxlynx.tk/ Power electronics made simple Unix and simple KISS C code
On Tue, Oct 20, 2015 at 11:08:35AM +0200, Henk van der Meer wrote:> 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.Oh, maybe I'll have to add proper handling of Macintosh file endings to tinc then...> 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.The error message you got is unfortunately very unhelpful whether in English or Dutch.> 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.Personally, I cross-compile tinc using MinGW on Linux. There is a description of how you can do that yourself here: http://tinc-vpn.org/examples/cross-compiling-windows-binary/ 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. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20151020/457422b6/attachment.sig>