Problems compiling
Posted: Sun Jan 04, 2015 8:57 am
im attempting to compile dsgame on my ubuntu 64 system. i have 2 build enviroments set up for various purposes, one 64, one 32.
I have all prereqs installed (of course 64bit libraries in 64 enviroment and 32 in 32)
-automake, autoconfig, m4, pkg-config, libmysqlclient-dev, libluajit5.1-dev, libzmq3-dev
I can complile dssearch and dsconnect just fine either 32 or 64 bit.
i error while compiling dsgame in the same spot in both enviroments
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common -DdsUDPSERV -I/usr//include/luajit-2.0 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -g -DNDEBUG -g -O2 -MT dsgame-item_linkshell.o -MD -MP -MF .deps/dsgame-item_linkshell.Tpo -c -o dsgame-item_linkshell.o `test -f 'src/map/items/item_linkshell.cpp' || echo './'`src/map/items/item_linkshell.cpp
src/map/items/item_linkshell.cpp: In member function ‘virtual void CItemLinkshell::setSignature(int8*)’:
src/map/items/item_linkshell.cpp:75:61: error: ‘memcpy’ was not declared in this scope
memcpy(m_extra + 0x09, signature, sizeof(m_extra) - 0x09);
^
make: *** [dsgame-item_linkshell.o] Error 1
Anyhelp would be greatly appreaciated, else i'll wait for the next build and try again.
I have all prereqs installed (of course 64bit libraries in 64 enviroment and 32 in 32)
-automake, autoconfig, m4, pkg-config, libmysqlclient-dev, libluajit5.1-dev, libzmq3-dev
I can complile dssearch and dsconnect just fine either 32 or 64 bit.
i error while compiling dsgame in the same spot in both enviroments
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common -DdsUDPSERV -I/usr//include/luajit-2.0 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -g -DNDEBUG -g -O2 -MT dsgame-item_linkshell.o -MD -MP -MF .deps/dsgame-item_linkshell.Tpo -c -o dsgame-item_linkshell.o `test -f 'src/map/items/item_linkshell.cpp' || echo './'`src/map/items/item_linkshell.cpp
src/map/items/item_linkshell.cpp: In member function ‘virtual void CItemLinkshell::setSignature(int8*)’:
src/map/items/item_linkshell.cpp:75:61: error: ‘memcpy’ was not declared in this scope
memcpy(m_extra + 0x09, signature, sizeof(m_extra) - 0x09);
^
make: *** [dsgame-item_linkshell.o] Error 1
Anyhelp would be greatly appreaciated, else i'll wait for the next build and try again.