I installed mbedtls as advertised in the README. But still making the mDNSResponder tells me afterwards:
~/mDNSResponder/mDNSResponder/ServiceRegistration# make
cc -o build/srp-gw objects/srp-gw.o objects/towire.o objects/sign-mbedtls.o objects/fromwire.o objects/verify-mbedtls.o objects/wireutils.o objects/ioloop.o objects/tls-mbedtls.o objects/hmac-mbedtls.o objects/config-parse.o -lmbedcrypto -lmbedtls -lmbedx509
/usr/bin/ld: //usr/local/lib/libmbedtls.a(ssl_tls.o): in function `mbedtls_ssl_psk_derive_premaster':
ssl_tls.c:(.text+0x2174): undefined reference to `mbedtls_ecdh_calc_secret'
/usr/bin/ld: ssl_tls.c:(.text+0x2308): undefined reference to `mbedtls_dhm_calc_secret'
/usr/bin/ld: //usr/local/lib/libmbedtls.a(ssl_tls.o): in function `mbedtls_ssl_handshake_free':
ssl_tls.c:(.text+0x3a94): undefined reference to `mbedtls_dhm_free'
/usr/bin/ld: ssl_tls.c:(.text+0x3a9c): undefined reference to `mbedtls_ecdh_free'
/usr/bin/ld: //usr/local/lib/libmbedtls.a(ssl_tls.o): in function `ssl_handshake_init':
ssl_tls.c:(.text+0x3f8c): undefined reference to `mbedtls_dhm_init'
/usr/bin/ld: ssl_tls.c:(.text+0x3f94): undefined reference to `mbedtls_ecdh_init'
/usr/bin/ld: //usr/local/lib/libmbedtls.a(ssl_cli.o): in function `mbedtls_ssl_handshake_client_step':
ssl_cli.c:(.text+0x1c94): undefined reference to `mbedtls_ecdh_make_public'
/usr/bin/ld: ssl_cli.c:(.text+0x1cf4): undefined reference to `mbedtls_ecdh_calc_secret'
/usr/bin/ld: ssl_cli.c:(.text+0x2158): undefined reference to `mbedtls_ecdh_get_params'
/usr/bin/ld: ssl_cli.c:(.text+0x2628): undefined reference to `mbedtls_ecdh_make_public'
/usr/bin/ld: ssl_cli.c:(.text+0x29b0): undefined reference to `mbedtls_dhm_make_public'
/usr/bin/ld: ssl_cli.c:(.text+0x2a34): undefined reference to `mbedtls_dhm_calc_secret'
/usr/bin/ld: ssl_cli.c:(.text+0x3624): undefined reference to `mbedtls_ecdh_read_params'
/usr/bin/ld: ssl_cli.c:(.text+0x3a24): undefined reference to `mbedtls_dhm_read_params'
/usr/bin/ld: ssl_cli.c:(.text+0x3db4): undefined reference to `mbedtls_dhm_make_public'
/usr/bin/ld: //usr/local/lib/libmbedtls.a(ssl_srv.o): in function `ssl_parse_client_dh_public':
ssl_srv.c:(.text+0x48): undefined reference to `mbedtls_dhm_read_public'
/usr/bin/ld: //usr/local/lib/libmbedtls.a(ssl_srv.o): in function `mbedtls_ssl_handshake_server_step':
ssl_srv.c:(.text+0x2dfc): undefined reference to `mbedtls_ecdh_read_public'
/usr/bin/ld: ssl_srv.c:(.text+0x2e5c): undefined reference to `mbedtls_ecdh_calc_secret'
/usr/bin/ld: ssl_srv.c:(.text+0x3a20): undefined reference to `mbedtls_dhm_set_group'
/usr/bin/ld: ssl_srv.c:(.text+0x3a64): undefined reference to `mbedtls_dhm_make_params'
/usr/bin/ld: ssl_srv.c:(.text+0x3c48): undefined reference to `mbedtls_ecdh_get_params'
/usr/bin/ld: ssl_srv.c:(.text+0x3dec): undefined reference to `mbedtls_dhm_calc_secret'
/usr/bin/ld: ssl_srv.c:(.text+0x43d8): undefined reference to `mbedtls_ecdh_setup'
/usr/bin/ld: ssl_srv.c:(.text+0x4414): undefined reference to `mbedtls_ecdh_make_params'
/usr/bin/ld: ssl_srv.c:(.text+0x4880): undefined reference to `mbedtls_ecdh_read_public'
collect2: error: ld returned 1 exit status
make: *** [Makefile:67: build/srp-gw] Error 1
Hi,
I installed mbedtls as advertised in the README. But still making the mDNSResponder tells me afterwards:
Any idea why it does not find the mbedtls files?
Michael.