Hello all, I originally tried compiling 4.3 but as Emusharemem had no makefile etc I gave up on that =/ Anyway, my latest attempt is with the CVS source for 0.4.4-DR1, which is not even getting as far as 4.3 =/ Anyway, here are the errors I get when compiling, and I am pretty new to linux so bear with me =), world compiled to a binary but there were 'Warning:'s along the way but I assume it is okay.
EMuShareMem:
Code:
EMuShareMem]# make
gcc -g -shared -Wl,-soname,libEMuShareMem.so -o libEMuShareMem.so MMFMutex.o Doors.o Items.o Spells.o NPCTypes.o NPCFactionLists.o MMF.o Loot.o ../common/timer.o ../common/unix.o ../common/EMuShareMem.o -L. -lstdc++ -lm -lz `mysql_config --libs`
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [libEMuShareMem.so] Error 1
zone:
Code:
make
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -I/usr/include/mysql -I/usr/mysql/include client_process.cpp -o client_process.o
client_process.cpp:56:20: forage.h: No such file or directory
client_process.cpp: In member function `int Client::HandlePacket(const
APPLAYER*)':
client_process.cpp:530: warning: assignment to non-pointer type `char' from
NULL
client_process.cpp:530: warning: argument to non-pointer type `char' from NULL
client_process.cpp:986: warning: comparison is always true due to limited range
of data type
client_process.cpp:1212: warning: comparison between signed and unsigned
integer expressions
client_process.cpp:1254: warning: assignment to `int' from `double'
client_process.cpp:1254: warning: argument to `int' from `double'
client_process.cpp:1259: warning: assignment to `int' from `double'
client_process.cpp:1259: warning: argument to `int' from `double'
client_process.cpp:1308: warning: assignment to `int' from `double'
client_process.cpp:1308: warning: argument to `int' from `double'
client_process.cpp:1313: warning: assignment to `int' from `double'
client_process.cpp:1313: warning: argument to `int' from `double'
client_process.cpp:1338: warning: assignment to `int' from `double'
client_process.cpp:1338: warning: argument to `int' from `double'
client_process.cpp:1343: warning: assignment to `int' from `double'
client_process.cpp:1343: warning: argument to `int' from `double'
client_process.cpp:1370: warning: assignment to `int' from `double'
client_process.cpp:1370: warning: argument to `int' from `double'
client_process.cpp:1375: warning: assignment to `int' from `double'
client_process.cpp:1375: warning: argument to `int' from `double'
client_process.cpp:3229: warning: assignment to non-pointer type `char' from
NULL
client_process.cpp:3229: warning: argument to non-pointer type `char' from NULL
client_process.cpp:3260: warning: assignment to non-pointer type `char' from
NULL
client_process.cpp:3260: warning: argument to non-pointer type `char' from NULL
client_process.cpp:3261: warning: assignment to non-pointer type `char' from
NULL
client_process.cpp:3261: warning: argument to non-pointer type `char' from NULL
client_process.cpp:3344: warning: deprecated conversion from string constant to
`char*'
client_process.cpp:3367: warning: deprecated conversion from string constant to
`char*'
client_process.cpp:3370: warning: assignment to non-pointer type `char' from
NULL
client_process.cpp:3370: warning: argument to non-pointer type `char' from NULL
client_process.cpp:3371: warning: assignment to non-pointer type `char' from
NULL
client_process.cpp:3371: warning: argument to non-pointer type `char' from NULL
client_process.cpp:3698: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
client_process.cpp:4427: warning: passing `double' for argument 1 of `void
Client::AddMoneyToPP(unsigned int, bool)'
client_process.cpp:4470: warning: passing `double' for argument 1 of `void
Client::AddMoneyToPP(unsigned int, bool)'
client_process.cpp:4419: warning: unused variable `Item_Struct*item2'
client_process.cpp:5450: `ForageItem' undeclared (first use this function)
client_process.cpp:5450: (Each undeclared identifier is reported only once for
each function it appears in.)
client_process.cpp:5636: warning: comparison between signed and unsigned
integer expressions
client_process.cpp: In member function `void
Client::BulkSendMerchantInventory(int, short unsigned int)':
client_process.cpp:6609: warning: comparison between signed and unsigned
integer expressions
client_process.cpp: In member function `void Client::OPMemorizeSpell(const
APPLAYER*)':
client_process.cpp:6769: warning: comparison between signed and unsigned
integer expressions
make: *** [client_process.o] Error 1
any ideas?