da der ISC aus Debian 8 nicht gerade aktuell ist, wollte ich mal eine aktuellere Version aus den Git-Quellen kompilieren. Unter anderem wurden Funktionen implementiert, die Leasedatei als Binärdatei zu speichern und die Speicherung und Vergabe des Lease zu entkoppeln (parallelisiert mit verschiedenen Threads). Davon erhoffe ich mir unter anderem einen Geschwindigkeitsgewinn.
Make bricht dann leider mit folgendem Fehler ab. Ich hab dazu nichts googeln können. Einziger Beitrag zu Problemen beim Kompilieren des ISC-DHCP, die ich finden konnten, waren Crosscompiling Probleme für Freetz.
Making all in .
make[2]: Entering directory '/root/gits/dhcp/common'
gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../includes -I../bind/include -MT alloc.o -MD -MP -MF .deps/alloc.Tpo -c -o alloc.o alloc.c
In file included from ../includes/dhcpd.h:91:0,
from alloc.c:29:
../includes/omapip/isclib.h:51:24: fatal error: isc/buffer.h: No such file or directory
#include <isc/buffer.h>
^
compilation terminated.
Makefile:456: recipe for target 'alloc.o' failed
make[2]: *** [alloc.o] Error 1
make[2]: Leaving directory '/root/gits/dhcp/common'
Makefile:519: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/gits/dhcp/common'
Makefile:437: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Ich bin nicht so der C-Guru. Sieht jemand, woran es hängt?
Ja, das steht da. Aber was kann ich dagegen tun? Laut Pfad müsste die zum isc gehören oder muss man da noch ein Paket nachinstallieren? So wie ich die Fehlermeldung lese, müsste die zum ISC dazugehören.
Ich hab gerade mal die Annahme gestrichen, dass der ISC die Datei mitbringt, bzw. das darin enthaltene Bind und die Bibliothek libbind-dev installiert. Damit kommt er an der Stelle weiter, hängt dann aber hier:
Making all in .
make[2]: Entering directory '/root/gits/dhcp/common'
gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../includes -I../bind/include -MT alloc.o -MD -MP -MF .deps/alloc.Tpo -c -o alloc.o alloc.c
In file included from ../includes/dhcpd.h:91:0,
from alloc.c:29:
../includes/omapip/isclib.h:64:25: fatal error: irs/resconf.h: No such file or directory
#include <irs/resconf.h>
^
compilation terminated.
Makefile:456: recipe for target 'alloc.o' failed
make[2]: *** [alloc.o] Error 1
make[2]: Leaving directory '/root/gits/dhcp/common'
Makefile:519: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/gits/dhcp/common'
Makefile:437: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Laut apt-file müsste die resconf.h aber ebenfalls in libbind-dev enthalten gewesen sein. Jemand eine Idee, was man da tun muss?
# make -I/usr/include/bind-export
Making all in ./bind
make[1]: Entering directory '/root/gits/dhcp/bind'
making all in /root/gits/dhcp/bind/make
make[2]: Entering directory '/root/gits/dhcp/bind/make'
make[2]: Leaving directory '/root/gits/dhcp/bind/make'
making all in /root/gits/dhcp/bind/unit
make[2]: Entering directory '/root/gits/dhcp/bind/unit'
make[2]: Leaving directory '/root/gits/dhcp/bind/unit'
making all in /root/gits/dhcp/bind/lib
make[2]: Entering directory '/root/gits/dhcp/bind/lib'
making all in /root/gits/dhcp/bind/lib/isc
make[3]: Entering directory '/root/gits/dhcp/bind/lib/isc'
making all in /root/gits/dhcp/bind/lib/isc/include
make[4]: Entering directory '/root/gits/dhcp/bind/lib/isc/include'
making all in /root/gits/dhcp/bind/lib/isc/include/isc
make[5]: Entering directory '/root/gits/dhcp/bind/lib/isc/include/isc'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/isc/include/isc'
making all in /root/gits/dhcp/bind/lib/isc/include/pk11
make[5]: Entering directory '/root/gits/dhcp/bind/lib/isc/include/pk11'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/isc/include/pk11'
making all in /root/gits/dhcp/bind/lib/isc/include/pkcs11
make[5]: Entering directory '/root/gits/dhcp/bind/lib/isc/include/pkcs11'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/isc/include/pkcs11'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/isc/include'
making all in /root/gits/dhcp/bind/lib/isc/unix
make[4]: Entering directory '/root/gits/dhcp/bind/lib/isc/unix'
making all in /root/gits/dhcp/bind/lib/isc/unix/include
make[5]: Entering directory '/root/gits/dhcp/bind/lib/isc/unix/include'
making all in /root/gits/dhcp/bind/lib/isc/unix/include/isc
make[6]: Entering directory '/root/gits/dhcp/bind/lib/isc/unix/include/isc'
make[6]: Leaving directory '/root/gits/dhcp/bind/lib/isc/unix/include/isc'
making all in /root/gits/dhcp/bind/lib/isc/unix/include/pkcs11
make[6]: Entering directory '/root/gits/dhcp/bind/lib/isc/unix/include/pkcs11'
make[6]: Leaving directory '/root/gits/dhcp/bind/lib/isc/unix/include/pkcs11'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/isc/unix/include'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/isc/unix'
making all in /root/gits/dhcp/bind/lib/isc/nls
make[4]: Entering directory '/root/gits/dhcp/bind/lib/isc/nls'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/isc/nls'
making all in /root/gits/dhcp/bind/lib/isc/pthreads
make[4]: Entering directory '/root/gits/dhcp/bind/lib/isc/pthreads'
making all in /root/gits/dhcp/bind/lib/isc/pthreads/include
make[5]: Entering directory '/root/gits/dhcp/bind/lib/isc/pthreads/include'
making all in /root/gits/dhcp/bind/lib/isc/pthreads/include/isc
make[6]: Entering directory '/root/gits/dhcp/bind/lib/isc/pthreads/include/isc'
make[6]: Leaving directory '/root/gits/dhcp/bind/lib/isc/pthreads/include/isc'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/isc/pthreads/include'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/isc/pthreads'
making all in /root/gits/dhcp/bind/lib/isc/x86_32
make[4]: Entering directory '/root/gits/dhcp/bind/lib/isc/x86_32'
making all in /root/gits/dhcp/bind/lib/isc/x86_32/include
make[5]: Entering directory '/root/gits/dhcp/bind/lib/isc/x86_32/include'
making all in /root/gits/dhcp/bind/lib/isc/x86_32/include/isc
make[6]: Entering directory '/root/gits/dhcp/bind/lib/isc/x86_32/include/isc'
make[6]: Leaving directory '/root/gits/dhcp/bind/lib/isc/x86_32/include/isc'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/isc/x86_32/include'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/isc/x86_32'
make[3]: Leaving directory '/root/gits/dhcp/bind/lib/isc'
making all in /root/gits/dhcp/bind/lib/isccc
make[3]: Entering directory '/root/gits/dhcp/bind/lib/isccc'
making all in /root/gits/dhcp/bind/lib/isccc/include
make[4]: Entering directory '/root/gits/dhcp/bind/lib/isccc/include'
making all in /root/gits/dhcp/bind/lib/isccc/include/isccc
make[5]: Entering directory '/root/gits/dhcp/bind/lib/isccc/include/isccc'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/isccc/include/isccc'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/isccc/include'
make[3]: Leaving directory '/root/gits/dhcp/bind/lib/isccc'
making all in /root/gits/dhcp/bind/lib/dns
make[3]: Entering directory '/root/gits/dhcp/bind/lib/dns'
making all in /root/gits/dhcp/bind/lib/dns/include
make[4]: Entering directory '/root/gits/dhcp/bind/lib/dns/include'
making all in /root/gits/dhcp/bind/lib/dns/include/dns
make[5]: Entering directory '/root/gits/dhcp/bind/lib/dns/include/dns'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/dns/include/dns'
making all in /root/gits/dhcp/bind/lib/dns/include/dst
make[5]: Entering directory '/root/gits/dhcp/bind/lib/dns/include/dst'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/dns/include/dst'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/dns/include'
make[3]: Leaving directory '/root/gits/dhcp/bind/lib/dns'
making all in /root/gits/dhcp/bind/lib/isccfg
make[3]: Entering directory '/root/gits/dhcp/bind/lib/isccfg'
making all in /root/gits/dhcp/bind/lib/isccfg/include
make[4]: Entering directory '/root/gits/dhcp/bind/lib/isccfg/include'
making all in /root/gits/dhcp/bind/lib/isccfg/include/isccfg
make[5]: Entering directory '/root/gits/dhcp/bind/lib/isccfg/include/isccfg'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/isccfg/include/isccfg'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/isccfg/include'
make[3]: Leaving directory '/root/gits/dhcp/bind/lib/isccfg'
making all in /root/gits/dhcp/bind/lib/bind9
make[3]: Entering directory '/root/gits/dhcp/bind/lib/bind9'
making all in /root/gits/dhcp/bind/lib/bind9/include
make[4]: Entering directory '/root/gits/dhcp/bind/lib/bind9/include'
making all in /root/gits/dhcp/bind/lib/bind9/include/bind9
make[5]: Entering directory '/root/gits/dhcp/bind/lib/bind9/include/bind9'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/bind9/include/bind9'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/bind9/include'
make[3]: Leaving directory '/root/gits/dhcp/bind/lib/bind9'
making all in /root/gits/dhcp/bind/lib/lwres
make[3]: Entering directory '/root/gits/dhcp/bind/lib/lwres'
making all in /root/gits/dhcp/bind/lib/lwres/include
make[4]: Entering directory '/root/gits/dhcp/bind/lib/lwres/include'
making all in /root/gits/dhcp/bind/lib/lwres/include/lwres
make[5]: Entering directory '/root/gits/dhcp/bind/lib/lwres/include/lwres'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/lwres/include/lwres'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/lwres/include'
making all in /root/gits/dhcp/bind/lib/lwres/man
make[4]: Entering directory '/root/gits/dhcp/bind/lib/lwres/man'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/lwres/man'
making all in /root/gits/dhcp/bind/lib/lwres/unix
make[4]: Entering directory '/root/gits/dhcp/bind/lib/lwres/unix'
making all in /root/gits/dhcp/bind/lib/lwres/unix/include
make[5]: Entering directory '/root/gits/dhcp/bind/lib/lwres/unix/include'
making all in /root/gits/dhcp/bind/lib/lwres/unix/include/lwres
make[6]: Entering directory '/root/gits/dhcp/bind/lib/lwres/unix/include/lwres'
make[6]: Leaving directory '/root/gits/dhcp/bind/lib/lwres/unix/include/lwres'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/lwres/unix/include'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/lwres/unix'
make[3]: Leaving directory '/root/gits/dhcp/bind/lib/lwres'
making all in /root/gits/dhcp/bind/lib/irs
make[3]: Entering directory '/root/gits/dhcp/bind/lib/irs'
making all in /root/gits/dhcp/bind/lib/irs/include
make[4]: Entering directory '/root/gits/dhcp/bind/lib/irs/include'
making all in /root/gits/dhcp/bind/lib/irs/include/irs
make[5]: Entering directory '/root/gits/dhcp/bind/lib/irs/include/irs'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/irs/include/irs'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/irs/include'
make[3]: Leaving directory '/root/gits/dhcp/bind/lib/irs'
making all in /root/gits/dhcp/bind/lib/tests
make[3]: Entering directory '/root/gits/dhcp/bind/lib/tests'
making all in /root/gits/dhcp/bind/lib/tests/include
make[4]: Entering directory '/root/gits/dhcp/bind/lib/tests/include'
making all in /root/gits/dhcp/bind/lib/tests/include/tests
make[5]: Entering directory '/root/gits/dhcp/bind/lib/tests/include/tests'
make[5]: Leaving directory '/root/gits/dhcp/bind/lib/tests/include/tests'
make[4]: Leaving directory '/root/gits/dhcp/bind/lib/tests/include'
make[3]: Leaving directory '/root/gits/dhcp/bind/lib/tests'
making all in /root/gits/dhcp/bind/lib/samples
make[3]: Entering directory '/root/gits/dhcp/bind/lib/samples'
make[3]: Leaving directory '/root/gits/dhcp/bind/lib/samples'
make[2]: Leaving directory '/root/gits/dhcp/bind/lib'
making all in /root/gits/dhcp/bind/bin
make[2]: Entering directory '/root/gits/dhcp/bind/bin'
making all in /root/gits/dhcp/bind/bin/named
make[3]: Entering directory '/root/gits/dhcp/bind/bin/named'
making all in /root/gits/dhcp/bind/bin/named/unix
make[4]: Entering directory '/root/gits/dhcp/bind/bin/named/unix'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/named/unix'
make[3]: Leaving directory '/root/gits/dhcp/bind/bin/named'
making all in /root/gits/dhcp/bind/bin/rndc
make[3]: Entering directory '/root/gits/dhcp/bind/bin/rndc'
make[3]: Leaving directory '/root/gits/dhcp/bind/bin/rndc'
making all in /root/gits/dhcp/bind/bin/dig
make[3]: Entering directory '/root/gits/dhcp/bind/bin/dig'
make[3]: Leaving directory '/root/gits/dhcp/bind/bin/dig'
making all in /root/gits/dhcp/bind/bin/delv
make[3]: Entering directory '/root/gits/dhcp/bind/bin/delv'
make[3]: Leaving directory '/root/gits/dhcp/bind/bin/delv'
making all in /root/gits/dhcp/bind/bin/dnssec
make[3]: Entering directory '/root/gits/dhcp/bind/bin/dnssec'
make[3]: Leaving directory '/root/gits/dhcp/bind/bin/dnssec'
making all in /root/gits/dhcp/bind/bin/tools
make[3]: Entering directory '/root/gits/dhcp/bind/bin/tools'
make[3]: Leaving directory '/root/gits/dhcp/bind/bin/tools'
making all in /root/gits/dhcp/bind/bin/tests
make[3]: Entering directory '/root/gits/dhcp/bind/bin/tests'
making all in /root/gits/dhcp/bind/bin/tests/atomic
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/atomic'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/atomic'
making all in /root/gits/dhcp/bind/bin/tests/db
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/db'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/db'
making all in /root/gits/dhcp/bind/bin/tests/dst
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/dst'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/dst'
making all in /root/gits/dhcp/bind/bin/tests/master
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/master'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/master'
making all in /root/gits/dhcp/bind/bin/tests/mem
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/mem'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/mem'
making all in /root/gits/dhcp/bind/bin/tests/hashes
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/hashes'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/hashes'
making all in /root/gits/dhcp/bind/bin/tests/names
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/names'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/names'
making all in /root/gits/dhcp/bind/bin/tests/net
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/net'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/net'
making all in /root/gits/dhcp/bind/bin/tests/rbt
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/rbt'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/rbt'
making all in /root/gits/dhcp/bind/bin/tests/resolver
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/resolver'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/resolver'
making all in /root/gits/dhcp/bind/bin/tests/sockaddr
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/sockaddr'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/sockaddr'
making all in /root/gits/dhcp/bind/bin/tests/tasks
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/tasks'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/tasks'
making all in /root/gits/dhcp/bind/bin/tests/timers
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/timers'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/timers'
making all in /root/gits/dhcp/bind/bin/tests/system
make[4]: Entering directory '/root/gits/dhcp/bind/bin/tests/system'
making all in /root/gits/dhcp/bind/bin/tests/system/builtin
make[5]: Entering directory '/root/gits/dhcp/bind/bin/tests/system/builtin'
make[5]: Leaving directory '/root/gits/dhcp/bind/bin/tests/system/builtin'
making all in /root/gits/dhcp/bind/bin/tests/system/dlzexternal
make[5]: Entering directory '/root/gits/dhcp/bind/bin/tests/system/dlzexternal'
make[5]: Leaving directory '/root/gits/dhcp/bind/bin/tests/system/dlzexternal'
making all in /root/gits/dhcp/bind/bin/tests/system/fetchlimit
make[5]: Entering directory '/root/gits/dhcp/bind/bin/tests/system/fetchlimit'
make[5]: Leaving directory '/root/gits/dhcp/bind/bin/tests/system/fetchlimit'
making all in /root/gits/dhcp/bind/bin/tests/system/filter-aaaa
make[5]: Entering directory '/root/gits/dhcp/bind/bin/tests/system/filter-aaaa'
make[5]: Leaving directory '/root/gits/dhcp/bind/bin/tests/system/filter-aaaa'
making all in /root/gits/dhcp/bind/bin/tests/system/geoip
make[5]: Entering directory '/root/gits/dhcp/bind/bin/tests/system/geoip'
make[5]: Leaving directory '/root/gits/dhcp/bind/bin/tests/system/geoip'
making all in /root/gits/dhcp/bind/bin/tests/system/lwresd
make[5]: Entering directory '/root/gits/dhcp/bind/bin/tests/system/lwresd'
make[5]: Leaving directory '/root/gits/dhcp/bind/bin/tests/system/lwresd'
making all in /root/gits/dhcp/bind/bin/tests/system/rpz
make[5]: Entering directory '/root/gits/dhcp/bind/bin/tests/system/rpz'
make[5]: Leaving directory '/root/gits/dhcp/bind/bin/tests/system/rpz'
making all in /root/gits/dhcp/bind/bin/tests/system/rsabigexponent
make[5]: Entering directory '/root/gits/dhcp/bind/bin/tests/system/rsabigexponent'
make[5]: Leaving directory '/root/gits/dhcp/bind/bin/tests/system/rsabigexponent'
making all in /root/gits/dhcp/bind/bin/tests/system/statistics
make[5]: Entering directory '/root/gits/dhcp/bind/bin/tests/system/statistics'
make[5]: Leaving directory '/root/gits/dhcp/bind/bin/tests/system/statistics'
making all in /root/gits/dhcp/bind/bin/tests/system/tkey
make[5]: Entering directory '/root/gits/dhcp/bind/bin/tests/system/tkey'
make[5]: Leaving directory '/root/gits/dhcp/bind/bin/tests/system/tkey'
making all in /root/gits/dhcp/bind/bin/tests/system/tsiggss
make[5]: Entering directory '/root/gits/dhcp/bind/bin/tests/system/tsiggss'
make[5]: Leaving directory '/root/gits/dhcp/bind/bin/tests/system/tsiggss'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/tests/system'
make[3]: Leaving directory '/root/gits/dhcp/bind/bin/tests'
making all in /root/gits/dhcp/bind/bin/nsupdate
make[3]: Entering directory '/root/gits/dhcp/bind/bin/nsupdate'
make[3]: Leaving directory '/root/gits/dhcp/bind/bin/nsupdate'
making all in /root/gits/dhcp/bind/bin/check
make[3]: Entering directory '/root/gits/dhcp/bind/bin/check'
make[3]: Leaving directory '/root/gits/dhcp/bind/bin/check'
making all in /root/gits/dhcp/bind/bin/confgen
make[3]: Entering directory '/root/gits/dhcp/bind/bin/confgen'
making all in /root/gits/dhcp/bind/bin/confgen/unix
make[4]: Entering directory '/root/gits/dhcp/bind/bin/confgen/unix'
make[4]: Leaving directory '/root/gits/dhcp/bind/bin/confgen/unix'
make[3]: Leaving directory '/root/gits/dhcp/bind/bin/confgen'
making all in /root/gits/dhcp/bind/bin/python
make[3]: Entering directory '/root/gits/dhcp/bind/bin/python'
make[3]: Leaving directory '/root/gits/dhcp/bind/bin/python'
make[2]: Leaving directory '/root/gits/dhcp/bind/bin'
making all in /root/gits/dhcp/bind/doc
make[2]: Entering directory '/root/gits/dhcp/bind/doc'
making all in /root/gits/dhcp/bind/doc/arm
make[3]: Entering directory '/root/gits/dhcp/bind/doc/arm'
make[3]: Leaving directory '/root/gits/dhcp/bind/doc/arm'
making all in /root/gits/dhcp/bind/doc/misc
make[3]: Entering directory '/root/gits/dhcp/bind/doc/misc'
make[3]: Leaving directory '/root/gits/dhcp/bind/doc/misc'
making all in /root/gits/dhcp/bind/doc/xsl
make[3]: Entering directory '/root/gits/dhcp/bind/doc/xsl'
make[3]: Leaving directory '/root/gits/dhcp/bind/doc/xsl'
making all in /root/gits/dhcp/bind/doc/doxygen
make[3]: Entering directory '/root/gits/dhcp/bind/doc/doxygen'
make[3]: Leaving directory '/root/gits/dhcp/bind/doc/doxygen'
making all in /root/gits/dhcp/bind/doc/tex
make[3]: Entering directory '/root/gits/dhcp/bind/doc/tex'
make[3]: Leaving directory '/root/gits/dhcp/bind/doc/tex'
make[2]: Leaving directory '/root/gits/dhcp/bind/doc'
make[1]: Leaving directory '/root/gits/dhcp/bind'
Making all in includes
make[1]: Entering directory '/root/gits/dhcp/includes'
make all-am
make[2]: Entering directory '/root/gits/dhcp/includes'
make[2]: Leaving directory '/root/gits/dhcp/includes'
make[1]: Leaving directory '/root/gits/dhcp/includes'
Making all in tests
make[1]: Entering directory '/root/gits/dhcp/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/root/gits/dhcp/tests'
Making all in common
make[1]: Entering directory '/root/gits/dhcp/common'
Making all in .
make[2]: Entering directory '/root/gits/dhcp/common'
gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../includes -I../bind/include -MT alloc.o -MD -MP -MF .deps/alloc.Tpo -c -o alloc.o alloc.c
In file included from ../includes/dhcpd.h:91:0,
from alloc.c:29:
../includes/omapip/isclib.h:64:25: fatal error: irs/resconf.h: No such file or directory
#include <irs/resconf.h>
^
compilation terminated.
Makefile:456: recipe for target 'alloc.o' failed
make[2]: *** [alloc.o] Error 1
make[2]: Leaving directory '/root/gits/dhcp/common'
Makefile:519: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/gits/dhcp/common'
Makefile:437: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Danke für die Arbeit… ich schielte da auch schon hin „binary lease file“.
Aber was für ein Glück, dass ich es nicht selbst probiert habe… (Ja, das ist jetzt böse, das zuzugeben.)
Viel Erfolg. Ich bin sehr gespannt auf die Resultate. (Und Du hast dann -mindestens- ein Freigetränk Guthaben bei mir.)
Ich hab verstanden, was ich vorher falsch gemacht habe. Obwohl er relative Pfade anzeigt, scheint make nicht mit relativen Verknüpfungen umgehen zu können.
Ich habe jetzt noch drei weitere Symlinks nach deinem Schema gesetzt, aber ich weiß nicht, was ich hiergegen tun kann:
root@des1 ~/gits/dhcp # make
[gekürze, weil Beitrag zu lang]
/opensslecdsa_link.c:442: undefined reference to `EC_KEY_free'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:427: undefined reference to `EVP_PKEY_new'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:430: undefined reference to `EVP_PKEY_set1_EC_KEY'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:431: undefined reference to `EVP_PKEY_free'
../bind/lib/libdns.a(opensslecdsa_link.o): In function `opensslecdsa_todns':
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:362: undefined reference to `EVP_PKEY_get1_EC_KEY'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:365: undefined reference to `i2o_ECPublicKey'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:381: undefined reference to `EC_KEY_free'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:373: undefined reference to `i2o_ECPublicKey'
../bind/lib/libdns.a(opensslecdsa_link.o): In function `opensslecdsa_generate':
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:304: undefined reference to `EC_KEY_new_by_curve_name'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:309: undefined reference to `EC_KEY_generate_key'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:325: undefined reference to `EC_KEY_free'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:313: undefined reference to `EVP_PKEY_new'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:316: undefined reference to `EVP_PKEY_set1_EC_KEY'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:317: undefined reference to `EVP_PKEY_free'
../bind/lib/libdns.a(opensslecdsa_link.o): In function `opensslecdsa_compare':
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:255: undefined reference to `EVP_PKEY_get1_EC_KEY'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:256: undefined reference to `EVP_PKEY_get1_EC_KEY'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:278: undefined reference to `EC_KEY_free'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:280: undefined reference to `EC_KEY_free'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:262: undefined reference to `EVP_PKEY_cmp'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:266: undefined reference to `EC_KEY_get0_private_key'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:267: undefined reference to `EC_KEY_get0_private_key'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:271: undefined reference to `BN_cmp'
../bind/lib/libdns.a(opensslecdsa_link.o): In function `opensslecdsa_verify':
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:182: undefined reference to `EVP_PKEY_get1_EC_KEY'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:200: undefined reference to `EVP_DigestFinal_ex'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:236: undefined reference to `EC_KEY_free'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:205: undefined reference to `ECDSA_SIG_new'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:209: undefined reference to `BN_free'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:210: undefined reference to `BN_bin2bn'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:213: undefined reference to `BN_free'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:214: undefined reference to `BN_bin2bn'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:217: undefined reference to `ECDSA_do_verify'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:234: undefined reference to `ECDSA_SIG_free'
../bind/lib/libdns.a(opensslecdsa_link.o): In function `opensslecdsa_sign':
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:130: undefined reference to `EVP_PKEY_get1_EC_KEY'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:169: undefined reference to `EC_KEY_free'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:149: undefined reference to `EVP_DigestFinal'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:154: undefined reference to `ECDSA_do_sign'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:163: undefined reference to `ECDSA_SIG_free'
../bind/lib/libdns.a(opensslecdsa_link.o): In function `opensslecdsa_adddata':
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:104: undefined reference to `EVP_DigestUpdate'
../bind/lib/libdns.a(opensslecdsa_link.o): In function `opensslecdsa_destroyctx':
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:92: undefined reference to `EVP_MD_CTX_destroy'
../bind/lib/libdns.a(opensslecdsa_link.o): In function `opensslecdsa_createctx':
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:64: undefined reference to `EVP_MD_CTX_create'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:70: undefined reference to `EVP_sha384'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:72: undefined reference to `EVP_DigestInit_ex'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:68: undefined reference to `EVP_sha256'
/root/gits/dhcp/bind/lib/dns/opensslecdsa_link.c:73: undefined reference to `EVP_MD_CTX_destroy'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_adddata':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:143: undefined reference to `EVP_DigestUpdate'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_cleanup':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:539: undefined reference to `ENGINE_finish'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:540: undefined reference to `ENGINE_free'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_destroy':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:280: undefined reference to `EVP_PKEY_free'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_parse':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:486: undefined reference to `EVP_PKEY_get0'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:487: undefined reference to `EC_KEY_get0_public_key'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:490: undefined reference to `BN_bin2bn'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:497: undefined reference to `d2i_PrivateKey'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:503: undefined reference to `EVP_PKEY_get0'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:506: undefined reference to `EC_KEY_set_private_key'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:513: undefined reference to `EC_KEY_set_public_key'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:527: undefined reference to `BN_clear_free'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:529: undefined reference to `EVP_PKEY_free'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_destroy':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:280: undefined reference to `EVP_PKEY_free'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_parse':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:516: undefined reference to `BN_clear_free'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:520: undefined reference to `EVP_PKEY_bits'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:479: undefined reference to `d2i_PrivateKey'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_tofile':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:408: undefined reference to `EVP_PKEY_get0'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:411: undefined reference to `EC_KEY_get0_private_key'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:415: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:420: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:421: undefined reference to `BN_bn2bin'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:428: undefined reference to `BN_num_bits'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_fromdns':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:335: undefined reference to `d2i_PUBKEY'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:339: undefined reference to `EVP_PKEY_bits'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_todns':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:308: undefined reference to `i2d_PUBKEY'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_generate':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:234: undefined reference to `EVP_PKEY_CTX_new_id'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:240: undefined reference to `EVP_PKEY_CTX_set_app_data'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:241: undefined reference to `EVP_PKEY_CTX_set_cb'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:243: undefined reference to `EVP_PKEY_keygen_init'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:246: undefined reference to `EVP_PKEY_CTX_ctrl_str'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:249: undefined reference to `EVP_PKEY_keygen'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:253: undefined reference to `EVP_PKEY_bits'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:254: undefined reference to `EVP_PKEY_CTX_free'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:259: undefined reference to `EVP_PKEY_free'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:261: undefined reference to `EVP_PKEY_CTX_free'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:259: undefined reference to `EVP_PKEY_free'
../bind/lib/libdns.a(opensslgost_link.o): In function `progress_cb':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:216: undefined reference to `EVP_PKEY_CTX_get_app_data'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:217: undefined reference to `EVP_PKEY_CTX_get_keygen_info'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_compare':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:202: undefined reference to `EVP_PKEY_cmp'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_sign':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:159: undefined reference to `EVP_PKEY_size'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:162: undefined reference to `EVP_SignFinal'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_destroyctx':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:134: undefined reference to `EVP_MD_CTX_destroy'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_createctx':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:116: undefined reference to `EVP_MD_CTX_create'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:120: undefined reference to `EVP_DigestInit_ex'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:121: undefined reference to `EVP_MD_CTX_destroy'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_isprivate':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:272: undefined reference to `EVP_PKEY_get0'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:273: undefined reference to `EC_KEY_get0_private_key'
../bind/lib/libdns.a(opensslgost_link.o): In function `opensslgost_verify':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:177: undefined reference to `EVP_VerifyFinal'
../bind/lib/libdns.a(opensslgost_link.o): In function `isc_gost_init':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:59: undefined reference to `EVP_MD_CTX_init'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:60: undefined reference to `EVP_DigestInit'
../bind/lib/libdns.a(opensslgost_link.o): In function `isc_gost_update':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:80: undefined reference to `EVP_DigestUpdate'
../bind/lib/libdns.a(opensslgost_link.o): In function `isc_gost_final':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:93: undefined reference to `EVP_DigestFinal'
../bind/lib/libdns.a(opensslgost_link.o): In function `dst__opensslgost_init':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:576: undefined reference to `ENGINE_by_id'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:580: undefined reference to `ENGINE_init'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:587: undefined reference to `ENGINE_get_digest'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:592: undefined reference to `ENGINE_register_pkey_asn1_meths'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:596: undefined reference to `ENGINE_ctrl_cmd_string'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:608: undefined reference to `ENGINE_finish'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:609: undefined reference to `ENGINE_free'
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:581: undefined reference to `ENGINE_free'
../bind/lib/libdns.a(opensslgost_link.o): In function `isc_gost_invalidate':
/root/gits/dhcp/bind/lib/dns/opensslgost_link.c:68: undefined reference to `EVP_MD_CTX_cleanup'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_destroy':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:901: undefined reference to `EVP_PKEY_free'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_compare':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:700: undefined reference to `EVP_PKEY_get1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:701: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:704: undefined reference to `EVP_PKEY_get1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:705: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:717: undefined reference to `BN_cmp'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:718: undefined reference to `BN_cmp'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:704: undefined reference to `EVP_PKEY_get1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:705: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:739: undefined reference to `BN_cmp'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:740: undefined reference to `BN_cmp'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:741: undefined reference to `BN_cmp'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_tofile':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1055: undefined reference to `EVP_PKEY_get1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1072: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1082: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1083: undefined reference to `BN_bn2bin'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1088: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1089: undefined reference to `BN_bn2bin'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1095: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1096: undefined reference to `BN_bn2bin'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1103: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1104: undefined reference to `BN_bn2bin'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1111: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1112: undefined reference to `BN_bn2bin'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1119: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1120: undefined reference to `BN_bn2bin'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1127: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1128: undefined reference to `BN_bn2bin'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1135: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1136: undefined reference to `BN_bn2bin'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1160: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1165: undefined reference to `BN_num_bits'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_fromdns':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:988: undefined reference to `RSA_new'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1012: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1015: undefined reference to `BN_bin2bn'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1018: undefined reference to `BN_bin2bn'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1020: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1025: undefined reference to `EVP_PKEY_new'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1030: undefined reference to `EVP_PKEY_set1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1036: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1031: undefined reference to `EVP_PKEY_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1032: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1027: undefined reference to `RSA_free'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_todns':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:930: undefined reference to `EVP_PKEY_get1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:939: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:940: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:968: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:958: undefined reference to `BN_bn2bin'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:960: undefined reference to `BN_bn2bin'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_generate':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:774: undefined reference to `RSA_new'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:775: undefined reference to `BN_new'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:781: undefined reference to `EVP_PKEY_new'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:789: undefined reference to `EVP_PKEY_set1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:795: undefined reference to `BN_set_bit'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:796: undefined reference to `BN_set_bit'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:810: undefined reference to `RSA_generate_key_ex'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:830: undefined reference to `EVP_PKEY_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:833: undefined reference to `BN_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:835: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:799: undefined reference to `BN_set_bit'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:800: undefined reference to `BN_set_bit'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:811: undefined reference to `BN_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:817: undefined reference to `RSA_free'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_verify2':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:543: undefined reference to `EVP_PKEY_get1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:546: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:547: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:551: undefined reference to `EVP_VerifyFinal'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_sign':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:406: undefined reference to `EVP_PKEY_size'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:409: undefined reference to `EVP_SignFinal'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_createctx':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:141: undefined reference to `EVP_MD_CTX_create'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:160: undefined reference to `EVP_sha512'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:167: undefined reference to `EVP_DigestInit_ex'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:147: undefined reference to `EVP_md5'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:151: undefined reference to `EVP_sha1'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:155: undefined reference to `EVP_sha256'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:168: undefined reference to `EVP_MD_CTX_destroy'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_isprivate':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:885: undefined reference to `EVP_PKEY_get1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:887: undefined reference to `RSA_free'
../bind/lib/libdns.a(opensslrsa_link.o): In function `rsa_check':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1177: undefined reference to `BN_cmp'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1184: undefined reference to `BN_cmp'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_fromlabel':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1413: undefined reference to `ENGINE_load_public_key'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1415: undefined reference to `EVP_PKEY_get1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1416: undefined reference to `EVP_PKEY_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1420: undefined reference to `ENGINE_load_private_key'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1435: undefined reference to `EVP_PKEY_get1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1458: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1460: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1462: undefined reference to `EVP_PKEY_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1440: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1443: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1444: undefined reference to `EVP_PKEY_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1447: undefined reference to `RSA_free'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_parse':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1380: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1231: undefined reference to `EVP_PKEY_get1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1263: undefined reference to `ENGINE_load_private_key'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1274: undefined reference to `EVP_PKEY_get1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1375: undefined reference to `EVP_PKEY_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1378: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1299: undefined reference to `RSA_new'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1305: undefined reference to `EVP_PKEY_new'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1308: undefined reference to `EVP_PKEY_set1_RSA'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1323: undefined reference to `BN_bin2bn'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1279: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1282: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1283: undefined reference to `EVP_PKEY_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1286: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1361: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1363: undefined reference to `BN_num_bits'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1365: undefined reference to `RSA_free'
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:1367: undefined reference to `RSA_free'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_adddata':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:318: undefined reference to `EVP_DigestUpdate'
../bind/lib/libdns.a(opensslrsa_link.o): In function `opensslrsa_destroyctx':
/root/gits/dhcp/bind/lib/dns/opensslrsa_link.c:245: undefined reference to `EVP_MD_CTX_destroy'
../bind/lib/libdns.a(dst_lib.o): In function `dst_lib_initmsgcat':
/root/gits/dhcp/bind/lib/dns/dst_lib.c:66: undefined reference to `pthread_once'
../bind/lib/libisc.a(hash.o): In function `isc_hash_create':
/root/gits/dhcp/bind/lib/isc/hash.c:225: undefined reference to `pthread_once'
../bind/lib/libisc.a(hash.o): In function `isc_hash_function':
/root/gits/dhcp/bind/lib/isc/hash.c:432: undefined reference to `pthread_once'
../bind/lib/libisc.a(hash.o): In function `isc_hash_function_reverse':
/root/gits/dhcp/bind/lib/isc/hash.c:499: undefined reference to `pthread_once'
../bind/lib/libisc.a(lib.o): In function `isc_lib_initmsgcat':
/root/gits/dhcp/bind/lib/isc/lib.c:69: undefined reference to `pthread_once'
../bind/lib/libisc.a(lib.o):/root/gits/dhcp/bind/lib/isc/lib.c:102: more undefined references to `pthread_once' follow
../bind/lib/libisc.a(task.o): In function `isc__taskmgr_destroy':
/root/gits/dhcp/bind/lib/isc/task.c:1566: undefined reference to `pthread_join'
../bind/lib/libisc.a(task.o): In function `isc_task_register':
/root/gits/dhcp/bind/lib/isc/task.c:2022: undefined reference to `pthread_once'
../bind/lib/libisc.a(timer.o): In function `isc__timermgr_destroy':
/root/gits/dhcp/bind/lib/isc/timer.c:994: undefined reference to `pthread_join'
../bind/lib/libisc.a(timer.o): In function `isc_timer_register':
/root/gits/dhcp/bind/lib/isc/timer.c:1071: undefined reference to `pthread_once'
../bind/lib/libisc.a(app.o): In function `isc__app_ctxstart':
/root/gits/dhcp/bind/lib/isc/unix/app.c:335: undefined reference to `pthread_sigmask'
../bind/lib/libisc.a(app.o): In function `isc__app_block':
/root/gits/dhcp/bind/lib/isc/unix/app.c:945: undefined reference to `pthread_sigmask'
../bind/lib/libisc.a(app.o): In function `isc__app_unblock':
/root/gits/dhcp/bind/lib/isc/unix/app.c:966: undefined reference to `pthread_sigmask'
../bind/lib/libisc.a(app.o): In function `isc__app_ctxshutdown':
/root/gits/dhcp/bind/lib/isc/unix/app.c:796: undefined reference to `pthread_kill'
../bind/lib/libisc.a(app.o): In function `isc__app_ctxsuspend':
/root/gits/dhcp/bind/lib/isc/unix/app.c:874: undefined reference to `pthread_kill'
../bind/lib/libisc.a(app.o): In function `isc_app_register':
/root/gits/dhcp/bind/lib/isc/unix/../app_api.c:45: undefined reference to `pthread_once'
../bind/lib/libisc.a(socket.o): In function `isc__socketmgr_destroy':
/root/gits/dhcp/bind/lib/isc/unix/socket.c:4859: undefined reference to `pthread_join'
../bind/lib/libisc.a(socket.o): In function `opensocket':
/root/gits/dhcp/bind/lib/isc/unix/socket.c:2733: undefined reference to `pthread_once'
/root/gits/dhcp/bind/lib/isc/unix/socket.c:2871: undefined reference to `pthread_once'
../bind/lib/libisc.a(socket.o): In function `isc_socket_register':
/root/gits/dhcp/bind/lib/isc/unix/../socket_api.c:41: undefined reference to `pthread_once'
../bind/lib/libisc.a(strerror.o): In function `isc__strerror':
/root/gits/dhcp/bind/lib/isc/unix/strerror.c:55: undefined reference to `pthread_once'
../bind/lib/libisc.a(mutex.o): In function `initialize_attr':
/root/gits/dhcp/bind/lib/isc/pthreads/mutex.c:276: undefined reference to `pthread_mutexattr_init'
/root/gits/dhcp/bind/lib/isc/pthreads/mutex.c:277: undefined reference to `pthread_mutexattr_settype'
../bind/lib/libisc.a(mutex.o): In function `isc__mutex_init':
/root/gits/dhcp/bind/lib/isc/pthreads/mutex.c:290: undefined reference to `pthread_once'
../bind/lib/libisc.a(thread.o): In function `isc_thread_create':
/root/gits/dhcp/bind/lib/isc/pthreads/thread.c:47: undefined reference to `pthread_attr_getstacksize'
/root/gits/dhcp/bind/lib/isc/pthreads/thread.c:52: undefined reference to `pthread_attr_setstacksize'
/root/gits/dhcp/bind/lib/isc/pthreads/thread.c:64: undefined reference to `pthread_create'
../bind/lib/libisc.a(net.o): In function `initialize':
/root/gits/dhcp/bind/lib/isc/unix/net.c:236: undefined reference to `pthread_once'
../bind/lib/libisc.a(net.o): In function `initialize_ipv6only':
/root/gits/dhcp/bind/lib/isc/unix/net.c:331: undefined reference to `pthread_once'
../bind/lib/libisc.a(net.o): In function `initialize_ipv6pktinfo':
/root/gits/dhcp/bind/lib/isc/unix/net.c:386: undefined reference to `pthread_once'
../bind/lib/libisc.a(net.o): In function `initialize_dscp':
/root/gits/dhcp/bind/lib/isc/unix/net.c:761: undefined reference to `pthread_once'
collect2: error: ld returned 1 exit status
Makefile:410: recipe for target 'svtest' failed
make[1]: *** [svtest] Error 1
make[1]: Leaving directory '/root/gits/dhcp/omapip'
Makefile:437: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
also openssl ist in der Regel das Paket libssl-dev. Aber wie heißt das Paket zu pthread? Ich habe libpthread-stubs0-dev und libpthread-workqueue-dev probiert, die waren es leider nicht.
/root/gits/dhcp/bind/lib/isc/unix/socket.c:2871: undefined reference to `pthread_once'
../bind/lib/libisc.a(socket.o): In function `isc_socket_register':
/root/gits/dhcp/bind/lib/isc/unix/../socket_api.c:41: undefined reference to `pthread_once'
../bind/lib/libisc.a(strerror.o): In function `isc__strerror':
/root/gits/dhcp/bind/lib/isc/unix/strerror.c:55: undefined reference to `pthread_once'
../bind/lib/libisc.a(mutex.o): In function `initialize_attr':
/root/gits/dhcp/bind/lib/isc/pthreads/mutex.c:276: undefined reference to `pthread_mutexattr_init'
/root/gits/dhcp/bind/lib/isc/pthreads/mutex.c:277: undefined reference to `pthread_mutexattr_settype'
../bind/lib/libisc.a(mutex.o): In function `isc__mutex_init':
/root/gits/dhcp/bind/lib/isc/pthreads/mutex.c:290: undefined reference to `pthread_once'
../bind/lib/libisc.a(thread.o): In function `isc_thread_create':
/root/gits/dhcp/bind/lib/isc/pthreads/thread.c:47: undefined reference to `pthread_attr_getstacksize'
/root/gits/dhcp/bind/lib/isc/pthreads/thread.c:52: undefined reference to `pthread_attr_setstacksize'
/root/gits/dhcp/bind/lib/isc/pthreads/thread.c:64: undefined reference to `pthread_create'
../bind/lib/libisc.a(net.o): In function `initialize':
/root/gits/dhcp/bind/lib/isc/unix/net.c:236: undefined reference to `pthread_once'
../bind/lib/libisc.a(net.o): In function `initialize_ipv6only':
/root/gits/dhcp/bind/lib/isc/unix/net.c:331: undefined reference to `pthread_once'
../bind/lib/libisc.a(net.o): In function `initialize_ipv6pktinfo':
/root/gits/dhcp/bind/lib/isc/unix/net.c:386: undefined reference to `pthread_once'
../bind/lib/libisc.a(net.o): In function `initialize_dscp':
/root/gits/dhcp/bind/lib/isc/unix/net.c:761: undefined reference to `pthread_once'
collect2: error: ld returned 1 exit status
Makefile:410: recipe for target 'svtest' failed
make[1]: *** [svtest] Error 1
make[1]: Leaving directory '/root/gits/dhcp/omapip'
Makefile:437: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1