[Fixed] New compile error :)
Posted: Sun Nov 23, 2014 2:35 pm
Ubuntu x64:
I am probably missing something but configure does not complains...
Code: Select all
guillaume@hades:~/Vejiitasei$ 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 -g -DNDEBUG -g -O2 -MT dsgame-message.o -MD -MP -MF .deps/dsgame-message.Tpo -c -o dsgame-message.o `test -f 'src/map/message.cpp' || echo './'`src/map/message.cpp
src/map/message.cpp: In function 'void message::init(const char*, uint16)':
src/map/message.cpp:58:23: error: 'struct in_addr' has no member named 'S_un'
uint64 ipp = map_ip.S_un.S_addr;
^
src/map/message.cpp:62:14: error: 'struct in_addr' has no member named 'S_un'
if (map_ip.S_un.S_addr == 0 && map_port == 0)
^
make: *** [dsgame-message.o] Error 1