Hey again Bruno,
someone reported the same bug on Gentoo, so luckily my colleague was able to fix it
without any more input. The bug is related to how we check nettle version, so it does not
work with nettle 3.2 or higher. The fix is already on master branch and will appear in the
2.1.1 release. In the meantime you can either try building master branch or downgrading to
nettle 3.1.1 as was in Arch [core] repo until recently.
Thanks for reporting the bug.
Dominik
On 02/05/2016 08:25 AM, Dominik Taborsky wrote:
Hi Bruno,
we need more information on what exactly you are doing. Where did you get the sources
from? What commands are you running? What configure flags are you using? The errors you
sent don't tell me much on their own like this. I also assume your system is
up-to-date since you're using ArchLinux.
Also note there's an AUR package maintained by us:
https://aur.archlinux.org/packages/knot
ArchLinux is definitely not the problem, I am using it to develop KnotDNS. ;-)
Cheers!
Dominik
On 02/04/2016 07:08 PM, Bruno Pagani wrote:
Hi,
I’m trying to compile Knot 2.1, but it fails. Here is the error part:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -include
../../src/config.h -I./shared -I./lib -I./lib/dnssec -I../../src
-I/usr/include/p11-kit-1 -fvisibility=hidden -D_FORTIFY_SOURCE=2
-march=native -O2 -pipe -fstack-protector-strong -fstack-check -Wall
-Werror=format-security -Werror=implicit -fpredictive-commoning -MT
lib/event/action/libdnssec_la-initial_key.lo -MD -MP -MF
lib/event/action/.deps/libdnssec_la-initial_key.Tpo -c
lib/event/action/initial_key.c -fPIC -DPIC -o
lib/event/action/.libs/libdnssec_la-initial_key.o
lib/binary.c: In function 'base64_decode_raw':
lib/binary.c:47:2: warning: statement with no effect [-Wunused-value]
nettle_len dst_size = dst_max_size;
^
lib/binary.c:47:13: error: expected ';' before 'dst_size'
nettle_len dst_size = dst_max_size;
^
lib/binary.c:48:50: error: 'dst_size' undeclared (first use in this
function)
int result = nettle_base64_decode_update(&ctx, &dst_size, dst,
src_len, src);
^
lib/binary.c:48:50: note: each undeclared identifier is reported only
once for each function it appears in
lib/binary.c:54:1: warning: control reaches end of non-void function
[-Wreturn-type]
}
^
I suppose this has to do with the flags used on my system (Arch Linux) ?
Thanks,
Bruno
_______________________________________________
knot-dns-users mailing list
knot-dns-users(a)lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users
_______________________________________________
knot-dns-users mailing list
knot-dns-users(a)lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users