kilobyte / kbtin

TinTin++-style MUD client
GNU General Public License v2.0
20 stars 4 forks source link

macOS Catalina compiling issue #4

Closed kalrykh closed 4 years ago

kalrykh commented 4 years ago

Trying to compile. Throws this off and errors out "make". Was hoping for a workaround.

CC globals.o CCLD KBtin Undefined symbols for architecture x86_64: "_gnutls_certificate_allocate_credentials", referenced from: _ssl_negotiate in ssl.o "_gnutls_certificate_get_peers", referenced from: _ssl_negotiate in ssl.o "_gnutls_certificate_type_get", referenced from: _ssl_negotiate in ssl.o "_gnutls_credentials_set", referenced from: _ssl_negotiate in ssl.o "_gnutls_deinit", referenced from: _cleanup_session in session.o _ssl_negotiate in ssl.o "_gnutls_global_init", referenced from: _ssl_negotiate in ssl.o "_gnutls_handshake", referenced from: _ssl_negotiate in ssl.o "_gnutls_init", referenced from: _ssl_negotiate in ssl.o "_gnutls_record_recv", referenced from: _read_buffer_mud in net.o "_gnutls_record_send", referenced from: _write_socket in net.o "_gnutls_set_default_priority", referenced from: _ssl_negotiate in ssl.o "_gnutls_strerror", referenced from: _ssl_negotiate in ssl.o "_gnutls_transport_set_ptr", referenced from: _ssl_negotiate in ssl.o "_gnutls_x509_crt_deinit", referenced from: _ssl_negotiate in ssl.o "_gnutls_x509_crt_export", referenced from: _ssl_negotiate in ssl.o _save_cert in ssl.o "_gnutls_x509_crt_get_activation_time", referenced from: _ssl_negotiate in ssl.o "_gnutls_x509_crt_get_expiration_time", referenced from: _ssl_negotiate in ssl.o "_gnutls_x509_crt_import", referenced from: _ssl_negotiate in ssl.o "_gnutls_x509_crt_init", referenced from: _ssl_negotiate in ssl.o "_inflate", referenced from: _read_buffer_mud in net.o "_inflateEnd", referenced from: _read_buffer_mud in net.o _cleanup_session in session.o "inflateInit", referenced from: _read_buffer_mud in net.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [KBtin] Error 1 make[1]: [all-recursive] Error 1 make: *** [all] Error 2

Using ./configure --disable-ssl gets rid of most of those, but still leaves me with these when I make: CC ssl.o CC pty.o CC globals.o CCLD KBtin Undefined symbols for architecture x86_64: "_inflate", referenced from: _read_buffer_mud in net.o "_inflateEnd", referenced from: _read_buffer_mud in net.o _cleanup_session in session.o "inflateInit", referenced from: _read_buffer_mud in net.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [KBtin] Error 1 make[1]: [all-recursive] Error 1 make: *** [all] Error 2

kalrykh commented 4 years ago

never mind, I don't know what changed, but it compiled.