Hi Guus,<br><br>When I compile Tinc 1.0.18, It compiles well:<br><br>--------------------------------------------------------------------<br>[root@server tinc-1.0.18]#./compile<br>.<br>.<br><br>checking for EVP_EncryptInit_ex... yes<br>
checking whether OpenSSL_add_all_algorithms is declared... yes<br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating src/Makefile<br>config.status: creating doc/Makefile<br>
config.status: creating lib/Makefile<br>config.status: creating m4/Makefile<br>config.status: creating config.h<br>config.status: config.h is unchanged<br>config.status: executing depfiles commands<br>[root@server tinc-1.0.18]#<br>
[root@server tinc-1.0.18]#<br><br>[root@server tinc-1.0.18]#make<br>.<br>.<br>.<br>make[2]: Leaving directory `/usr/src/tinc-1.0.18/src'<br>Making all in doc<br>make[2]: Entering directory `/usr/src/tinc-1.0.18/doc'<br>
sed -e s,'@PACKAGE\@',"tinc",g -e s,'@VERSION\@',"1.0.18",g -e s,'@sysconfdir\@',"/usr/local/etc",g -e s,'@localstatedir\@',"/usr/local/var",g <a href="http://tincinclude.texi.in">tincinclude.texi.in</a> > tincinclude.texi<br>
sed -e s,'@PACKAGE\@',"tinc",g -e s,'@VERSION\@',"1.0.18",g -e s,'@sysconfdir\@',"/usr/local/etc",g -e s,'@localstatedir\@',"/usr/local/var",g <a href="http://tincd.8.in">tincd.8.in</a> > tincd.8<br>
sed -e s,'@PACKAGE\@',"tinc",g -e s,'@VERSION\@',"1.0.18",g -e s,'@sysconfdir\@',"/usr/local/etc",g -e s,'@localstatedir\@',"/usr/local/var",g <a href="http://tinc.conf.5.in">tinc.conf.5.in</a> > tinc.conf.5<br>
make[2]: Leaving directory `/usr/src/tinc-1.0.18/doc'<br>make[2]: Entering directory `/usr/src/tinc-1.0.18'<br>make[2]: Nothing to be done for `all-am'.<br>make[2]: Leaving directory `/usr/src/tinc-1.0.18'<br>
make[1]: Leaving directory `/usr/src/tinc-1.0.18'<br>[root@server tinc-1.0.18]#<br>--------------------------------------------------------------------<br><br>But when I compile Tinc 1.1pre2:<br><br>--------------------------------------------------------------------<br>

[root@server tinc-1.1pre2]#./compile<br>
.<br>
.<br>
<br>
checking for EVP_EncryptInit_ex... yes<br>checking whether OpenSSL_add_all_algorithms is declared... yes<br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating src/Makefile<br>
config.status: creating doc/Makefile<br>config.status: creating m4/Makefile<br>config.status: creating gui/Makefile<br>config.status: creating config.h<br>config.status: executing depfiles commands<br>
[root@server tinc-1.1pre2]#<br>
[root@server tinc-1.1pre2]#<br>
<br>
[root@server tinc-1.1pre2]#make<br>
make  all-recursive<br>make[1]: Entering directory `/usr/src/tinc-1.1pre2'<br>Making all in m4<br>make[2]: Entering directory `/usr/src/tinc-1.1pre2/m4'<br>make[2]: Nothing to be done for `all'.<br>make[2]: Leaving directory `/usr/src/tinc-1.1pre2/m4'<br>
Making all in src<br>make[2]: Entering directory `/usr/src/tinc-1.1pre2/src'<br>gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\" -DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c<br>
mv -f .deps/utils.Tpo .deps/utils.Po<br>gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\" -DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c<br>
mv -f .deps/getopt.Tpo .deps/getopt.Po<br>gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\" -DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c<br>
mv -f .deps/getopt1.Tpo .deps/getopt1.Po<br>gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\" -DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c<br>
mv -f .deps/list.Tpo .deps/list.Po<br>gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\" -DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT splay_tree.o -MD -MP -MF .deps/splay_tree.Tpo -c -o splay_tree.o splay_tree.c<br>
mv -f .deps/splay_tree.Tpo .deps/splay_tree.Po<br>gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\" -DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT dropin.o -MD -MP -MF .deps/dropin.Tpo -c -o dropin.o dropin.c<br>
mv -f .deps/dropin.Tpo .deps/dropin.Po<br>gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\" -DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT fake-getaddrinfo.o -MD -MP -MF .deps/fake-getaddrinfo.Tpo -c -o fake-getaddrinfo.o fake-getaddrinfo.c<br>
mv -f .deps/fake-getaddrinfo.Tpo .deps/fake-getaddrinfo.Po<br>gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\" -DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT fake-getnameinfo.o -MD -MP -MF .deps/fake-getnameinfo.Tpo -c -o fake-getnameinfo.o fake-getnameinfo.c<br>
mv -f .deps/fake-getnameinfo.Tpo .deps/fake-getnameinfo.Po<br>gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\" -DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.c<br>
mv -f .deps/buffer.Tpo .deps/buffer.Po<br>gcc -std=gnu99 -DHAVE_CONFIG_H  -I..   -DCONFDIR=\"/usr/local/etc\" -DLOCALSTATEDIR=\"/usr/local/var\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c<br>
In file included from connection.h:50,<br>                 from conf.c:27:<br>ecdh.h:23:26: error: openssl/ecdh.h: No such file or directory<br>In file included from connection.h:50,<br>                 from conf.c:27:<br>
ecdh.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>ecdh.h:30: error: expected ‘)’ before ‘*’ token<br>ecdh.h:31: error: expected ‘)’ before ‘*’ token<br>ecdh.h:32: error: expected ‘)’ before ‘*’ token<br>
In file included from connection.h:51,<br>                 from conf.c:27:<br>ecdsa.h:23:24: error: openssl/ec.h: No such file or directory<br>In file included from connection.h:51,<br>                 from conf.c:27:<br>
ecdsa.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>ecdsa.h:27: error: expected ‘)’ before ‘*’ token<br>ecdsa.h:28: error: expected ‘)’ before ‘*’ token<br>ecdsa.h:29: error: expected ‘)’ before ‘*’ token<br>
ecdsa.h:30: error: expected ‘)’ before ‘*’ token<br>ecdsa.h:31: error: expected ‘)’ before ‘*’ token<br>ecdsa.h:32: error: expected ‘)’ before ‘*’ token<br>ecdsa.h:33: error: expected ‘)’ before ‘*’ token<br>ecdsa.h:34: error: expected ‘)’ before ‘*’ token<br>
ecdsa.h:35: error: expected ‘)’ before ‘*’ token<br>In file included from subnet.h:47,<br>                 from conf.h:34,<br>                 from net.h:94,<br>                 from edge.h:26,<br>                 from connection.h:52,<br>
                 from conf.c:27:<br>node.h:52: error: expected specifier-qualifier-list before ‘ecdsa_t’<br>node.h:103: warning: ‘struct connection_t’ declared inside parameter list<br>node.h:103: warning: its scope is only this definition or declaration, which is probably not what you want<br>
