make: *** [dsgame-zone.o] Erreur 1

Post Reply
Alexandre24
Posts: 175
Joined: Thu Mar 13, 2014 10:15 pm
Location: Hawkesbury, Ontario, CANADA

make: *** [dsgame-zone.o] Erreur 1

Post by Alexandre24 » 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

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: make: *** [dsgame-zone.o] Erreur 1

Post by kjLotus » Fri Nov 21, 2014 3:19 am

sorry, pull and try again.. didn't expect socket.h to not define arpa/inet.h!

Alexandre24
Posts: 175
Joined: Thu Mar 13, 2014 10:15 pm
Location: Hawkesbury, Ontario, CANADA

Re: make: *** [dsgame-zone.o] Erreur 1

Post by Alexandre24 » Fri Nov 21, 2014 1:43 pm

Thank you very much

Post Reply