EOSERV Forum > EOSERV > Compiling
Topic is locked.
Page: << 1 >>
Compiling
Author Message
Post #776 Compiling
yes i no im the 50 billionth person to ask about the compiling but i am just trying to learn a bit.
Ok i have got to a point with the compiling of revision 56 i have all the libraries (sqlite3.dll, libmysql.dll from eoserv 0.2.0, WS2_32.dll v 4.10.0.2222) and i get this error:

Linking console executable: ..eoserv.exe
..objReleasesrcdatabase.o:database.cpp:(.text+0x78): undefined reference to `_mysql_init@4'
..objReleasesrcdatabase.o:database.cpp:(.text+0xbf): undefined reference to `_mysql_real_connect@32'
..objReleasesrcdatabase.o:database.cpp:(.text+0xdb): undefined reference to `_mysql_select_db@8'
..objReleasesrcdatabase.o:database.cpp:(.text+0xf0): undefined reference to `_mysql_error@4'
..objReleasesrcdatabase.o:database.cpp:(.text+0x215f): undefined reference to `_mysql_real_escape_string@16'
..objReleasesrcdatabase.o:database.cpp:(.text+0x236b): undefined reference to `_mysql_real_query@12'
..objReleasesrcdatabase.o:database.cpp:(.text+0x2391): undefined reference to `_mysql_field_count@4'
..objReleasesrcdatabase.o:database.cpp:(.text+0x23aa): undefined reference to `_mysql_store_result@4'
..objReleasesrcdatabase.o:database.cpp:(.text+0x23d4): undefined reference to `_mysql_fetch_fields@4'
..objReleasesrcdatabase.o:database.cpp:(.text+0x23eb): undefined reference to `_mysql_fetch_row@4'
..objReleasesrcdatabase.o:database.cpp:(.text+0x288a): undefined reference to `_mysql_error@4'
..objReleasesrcdatabase.o:database.cpp:(.text+0x2a2f): undefined reference to `_mysql_affected_rows@4'
..objReleasesrcdatabase.o:database.cpp:(.text+0x2ace): undefined reference to `_mysql_error@4'
..objReleasesrcdatabase.o:database.cpp:(.text+0x2cdb): undefined reference to `_mysql_free_result@4'
..objReleasesrcmain.o:main.cpp:(.text+0x1122): undefined reference to `_WSAStartup@8'
..objReleasesrcmain.o:main.cpp:(.text+0x116d): undefined reference to `_htons@4'
..objReleasesrcmain.o:main.cpp:(.text+0x11e8): undefined reference to `_bind@12'
..objReleasesrcmain.o:main.cpp:(.text+0x131c): undefined reference to `_socket@12'
..objReleasesrcmain.o:main.cpp:(.text+0x209b): undefined reference to `_accept@12'
..objReleasesrcmain.o:main.cpp:(.text+0x20af): undefined reference to `_closesocket@4'
..objReleasesrcmain.o:main.cpp:(.text+0x21cd): undefined reference to `_listen@8'
..objReleasesrcmain.o:main.cpp:(.text+0x24c9): undefined reference to `_ioctlsocket@12'
..objReleasesrcmain.o:main.cpp:(.text+0x24ee): undefined reference to `_accept@12'
..objReleasesrcmain.o:main.cpp:(.text+0x253a): undefined reference to `_ioctlsocket@12'
..objReleasesrcmain.o:main.cpp:(.text$_ZN6ServerI8EOClientE6SelectEi[Server<EOClient>::Select(int)]+0x2bf): undefined reference to `_select@20'
..objReleasesrcmain.o:main.cpp:(.text$_ZN6ServerI8EOClientE6SelectEi[Server<EOClient>::Select(int)]+0x2fc): undefined reference to `___WSAFDIsSet@8'
..objReleasesrcmain.o:main.cpp:(.text$_ZN6ServerI8EOClientE6SelectEi[Server<EOClient>::Select(int)]+0x356): undefined reference to `___WSAFDIsSet@8'
..objReleasesrcmain.o:main.cpp:(.text$_ZN6ServerI8EOClientE6SelectEi[Server<EOClient>::Select(int)]+0x682): undefined reference to `___WSAFDIsSet@8'
..objReleasesrcmain.o:main.cpp:(.text$_ZN6ServerI8EOClientE6SelectEi[Server<EOClient>::Select(int)]+0x6b4): undefined reference to `_recv@16'
..objReleasesrcmain.o:main.cpp:(.text$_ZN6ServerI8EOClientE6SelectEi[Server<EOClient>::Select(int)]+0x77d): undefined reference to `___WSAFDIsSet@8'
..objReleasesrcmain.o:main.cpp:(.text$_ZN6ServerI8EOClientE6SelectEi[Server<EOClient>::Select(int)]+0x7aa): undefined reference to `_send@16'
..objReleasesrcsocket.o:socket.cpp:(.text+0x10d): undefined reference to `_ntohl@4'
..objReleasesrcsocket.o:socket.cpp:(.text+0x12d): undefined reference to `_ntohl@4'
..objReleasesrcsocket.o:socket.cpp:(.text+0x23f): undefined reference to `_htonl@4'
..objReleasesrcsocket.o:socket.cpp:(.text+0x27e): undefined reference to `_closesocket@4'
..objReleasesrcsocket.o:socket.cpp:(.text+0x2a0): undefined reference to `_ntohl@4'
..objReleasesrcsocket.o:socket.cpp:(.text+0x4d5): undefined reference to `_closesocket@4'
..objReleasesrcsocket.o:socket.cpp:(.text+0x6ea): undefined reference to `_closesocket@4'
..objReleasesrcsocket.o:socket.cpp:(.text+0x8fa): undefined reference to `_closesocket@4'
..objReleasesrcsocket.o:socket.cpp:(.text+0xb79): undefined reference to `_WSAStartup@8'
..objReleasesrcsocket.o:socket.cpp:(.text+0xcf9): undefined reference to `_WSAStartup@8'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 34 seconds)
41 errors, 8 warnings

im wondering if it is the wrong verison of the librarys or mysql..?
thanks for your help
15 years, 8 weeks ago
Post #777 Re: Compiling
If you don't know how to compile EOSERV you don't need to know.
15 years, 8 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > EOSERV > Compiling