03-11-2023, 06:38 AM
|
missing -lmysqlclient and wait_player error
|
|
03-11-2023, 10:58 AM
Probably u makefile.inc file is wrong, show it to us
03-11-2023, 11:36 AM
35 minutes ago, nicolasg said: Probably u makefile.inc file is wrong, show it to us .SUFFIXES : .cpp .o .PHONY: clean dep new cleanall local debug clear test CXX = ccache g++ -g BOOST_INCLUDE = /usr/local/include/boost-1_60 BOOST_LIB_VER = -gcc44-mt-d-1_60 OPT_CRYPT = -I../ShareLib \ -I/usr/include/mysql \ -I/usr/local/ssl/include \ -I/usr/local/include/botan-1.10 \ -I$(BOOST_INCLUDE) OPT_LDOBJ = -L../ShareLib \ -L/usr/local/lib \ -L/usr/local/apr/lib \ -L/usr/lib/mysql \ -lSharelib \ -lmysqlclient \ -lboost_thread$(BOOST_LIB_VER) \ -lboost_system$(BOOST_LIB_VER) \ -llog4cxx \ -laprutil-1 \ -lapr-1 \ -lrt \ -lstdc++ \ -lexpat \ -lz \ -lpthread \ -ljsoncpp OPT_VER=-DLC_VER=\"$(LC_VER)\" CXXFLAGS = -D_THREAD_SAFE -finline-functions \ -funroll-loops \ -fdefer-pop \ -fstrength-reduce \ -Wno-write-strings \ -Wno-char-subscripts \ $(OPT_BIGENDIAN) \ $(OPT_LANG) \ $(OPT_DEBUG) \ $(OPT_DEF) \ $(OPT_TEST) \ $(OPT_VER) \ $(OPT_CRYPT)
03-11-2023, 12:08 PM
Hmm u can try changing cxx flag to this: CXX to ccache g++ -m32 and OPT_LDOBJ flag to this OPT_LDOBJ = -L../ShareLib \ -L/usr/local/lib \ -L/usr/local/apr/lib \ -L/usr/lib/mysql \ -lSharelib \ -l:libmysqlclient.a \ -lboost_thread$(BOOST_LIB_VER) \ -lboost_system$(BOOST_LIB_VER) \ -llog4cxx \ -l:libaprutil-1.a \ -l:libapr-1.a \ -lrt \ -lstdc++ \ -lexpat \ -lz \ -lpthread \ -ljsoncpp i'm not sure if all that are installed by default, or I installed it, but u can give a try
03-11-2023, 12:20 PM
i dont understand why this happens, i have mysql installed
03-11-2023, 12:22 PM
Just now, kdy said: i dont understand why this happens, i have mysql installed wtf, ok update, mysql fix but now 2
03-11-2023, 12:24 PM
1 minute ago, kdy said: wtf, ok update, mysql fix but now 2 Check u boost version i think @Desarija compiler have ¿1_65_1?
03-11-2023, 12:27 PM
yes, thats what i was looking at
03-11-2023, 12:28 PM
yes, that was it but there are more errors xDD |
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)

