Can anyone assist me with this? pretty new to this so i know little to nothing. im trying to compile a source code for old mmorpg
make -C loginserver
make[2]: Entering directory `/home/darkeden/vs/src/server/loginserver'
g++ -o ../../../bin/loginserver ClientManager.o UserInfoManager.o GameServerGroupInfoManager.o GameServerManager.o LoginPlayer.o LoginPlayerManager.o LoginServer.o ZoneGroupInfoManager.o ZoneInfoManager.o main.o ItemDestroyer.o ReconnectLoginInfoManager.o -L../../../lib -lLoginServerDatabase -lLoginServerPackets -lServerCore -lCore -lLoginServerBilling -lLoginServerCBilling -L/usr/lib/mysql -static -lmysqlclient -lpthread -lnsl -lz
../../../lib/libServerCore.a(LogClient.o): In function `log(short, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
LogClient.cpp:(.text+0x0): multiple definition of `log(short, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
main.o:main.cpp:(.text+0x0): first defined here
../../../lib/libServerCore.a(LogClient.o): In function `log(short, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
LogClient.cpp:(.text+0xf): multiple definition of `log(short, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
main.o:main.cpp:(.text+0xf): first defined here
../../../lib/libServerCore.a(LogClient.o): In function `log(short, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, short)':
LogClient.cpp:(.text+0x1e): multiple definition of `log(short, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, short)'
main.o:main.cpp:(.text+0x1e): first defined here
/usr/lib/mysql/libmysqlclient.a(mf_pack.o): In function `unpack_dirname':
mf_pack.c:(.text+0x556): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/mysql/libmysqlclient.a(libmysql.o): In function `read_user_name':
libmysql.c:(.text+0x55b0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/mysql/libmysqlclient.a(mf_pack.o): In function `unpack_dirname':
mf_pack.c:(.text+0x565): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/mysql/libmysqlclient.a(my_gethostbyname.o): In function `my_gethostbyname_r':
my_gethostbyname.c:(.text+0x30): warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/mysql/libmysqlclient.a(libmysql.o): In function `mysql_server_init':
libmysql.c:(.text+0x5e97): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/mysql/libmysqlclient.a(client.o): In function `mysql_close_free_options':
client.c:(.text+0xced): undefined reference to `SSL_CTX_free'
/usr/lib/mysql/libmysqlclient.a(client.o): In function `mysql_get_ssl_cipher':
client.c:(.text+0xfc1): undefined reference to `SSL_get_current_cipher'
/usr/lib/mysql/libmysqlclient.a(client.o): In function `mysql_real_connect':
client.c:(.text+0x36f2): undefined reference to `SSL_get_peer_certificate'
client.c:(.text+0x3705): undefined reference to `X509_get_subject_name'
client.c:(.text+0x371b): undefined reference to `X509_NAME_oneline'
client.c:(.text+0x3723): undefined reference to `X509_free'
/usr/lib/mysql/libmysqlclient.a(client.o): In function `mysql_get_ssl_cipher':
client.c:(.text+0xfca): undefined reference to `SSL_CIPHER_get_name'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `report_errors':
viossl.c:(.text+0x53): undefined reference to `ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `sslconnect':
viossl.c:(.text+0xd1): undefined reference to `SSL_new'
viossl.c:(.text+0xe5): undefined reference to `SSL_clear'
viossl.c:(.text+0xed): undefined reference to `SSL_get_session'
viossl.c:(.text+0xfc): undefined reference to `SSL_SESSION_set_timeout'
viossl.c:(.text+0x10a): undefined reference to `SSL_set_fd'
viossl.c:(.text+0x112): undefined reference to `SSL_connect'
viossl.c:(.text+0x17c): undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `sslaccept':
viossl.c:(.text+0x1f1): undefined reference to `SSL_new'
viossl.c:(.text+0x205): undefined reference to `SSL_clear'
viossl.c:(.text+0x20d): undefined reference to `SSL_get_session'
viossl.c:(.text+0x21c): undefined reference to `SSL_SESSION_set_timeout'
viossl.c:(.text+0x22a): undefined reference to `SSL_set_fd'
viossl.c:(.text+0x232): undefined reference to `SSL_accept'
viossl.c:(.text+0x29c): undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `vio_ssl_close':
viossl.c:(.text+0x2c8): undefined reference to `SSL_shutdown'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `vio_ssl_delete':
viossl.c:(.text+0x302): undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `vio_ssl_write':
viossl.c:(.text+0x351): undefined reference to `SSL_write'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `vio_ssl_read':
viossl.c:(.text+0x371): undefined reference to `SSL_read'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `report_errors':
viosslfactories.c:(.text+0x33): undefined reference to `ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd':
viosslfactories.c:(.text+0xa7): undefined reference to `SSL_CTX_new'
viosslfactories.c:(.text+0xca): undefined reference to `SSL_CTX_set_cipher_list'
viosslfactories.c:(.text+0xe7): undefined reference to `SSL_CTX_load_verify_locations'
viosslfactories.c:(.text+0x10a): undefined reference to `SSL_CTX_use_certificate_file'
viosslfactories.c:(.text+0x135): undefined reference to `SSL_CTX_use_PrivateKey_file'
viosslfactories.c:(.text+0x145): undefined reference to `SSL_CTX_check_private_key'
viosslfactories.c:(.text+0x152): undefined reference to `DH_new'
viosslfactories.c:(.text+0x17a): undefined reference to `BN_bin2bn'
viosslfactories.c:(.text+0x193): undefined reference to `BN_bin2bn'
viosslfactories.c:(.text+0x1c8): undefined reference to `SSL_CTX_ctrl'
viosslfactories.c:(.text+0x1d0): undefined reference to `DH_free'
viosslfactories.c:(.text+0x1e8): undefined reference to `SSL_load_error_strings'
viosslfactories.c:(.text+0x1f9): undefined reference to `SSL_library_init'
viosslfactories.c:(.text+0x1fe): undefined reference to `OPENSSL_add_all_algorithms_noconf'
viosslfactories.c:(.text+0x20d): undefined reference to `SSL_CTX_set_default_verify_paths'
viosslfactories.c:(.text+0x22b): undefined reference to `SSL_CTX_free'
viosslfactories.c:(.text+0x2c7): undefined reference to `DH_free'
viosslfactories.c:(.text+0x2e0): undefined reference to `SSL_CTX_free'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLAcceptorFd':
viosslfactories.c:(.text+0x338): undefined reference to `TLSv1_server_method'
viosslfactories.c:(.text+0x37f): undefined reference to `SSL_CTX_ctrl'
viosslfactories.c:(.text+0x39b): undefined reference to `SSL_CTX_set_verify'
viosslfactories.c:(.text+0x3b2): undefined reference to `SSL_CTX_set_session_id_context'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `vio_verify_callback':
viosslfactories.c:(.text+0x3e2): undefined reference to `X509_STORE_CTX_get_current_cert'
viosslfactories.c:(.text+0x3ea): undefined reference to `X509_get_subject_name'
viosslfactories.c:(.text+0x3ff): undefined reference to `X509_NAME_oneline'
viosslfactories.c:(.text+0x424): undefined reference to `X509_STORE_CTX_get_error'
viosslfactories.c:(.text+0x42c): undefined reference to `X509_STORE_CTX_get_error_depth'
viosslfactories.c:(.text+0x447): undefined reference to `X509_get_issuer_name'
viosslfactories.c:(.text+0x45c): undefined reference to `X509_NAME_oneline'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLConnectorFd':
viosslfactories.c:(.text+0x478): undefined reference to `TLSv1_client_method'
viosslfactories.c:(.text+0x4b9): undefined reference to `SSL_CTX_set_verify'
collect2: ld returned 1 exit status
make[2]: *** [../../../bin/loginserver] Error 1
make[2]: Leaving directory `/home/darkeden/vs/src/server/loginserver'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/darkeden/vs/src/server'
make: *** [all] Error 2
debian:/home/darkeden/vs/src#