DNS/KnotDNSについて、ここに記述してください。

/Knot-master ../KnotResolver

/QUIC

FreeBSD ではまだmakeできない。

1. configure

gnutls packageを更新後、

knot 2.4.3

    Target:   freebsd11.0 i386
    Compiler: gcc -std=gnu99
    CFLAGS:   -g -O2 -Wall -Werror=format-security -Werror=implicit -Wstrict-prototypes 
    LIBS:     -lpthread -lm  
    LibURCU:  -L/usr/local/lib -lurcu  
    GnuTLS:   -L/usr/local/lib -lgnutls -lnettle  -I/usr/local/include/p11-kit-1 
    Jansson:  -L/usr/local/lib -ljansson  
    Libedit:  -L/usr/local/lib -ledit -ltinfo  -I/usr/local/include/editline 
    LMDB:     shared  -llmdb 

    Sanitizer: 
    LibFuzzer: no

    Prefix:      NONE
    Run dir:     ${prefix}/var/run/knot
    Storage dir: ${prefix}/var/lib/knot
    Config dir:  ${prefix}/etc/knot

    Configuration DB mapsize: 500 MiB
    Timers DB mapsize:        100 MiB

    Knot DNS libraries:     yes
    Knot DNS daemon:        yes
    Knot DNS utils:         yes
    Knot DNS documentation: yes

    Use recvmmsg:        yes
    Use SO_REUSEPORT:    no
    Fast zone parser:    yes
    Utilities with IDN:  yes
    Systemd integration: no
    Dnstap support:      no
    Code coverage:       no
    Bash completions:    no
    PKCS #11 support:    yes

  Continue with 'make' command

2. error

Making all in .
  CC       libknot/libknot_la-binary.lo
  CC       libknot/libknot_la-codes.lo
  CC       libknot/control/libknot_la-control.lo
  CC       libknot/cookies/libknot_la-alg-fnv64.lo
  CC       libknot/cookies/libknot_la-client.lo
  CC       libknot/cookies/libknot_la-server.lo
  CC       libknot/libknot_la-descriptor.lo
  CC       libknot/libknot_la-dname.lo
  CC       libknot/libknot_la-error.lo
  CC       libknot/db/libknot_la-db_lmdb.lo
  CC       libknot/db/libknot_la-db_trie.lo
  CC       libknot/packet/libknot_la-compr.lo

In file included from libknot/packet/compr.c:22:
./libknot/packet/pkt.h:97: error: redefinition of typedef 'knot_pkt_t'
./libknot/rrtype/opt.h:33: error: previous declaration of 'knot_pkt_t' was here
*** Error code 1

Stop.
make[3]: stopped in /usr/home/tmaeno/knot-2.4.3/src
*** Error code 1

MoinQ: DNS/KnotDNS (last edited 2023-11-22 05:51:52 by ToshinoriMaeno)