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
make: *** [dsgame-zone.o] Erreur 1
-
- Posts: 175
- Joined: Thu Mar 13, 2014 10:15 pm
- Location: Hawkesbury, Ontario, CANADA
Re: make: *** [dsgame-zone.o] Erreur 1
sorry, pull and try again.. didn't expect socket.h to not define arpa/inet.h!
-
- Posts: 175
- Joined: Thu Mar 13, 2014 10:15 pm
- Location: Hawkesbury, Ontario, CANADA
Re: make: *** [dsgame-zone.o] Erreur 1
Thank you very much