make: *** [dsgame-zone.o] Erreur 1
Posted: Fri Nov 21, 2014 2:30 am
alexandre@alexandre-System-Product-Name:~/darkstar$ make
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 -DTAOCRYPT_DISABLE_X86ASM -g -DNDEBUG -g -O2 -MT dsgame-zone.o -MD -MP -MF .deps/dsgame-zone.Tpo -c -o dsgame-zone.o `test -f 'src/map/zone.cpp' || echo './'`src/map/zone.cpp
src/map/zone.cpp: In member function ‘void CZone::LoadZoneSettings()’:
src/map/zone.cpp:360:50: error: ‘inet_addr’ was not declared in this scope
m_zoneIP = inet_addr(Sql_GetData(SqlHandle,1));
^
make: *** [dsgame-zone.o] Erreur 1
alexandre@alexandre-System-Product-Name:~/darkstar$
What is the problem?
Thanks
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 -DTAOCRYPT_DISABLE_X86ASM -g -DNDEBUG -g -O2 -MT dsgame-zone.o -MD -MP -MF .deps/dsgame-zone.Tpo -c -o dsgame-zone.o `test -f 'src/map/zone.cpp' || echo './'`src/map/zone.cpp
src/map/zone.cpp: In member function ‘void CZone::LoadZoneSettings()’:
src/map/zone.cpp:360:50: error: ‘inet_addr’ was not declared in this scope
m_zoneIP = inet_addr(Sql_GetData(SqlHandle,1));
^
make: *** [dsgame-zone.o] Erreur 1
alexandre@alexandre-System-Product-Name:~/darkstar$
What is the problem?
Thanks