node.h:104: warning: ‘struct connection_t’ declared inside parameter list<br>In file included from conf.h:34,<br>                 from net.h:94,<br>                 from edge.h:26,<br>                 from connection.h:52,<br>
                 from conf.c:27:<br>subnet.h:85: warning: ‘struct connection_t’ declared inside parameter list<br>In file included from net.h:94,<br>                 from edge.h:26,<br>                 from connection.h:52,<br>
                 from conf.c:27:<br>conf.h:63: warning: ‘struct connection_t’ declared inside parameter list<br>In file included from edge.h:26,<br>                 from connection.h:52,<br>                 from conf.c:27:<br>
net.h:129: warning: ‘struct connection_t’ declared inside parameter list<br>net.h:130: warning: ‘struct connection_t’ declared inside parameter list<br>net.h:135: warning: ‘struct connection_t’ declared inside parameter list<br>
net.h:142: warning: ‘struct connection_t’ declared inside parameter list<br>net.h:145: warning: ‘struct connection_t’ declared inside parameter list<br>net.h:146: warning: ‘struct connection_t’ declared inside parameter list<br>
In file included from conf.c:27:<br>connection.h:75: error: expected specifier-qualifier-list before ‘ecdsa_t’<br>conf.c:390: error: conflicting types for ‘read_connection_config’<br>conf.h:63: error: previous declaration of ‘read_connection_config’ was here<br>
conf.c: In function ‘read_connection_config’:<br>conf.c:394: error: ‘connection_t’ has no member named ‘config_tree’<br>conf.c:397: error: ‘connection_t’ has no member named ‘config_tree’<br>make[2]: *** [conf.o] Error 1<br>
make[2]: Leaving directory `/usr/src/tinc-1.1pre2/src'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/usr/src/tinc-1.1pre2'<br>make: *** [all] Error 2<br>[root@server tinc-1.1pre2]#<br>
--------------------------------------------------------------------<br><br>Can you help me with these errors?<br><br><br>Best regards,<br><br>Ramses<br><br><br><div class="gmail_quote">2012/4/3 Guus Sliepen <span dir="ltr"><<a href="mailto:guus@tinc-vpn.org">guus@tinc-vpn.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Apr 03, 2012 at 04:58:50PM +0200, Ramses wrote:<br>
<br>
> >> I tried to install it and when I execute the "make" it give me a lot of errors.<br>
> ><br>
> > There is a list in the README. But in short: OpenSSL, libevent, zlib and<br>
> > liblzo. And you should ./configure before you run make.<br>
><br>
> Of course, I have installed these packages becouse I have installed and running Tinc 1.0.13 in this machine, and I execute "./configure" first and "make" later.<br>
<br>
</div>For tinc 1.1pre2 you need libevent, which is not required for tinc 1.0.13.<br>
<div class="im"><br>
> And other thing, In this machine I can install perfectly Tinc 1.0.18 and not give me any error when compile or execute "make".<br>
><br>
> This only occurs when I try to install Tinc 1.1pre2.<br>
<br>
</div>It would help if you could send us a copy of the output of "make", so we can<br>
see what errors it encounters.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Met vriendelijke groet / with kind regards,<br>
     Guus Sliepen <<a href="mailto:guus@tinc-vpn.org">guus@tinc-vpn.org</a>><br>
</div></div><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
<br>
iEYEARECAAYFAk97TrYACgkQAxLow12M2ntKQgCgpWQJA86DycBUVhZulgft6eAA<br>
A+4AnjySdclxgG4PWxX2Sn6bSi5OQtGM<br>
=uYyp<br>
-----END PGP SIGNATURE-----<br>
<br>_______________________________________________<br>
tinc mailing list<br>
<a href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a><br>
<a href="http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc" target="_blank">http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a><br>
<br></blockquote></div><br>