-
Posts
12 -
Joined
-
Last visited
About chappox
- Birthday September 17
Profile Information
-
Gender
Male
-
Location
United States
-
Server
N/A
- Github: snorlax93
- Discord: chappox#8594
chappox's Achievements
-
how do I get this npc to remove 20% of the value on conversion
chappox replied to rickzera's question in Scripting Support
Not sure since I haven't tested this at all, but this line set #CASHPOINTS, #CASHPOINTS + .@num * 1; makes me think you could write: set #CASHPOINTS, #CASHPOINTS + .@num * (80/100); Again, I haven't tested this. Not sure what would happen if a decimal were put in for .@num either. Should get the ball rolling though. -
I would drop my current DB tables (or player associated tables: char, login, guild, etc) and re-run the the files in sql-files. Alternatively, what is your 'Auto_increment' set to? You can query the table. On a fresh install, it is set to 2,000,000. I would suggest updating it accordingly. SHOW TABLE STATUS FROM `DatabaseName` WHERE `name` LIKE 'TableName' ;
-
I have no idea what I was doing when I imported this repository, but when I checked against a fresh clone of rAthena the project built without issue. I reimported rA back to my repo and it builds without issue. Thanks for the assist!
-
Well. Looks like it's still a no-go for me again. #cmake version chappo@chappie-linux:~/Repos/rathena/build$ cmake --version cmake version 3.10.2 CMake suite maintained and supported by Kitware (kitware.com/cmake). chappo@chappie-linux:~/Repos/rathena/build$ #making dir build and entering mkdir build && cd build #attempting to run cmake from within the build directpru we just created chappo@chappie-linux:~/Repos/rathena/build$ cmake -G"Unix Makefiles" -DINSTALL_TO_SOURCE=ON .. -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting git -- Found Git: /usr/bin/git (found version "2.17.1") -- Found git : /usr/bin/git version (2.17.1) -- git Version: bac53cf73719f4b401bf5499248d3623c42cc695, 4749910bf5c8ece1b5a3aa3096ffa9458d9b147b -- Detecting threads library -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Adding global library: -lpthread -- Detecting threads library - done -- Check if supporting Thread local storage (TLS) -- Performing Test HAVE_TLS -- Performing Test HAVE_TLS - Success -- Check for TLS- yes -- Detecting math library (m) -- Looking for math.h -- Looking for math.h - found -- Looking for floor -- Looking for floor - not found -- Looking for floor in m -- Looking for floor -- Looking for floor - found -- Found floor in m: /usr/lib/x86_64-linux-gnu/libm.so -- Adding global library: /usr/lib/x86_64-linux-gnu/libm.so -- Detecting math library (m) - done -- Detecting dynamic loading library (dl) -- Looking for dlopen -- Looking for dlopen - not found -- Looking for dlopen in dl -- Looking for dlopen -- Looking for dlopen - found -- Found dlopen in dl: /usr/lib/x86_64-linux-gnu/libdl.so -- Adding global library: /usr/lib/x86_64-linux-gnu/libdl.so -- Detecting dynamic loading library (dl) - done -- Detecting networking library (socket/nsl/ws2_32) -- Looking for gethostbyname -- Looking for gethostbyname - found -- Found gethostbyname in global libraries -- Detecting networking library (socket/nsl/ws2_32) - done -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Check for monotonic clock -- Performing Test HAVE_MONOTONIC_CLOCK -- Performing Test HAVE_MONOTONIC_CLOCK - Success -- Check for monotonic clock - yes -- Looking for setrlimit -- Looking for setrlimit - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for getpid -- Looking for getpid - found -- Looking for gettid -- Looking for gettid - not found -- Disabled package creation -- Detecting system MYSQL -- Found MYSQL: /usr/lib/x86_64-linux-gnu/libmysqlclient.so (found version "5.7.30") -- Detecting system MYSQL - done -- Configuring for system MYSQL -- Configuring for system MYSQL - done -- Detecting system PCRE -- Found PCRE: /usr/lib/x86_64-linux-gnu/libpcre.so (found version "8.39") -- Detecting system PCRE - done -- Configuring for system PCRE -- Configuring for system PCRE - done -- Detecting system ZLIB -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Detecting system ZLIB - done -- Configuring for system ZLIB -- Configuring for system ZLIB - done -- Creating version.hpp -- Creating version.hpp - done -- Creating target common_base -- Creating target common_base - done -- Creating target common -- Creating target common - done -- Creating target login-server -- Creating target login-server - done -- Creating target char-server -- Creating target char-server - done -- Creating target map-server -- Enabled PCRE code -- Creating target map-server - done -- Creating target mapcache -- Creating target mapcache - done -- Available targets: -- common_base -- common -- login-server -- char-server -- map-server -- mapcache -- Configuring done -- Generating done -- Build files have been written to: /home/chappo/Repos/rathena/build #i did run make install - but i'll show later it made no difference from 'make' chappo@chappie-linux:~/Repos/rathena/build$ make install Scanning dependencies of target yaml-cpp [ 0%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/binary.cpp.o [ 1%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/convert.cpp.o [ 2%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/directives.cpp.o [ 2%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emit.cpp.o [ 3%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emitfromevents.cpp.o [ 4%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emitter.cpp.o [ 5%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emitterstate.cpp.o [ 5%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emitterutils.cpp.o [ 6%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/exceptions.cpp.o [ 7%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/exp.cpp.o [ 7%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/memory.cpp.o [ 8%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/nodebuilder.cpp.o [ 9%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/node.cpp.o [ 10%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/node_data.cpp.o [ 10%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/nodeevents.cpp.o [ 11%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/null.cpp.o [ 12%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/ostream_wrapper.cpp.o [ 12%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/parse.cpp.o [ 13%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/parser.cpp.o [ 14%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/regex_yaml.cpp.o [ 14%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/scanner.cpp.o [ 15%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/scanscalar.cpp.o [ 16%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/scantag.cpp.o [ 17%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/scantoken.cpp.o [ 17%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/simplekey.cpp.o [ 18%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/singledocparser.cpp.o [ 19%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/stream.cpp.o [ 19%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/tag.cpp.o [ 20%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/contrib/graphbuilderadapter.cpp.o [ 21%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/contrib/graphbuilder.cpp.o [ 22%] Linking CXX static library ../../../lib/libyaml-cpp.a [ 22%] Built target yaml-cpp Scanning dependencies of target common_base [ 23%] Building CXX object src/common/CMakeFiles/common_base.dir/conf.cpp.o [ 24%] Building CXX object src/common/CMakeFiles/common_base.dir/core.cpp.o [ 24%] Building CXX object src/common/CMakeFiles/common_base.dir/database.cpp.o [ 25%] Building CXX object src/common/CMakeFiles/common_base.dir/db.cpp.o [ 26%] Building CXX object src/common/CMakeFiles/common_base.dir/des.cpp.o [ 27%] Building CXX object src/common/CMakeFiles/common_base.dir/ers.cpp.o [ 27%] Building CXX object src/common/CMakeFiles/common_base.dir/grfio.cpp.o [ 28%] Building CXX object src/common/CMakeFiles/common_base.dir/malloc.cpp.o [ 29%] Building CXX object src/common/CMakeFiles/common_base.dir/mapindex.cpp.o [ 29%] Building CXX object src/common/CMakeFiles/common_base.dir/md5calc.cpp.o [ 30%] Building CXX object src/common/CMakeFiles/common_base.dir/nullpo.cpp.o [ 31%] Building CXX object src/common/CMakeFiles/common_base.dir/random.cpp.o [ 31%] Building CXX object src/common/CMakeFiles/common_base.dir/showmsg.cpp.o [ 32%] Building CXX object src/common/CMakeFiles/common_base.dir/socket.cpp.o [ 33%] Building CXX object src/common/CMakeFiles/common_base.dir/strlib.cpp.o [ 34%] Building CXX object src/common/CMakeFiles/common_base.dir/timer.cpp.o [ 34%] Building CXX object src/common/CMakeFiles/common_base.dir/utils.cpp.o [ 35%] Building CXX object src/common/CMakeFiles/common_base.dir/msg_conf.cpp.o [ 36%] Building CXX object src/common/CMakeFiles/common_base.dir/cli.cpp.o [ 36%] Building CXX object src/common/CMakeFiles/common_base.dir/utilities.cpp.o [ 37%] Building C object src/common/CMakeFiles/common_base.dir/__/__/3rdparty/libconfig/grammar.c.o [ 38%] Building C object src/common/CMakeFiles/common_base.dir/__/__/3rdparty/libconfig/libconfig.c.o [ 38%] Building C object src/common/CMakeFiles/common_base.dir/__/__/3rdparty/libconfig/scanctx.c.o [ 39%] Building C object src/common/CMakeFiles/common_base.dir/__/__/3rdparty/libconfig/scanner.c.o [ 40%] Building C object src/common/CMakeFiles/common_base.dir/__/__/3rdparty/libconfig/strbuf.c.o [ 41%] Linking CXX static library ../../../lib/libcommon_base.a [ 41%] Built target common_base Scanning dependencies of target common [ 42%] Building CXX object src/common/CMakeFiles/common.dir/sql.cpp.o [ 42%] Linking CXX static library ../../../lib/libcommon.a [ 42%] Built target common Scanning dependencies of target login-server [ 42%] Building CXX object src/login/CMakeFiles/login-server.dir/account.cpp.o [ 43%] Building CXX object src/login/CMakeFiles/login-server.dir/ipban.cpp.o [ 44%] Building CXX object src/login/CMakeFiles/login-server.dir/login.cpp.o [ 44%] Building CXX object src/login/CMakeFiles/login-server.dir/loginchrif.cpp.o [ 45%] Building CXX object src/login/CMakeFiles/login-server.dir/loginclif.cpp.o [ 46%] Building CXX object src/login/CMakeFiles/login-server.dir/logincnslif.cpp.o [ 47%] Building CXX object src/login/CMakeFiles/login-server.dir/loginlog.cpp.o [ 47%] Linking CXX executable ../../../login-server [ 47%] Built target login-server Scanning dependencies of target char-server [ 47%] Building CXX object src/char/CMakeFiles/char-server.dir/char.cpp.o [ 48%] Building CXX object src/char/CMakeFiles/char-server.dir/char_clif.cpp.o [ 49%] Building CXX object src/char/CMakeFiles/char-server.dir/char_cnslif.cpp.o [ 49%] Building CXX object src/char/CMakeFiles/char-server.dir/char_logif.cpp.o [ 50%] Building CXX object src/char/CMakeFiles/char-server.dir/char_mapif.cpp.o [ 51%] Building CXX object src/char/CMakeFiles/char-server.dir/int_achievement.cpp.o [ 51%] Building CXX object src/char/CMakeFiles/char-server.dir/int_auction.cpp.o [ 52%] Building CXX object src/char/CMakeFiles/char-server.dir/int_clan.cpp.o [ 53%] Building CXX object src/char/CMakeFiles/char-server.dir/int_elemental.cpp.o [ 54%] Building CXX object src/char/CMakeFiles/char-server.dir/int_guild.cpp.o [ 54%] Building CXX object src/char/CMakeFiles/char-server.dir/int_homun.cpp.o [ 55%] Building CXX object src/char/CMakeFiles/char-server.dir/int_mail.cpp.o [ 56%] Building CXX object src/char/CMakeFiles/char-server.dir/int_mercenary.cpp.o [ 56%] Building CXX object src/char/CMakeFiles/char-server.dir/int_party.cpp.o [ 57%] Building CXX object src/char/CMakeFiles/char-server.dir/int_pet.cpp.o [ 58%] Building CXX object src/char/CMakeFiles/char-server.dir/int_quest.cpp.o [ 58%] Building CXX object src/char/CMakeFiles/char-server.dir/int_storage.cpp.o [ 59%] Building CXX object src/char/CMakeFiles/char-server.dir/inter.cpp.o [ 60%] Linking CXX executable ../../../char-server [ 60%] Built target char-server Scanning dependencies of target map-server [ 61%] Building CXX object src/map/CMakeFiles/map-server.dir/achievement.cpp.o [ 62%] Building CXX object src/map/CMakeFiles/map-server.dir/atcommand.cpp.o [ 62%] Building CXX object src/map/CMakeFiles/map-server.dir/battle.cpp.o [ 63%] Building CXX object src/map/CMakeFiles/map-server.dir/battleground.cpp.o [ 64%] Building CXX object src/map/CMakeFiles/map-server.dir/buyingstore.cpp.o [ 64%] Building CXX object src/map/CMakeFiles/map-server.dir/cashshop.cpp.o [ 65%] Building CXX object src/map/CMakeFiles/map-server.dir/channel.cpp.o [ 66%] Building CXX object src/map/CMakeFiles/map-server.dir/chat.cpp.o [ 67%] Building CXX object src/map/CMakeFiles/map-server.dir/chrif.cpp.o [ 67%] Building CXX object src/map/CMakeFiles/map-server.dir/clan.cpp.o [ 68%] Building CXX object src/map/CMakeFiles/map-server.dir/clif.cpp.o #no idea why but it hates this file and how it uses sizeof... In file included from /home/chappo/Repos/rathena/src/map/clif.cpp:21:0: /home/chappo/Repos/rathena/src/map/clif.cpp: In function ‘void clif_npc_market_open(map_session_data*, npc_data*)’: /home/chappo/Repos/rathena/src/map/clif.cpp:2158:58: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKE ^ /home/chappo/Repos/rathena/src/map/../common/socket.hpp:30:71: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_wri ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2158:126: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN_sub’ sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ) ); ^ /home/chappo/Repos/rathena/src/map/../common/socket.hpp:30:71: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_wri ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2158:58: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKE ^ /home/chappo/Repos/rathena/src/map/../common/socket.hpp:30:126: note: in definition of macro ‘WFIFOHEAD’ size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }whi ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2158:126: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN_sub’ sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ) ); ^ /home/chappo/Repos/rathena/src/map/../common/socket.hpp:30:126: note: in definition of macro ‘WFIFOHEAD’ size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }whi ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2160:3: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->packetType = HEADER_ZC_NPC_MARKET_OPEN; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2160:18: error: ‘HEADER_ZC_NPC_MARKET_OPEN’ was not declared in this scope p->packetType = HEADER_ZC_NPC_MARKET_OPEN; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2176:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].nameid = client_nameid( item->nameid ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2177:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].type = itemtype( item->nameid ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2178:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].price = item->value; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2179:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].qty = item->qty; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2180:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].weight = id->weight; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2184:3: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->packetLength = sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_s ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2184:61: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->packetLength = sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_s ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2184:118: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN_sub’ acketLength = sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2185:17: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ WFIFOSET( fd, p->packetLength ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ In file included from /home/chappo/Repos/rathena/src/map/clif.cpp:21:0: /home/chappo/Repos/rathena/src/map/clif.cpp: In function ‘void clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)’: /home/chappo/Repos/rathena/src/map/clif.cpp:2212:69: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + n * sizeof( struct PACKET_ZC_NPC_MARKET_P ^ /home/chappo/Repos/rathena/src/map/../common/socket.hpp:30:71: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_wri ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2212:69: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + n * sizeof( struct PACKET_ZC_NPC_MARKET_P ^ /home/chappo/Repos/rathena/src/map/../common/socket.hpp:30:126: note: in definition of macro ‘WFIFOHEAD’ size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }whi ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2214:3: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketType = HEADER_ZC_NPC_MARKET_PURCHASE_RESULT; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2214:18: error: ‘HEADER_ZC_NPC_MARKET_PURCHASE_RESULT’ was not declared in this scope p->PacketType = HEADER_ZC_NPC_MARKET_PURCHASE_RESULT; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2219:3: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->result = ( res == 0 ? 1 : 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2224:7: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ if( p->result ){ ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2233:5: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->list[count].ITID = client_nameid( list[i].nameid ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2234:5: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->list[count].qty = list[i].qty; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2235:5: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->list[count].price = nd->u.shop.shop_item[j].value; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2240:3: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketLength = sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + count * sizeof( struct PACKET_ZC_NPC_M ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2240:72: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketLength = sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + count * sizeof( struct PACKET_ZC_NPC_M ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2241:17: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ WFIFOSET( fd, p->PacketLength ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp: In function ‘void clif_hotkeys_send(map_session_data*, int)’: /home/chappo/Repos/rathena/src/map/clif.cpp:10836:37: error: aggregate ‘clif_hotkeys_send(map_session_data*, int)::PACKET_ZC_SHORTCUT_KEY_LIST p’ has incomplete type and cannot be defined struct PACKET_ZC_SHORTCUT_KEY_LIST p; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:10838:17: error: ‘HEADER_ZC_SHORTCUT_KEY_LIST’ was not declared in this scope p.packetType = HEADER_ZC_SHORTCUT_KEY_LIST; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:10852:50: error: ‘MAX_HOTKEYS_PACKET’ was not declared in this scope for( int i = 0, offset = tab * MAX_HOTKEYS; i < MAX_HOTKEYS_PACKET; i++ ){ ^ /home/chappo/Repos/rathena/src/map/clif.cpp:10858:58: error: invalid application of ‘sizeof’ to incomplete type ‘clif_hotkeys_send(map_session_data*, int)::PACKET_ZC_SHORTCUT_KEY_LIST’ clif_send( &p, sizeof(struct PACKET_ZC_SHORTCUT_KEY_LIST), &sd->bl, SELF ); ^ src/map/CMakeFiles/map-server.dir/build.make:302: recipe for target 'src/map/CMakeFiles/map-server.dir/clif.cpp.o' failed make[2]: *** [src/map/CMakeFiles/map-server.dir/clif.cpp.o] Error 1 CMakeFiles/Makefile2:483: recipe for target 'src/map/CMakeFiles/map-server.dir/all' failed make[1]: *** [src/map/CMakeFiles/map-server.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 #me realizing i ran make 'install' chappo@chappie-linux:~/Repos/rathena/build$ make clean #me running 'make' chappo@chappie-linux:~/Repos/rathena/build$ make [ 0%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/binary.cpp.o [ 1%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/convert.cpp.o [ 2%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/directives.cpp.o [ 2%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emit.cpp.o [ 3%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emitfromevents.cpp.o [ 4%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emitter.cpp.o [ 5%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emitterstate.cpp.o [ 5%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/emitterutils.cpp.o [ 6%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/exceptions.cpp.o [ 7%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/exp.cpp.o [ 7%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/memory.cpp.o [ 8%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/nodebuilder.cpp.o [ 9%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/node.cpp.o [ 10%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/node_data.cpp.o [ 10%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/nodeevents.cpp.o [ 11%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/null.cpp.o [ 12%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/ostream_wrapper.cpp.o [ 12%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/parse.cpp.o [ 13%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/parser.cpp.o [ 14%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/regex_yaml.cpp.o [ 14%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/scanner.cpp.o [ 15%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/scanscalar.cpp.o [ 16%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/scantag.cpp.o [ 17%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/scantoken.cpp.o [ 17%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/simplekey.cpp.o [ 18%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/singledocparser.cpp.o [ 19%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/stream.cpp.o [ 19%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/tag.cpp.o [ 20%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/contrib/graphbuilderadapter.cpp.o [ 21%] Building CXX object 3rdparty/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/contrib/graphbuilder.cpp.o [ 22%] Linking CXX static library ../../../lib/libyaml-cpp.a [ 22%] Built target yaml-cpp [ 23%] Building CXX object src/common/CMakeFiles/common_base.dir/conf.cpp.o [ 24%] Building CXX object src/common/CMakeFiles/common_base.dir/core.cpp.o [ 24%] Building CXX object src/common/CMakeFiles/common_base.dir/database.cpp.o [ 25%] Building CXX object src/common/CMakeFiles/common_base.dir/db.cpp.o [ 26%] Building CXX object src/common/CMakeFiles/common_base.dir/des.cpp.o [ 27%] Building CXX object src/common/CMakeFiles/common_base.dir/ers.cpp.o [ 27%] Building CXX object src/common/CMakeFiles/common_base.dir/grfio.cpp.o [ 28%] Building CXX object src/common/CMakeFiles/common_base.dir/malloc.cpp.o [ 29%] Building CXX object src/common/CMakeFiles/common_base.dir/mapindex.cpp.o [ 29%] Building CXX object src/common/CMakeFiles/common_base.dir/md5calc.cpp.o [ 30%] Building CXX object src/common/CMakeFiles/common_base.dir/nullpo.cpp.o [ 31%] Building CXX object src/common/CMakeFiles/common_base.dir/random.cpp.o [ 31%] Building CXX object src/common/CMakeFiles/common_base.dir/showmsg.cpp.o [ 32%] Building CXX object src/common/CMakeFiles/common_base.dir/socket.cpp.o [ 33%] Building CXX object src/common/CMakeFiles/common_base.dir/strlib.cpp.o [ 34%] Building CXX object src/common/CMakeFiles/common_base.dir/timer.cpp.o [ 34%] Building CXX object src/common/CMakeFiles/common_base.dir/utils.cpp.o [ 35%] Building CXX object src/common/CMakeFiles/common_base.dir/msg_conf.cpp.o [ 36%] Building CXX object src/common/CMakeFiles/common_base.dir/cli.cpp.o [ 36%] Building CXX object src/common/CMakeFiles/common_base.dir/utilities.cpp.o [ 37%] Building C object src/common/CMakeFiles/common_base.dir/__/__/3rdparty/libconfig/grammar.c.o [ 38%] Building C object src/common/CMakeFiles/common_base.dir/__/__/3rdparty/libconfig/libconfig.c.o [ 38%] Building C object src/common/CMakeFiles/common_base.dir/__/__/3rdparty/libconfig/scanctx.c.o [ 39%] Building C object src/common/CMakeFiles/common_base.dir/__/__/3rdparty/libconfig/scanner.c.o [ 40%] Building C object src/common/CMakeFiles/common_base.dir/__/__/3rdparty/libconfig/strbuf.c.o [ 41%] Linking CXX static library ../../../lib/libcommon_base.a [ 41%] Built target common_base [ 42%] Building CXX object src/common/CMakeFiles/common.dir/sql.cpp.o [ 42%] Linking CXX static library ../../../lib/libcommon.a [ 42%] Built target common [ 42%] Building CXX object src/login/CMakeFiles/login-server.dir/account.cpp.o [ 43%] Building CXX object src/login/CMakeFiles/login-server.dir/ipban.cpp.o [ 44%] Building CXX object src/login/CMakeFiles/login-server.dir/login.cpp.o [ 44%] Building CXX object src/login/CMakeFiles/login-server.dir/loginchrif.cpp.o [ 45%] Building CXX object src/login/CMakeFiles/login-server.dir/loginclif.cpp.o [ 46%] Building CXX object src/login/CMakeFiles/login-server.dir/logincnslif.cpp.o [ 47%] Building CXX object src/login/CMakeFiles/login-server.dir/loginlog.cpp.o [ 47%] Linking CXX executable ../../../login-server [ 47%] Built target login-server [ 47%] Building CXX object src/char/CMakeFiles/char-server.dir/char.cpp.o [ 48%] Building CXX object src/char/CMakeFiles/char-server.dir/char_clif.cpp.o [ 49%] Building CXX object src/char/CMakeFiles/char-server.dir/char_cnslif.cpp.o [ 49%] Building CXX object src/char/CMakeFiles/char-server.dir/char_logif.cpp.o [ 50%] Building CXX object src/char/CMakeFiles/char-server.dir/char_mapif.cpp.o [ 51%] Building CXX object src/char/CMakeFiles/char-server.dir/int_achievement.cpp.o [ 51%] Building CXX object src/char/CMakeFiles/char-server.dir/int_auction.cpp.o [ 52%] Building CXX object src/char/CMakeFiles/char-server.dir/int_clan.cpp.o [ 53%] Building CXX object src/char/CMakeFiles/char-server.dir/int_elemental.cpp.o [ 54%] Building CXX object src/char/CMakeFiles/char-server.dir/int_guild.cpp.o [ 54%] Building CXX object src/char/CMakeFiles/char-server.dir/int_homun.cpp.o [ 55%] Building CXX object src/char/CMakeFiles/char-server.dir/int_mail.cpp.o [ 56%] Building CXX object src/char/CMakeFiles/char-server.dir/int_mercenary.cpp.o [ 56%] Building CXX object src/char/CMakeFiles/char-server.dir/int_party.cpp.o [ 57%] Building CXX object src/char/CMakeFiles/char-server.dir/int_pet.cpp.o [ 58%] Building CXX object src/char/CMakeFiles/char-server.dir/int_quest.cpp.o [ 58%] Building CXX object src/char/CMakeFiles/char-server.dir/int_storage.cpp.o [ 59%] Building CXX object src/char/CMakeFiles/char-server.dir/inter.cpp.o [ 60%] Linking CXX executable ../../../char-server [ 60%] Built target char-server [ 61%] Building CXX object src/map/CMakeFiles/map-server.dir/achievement.cpp.o [ 62%] Building CXX object src/map/CMakeFiles/map-server.dir/atcommand.cpp.o [ 62%] Building CXX object src/map/CMakeFiles/map-server.dir/battle.cpp.o [ 63%] Building CXX object src/map/CMakeFiles/map-server.dir/battleground.cpp.o [ 64%] Building CXX object src/map/CMakeFiles/map-server.dir/buyingstore.cpp.o [ 64%] Building CXX object src/map/CMakeFiles/map-server.dir/cashshop.cpp.o [ 65%] Building CXX object src/map/CMakeFiles/map-server.dir/channel.cpp.o [ 66%] Building CXX object src/map/CMakeFiles/map-server.dir/chat.cpp.o [ 67%] Building CXX object src/map/CMakeFiles/map-server.dir/chrif.cpp.o [ 67%] Building CXX object src/map/CMakeFiles/map-server.dir/clan.cpp.o [ 68%] Building CXX object src/map/CMakeFiles/map-server.dir/clif.cpp.o #heavy breathing continues.. In file included from /home/chappo/Repos/rathena/src/map/clif.cpp:21:0: /home/chappo/Repos/rathena/src/map/clif.cpp: In function ‘void clif_npc_market_open(map_session_data*, npc_data*)’: /home/chappo/Repos/rathena/src/map/clif.cpp:2158:58: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKE ^ /home/chappo/Repos/rathena/src/map/../common/socket.hpp:30:71: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_wri ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2158:126: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN_sub’ sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ) ); ^ /home/chappo/Repos/rathena/src/map/../common/socket.hpp:30:71: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_wri ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2158:58: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKE ^ /home/chappo/Repos/rathena/src/map/../common/socket.hpp:30:126: note: in definition of macro ‘WFIFOHEAD’ size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }whi ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2158:126: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN_sub’ sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ) ); ^ /home/chappo/Repos/rathena/src/map/../common/socket.hpp:30:126: note: in definition of macro ‘WFIFOHEAD’ size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }whi ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2160:3: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->packetType = HEADER_ZC_NPC_MARKET_OPEN; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2160:18: error: ‘HEADER_ZC_NPC_MARKET_OPEN’ was not declared in this scope p->packetType = HEADER_ZC_NPC_MARKET_OPEN; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2176:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].nameid = client_nameid( item->nameid ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2177:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].type = itemtype( item->nameid ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2178:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].price = item->value; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2179:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].qty = item->qty; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2180:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].weight = id->weight; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2184:3: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->packetLength = sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_s ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2184:61: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->packetLength = sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_s ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2184:118: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN_sub’ acketLength = sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2185:17: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ WFIFOSET( fd, p->packetLength ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^ In file included from /home/chappo/Repos/rathena/src/map/clif.cpp:21:0: /home/chappo/Repos/rathena/src/map/clif.cpp: In function ‘void clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)’: /home/chappo/Repos/rathena/src/map/clif.cpp:2212:69: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + n * sizeof( struct PACKET_ZC_NPC_MARKET_P ^ /home/chappo/Repos/rathena/src/map/../common/socket.hpp:30:71: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_wri ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2212:69: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + n * sizeof( struct PACKET_ZC_NPC_MARKET_P ^ /home/chappo/Repos/rathena/src/map/../common/socket.hpp:30:126: note: in definition of macro ‘WFIFOHEAD’ size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }whi ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2214:3: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketType = HEADER_ZC_NPC_MARKET_PURCHASE_RESULT; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2214:18: error: ‘HEADER_ZC_NPC_MARKET_PURCHASE_RESULT’ was not declared in this scope p->PacketType = HEADER_ZC_NPC_MARKET_PURCHASE_RESULT; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2219:3: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->result = ( res == 0 ? 1 : 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2224:7: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ if( p->result ){ ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2233:5: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->list[count].ITID = client_nameid( list[i].nameid ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2234:5: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->list[count].qty = list[i].qty; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2235:5: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->list[count].price = nd->u.shop.shop_item[j].value; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2240:3: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketLength = sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + count * sizeof( struct PACKET_ZC_NPC_M ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2240:72: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketLength = sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + count * sizeof( struct PACKET_ZC_NPC_M ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2241:17: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ WFIFOSET( fd, p->PacketLength ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^ /home/chappo/Repos/rathena/src/map/clif.cpp: In function ‘void clif_hotkeys_send(map_session_data*, int)’: /home/chappo/Repos/rathena/src/map/clif.cpp:10836:37: error: aggregate ‘clif_hotkeys_send(map_session_data*, int)::PACKET_ZC_SHORTCUT_KEY_LIST p’ has incomplete type and cannot be defined struct PACKET_ZC_SHORTCUT_KEY_LIST p; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:10838:17: error: ‘HEADER_ZC_SHORTCUT_KEY_LIST’ was not declared in this scope p.packetType = HEADER_ZC_SHORTCUT_KEY_LIST; ^ /home/chappo/Repos/rathena/src/map/clif.cpp:10852:50: error: ‘MAX_HOTKEYS_PACKET’ was not declared in this scope for( int i = 0, offset = tab * MAX_HOTKEYS; i < MAX_HOTKEYS_PACKET; i++ ){ ^ /home/chappo/Repos/rathena/src/map/clif.cpp:10858:58: error: invalid application of ‘sizeof’ to incomplete type ‘clif_hotkeys_send(map_session_data*, int)::PACKET_ZC_SHORTCUT_KEY_LIST’ clif_send( &p, sizeof(struct PACKET_ZC_SHORTCUT_KEY_LIST), &sd->bl, SELF ); ^ src/map/CMakeFiles/map-server.dir/build.make:302: recipe for target 'src/map/CMakeFiles/map-server.dir/clif.cpp.o' failed make[2]: *** [src/map/CMakeFiles/map-server.dir/clif.cpp.o] Error 1 CMakeFiles/Makefile2:483: recipe for target 'src/map/CMakeFiles/map-server.dir/all' failed make[1]: *** [src/map/CMakeFiles/map-server.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 chappo@chappie-linux:~/Repos/rathena/build$ I'll try a different distro or something. ?
-
So I decided to start from scratch. Spun up a new 18.04 and installed only what was needed. I am still having the same issue with (I believe) no interfering applications. I've attached a full copy of the output for review as well. Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.5.0-12ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1) Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.5.0-12ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1) chappo@chappie-linux:~/Repos/rathena/shell-scripts$ make-server-dump.txt
-
Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) This is what it looks like now. (I am still messing around trying to get it working)
-
Hello. Decided to try to run a server and encountered some issues while running make server. Here's a little information on the steps I took: 1. apt-get install php5 phpmyadmin mysql-server mysql-client git make gcc libmysqlclient-dev zlib1g-dev libpcre3-dev 2. sudo apt-get install php5 phpmyadmin mysql-server mysql-client git make gcc libmysqlclient-dev zlib1g-dev libpcre3-dev 3. git clone https://github.com/rathena/rathena.git ~/rAthena 4. all kinds of other db stuff and conf file stuff 5. ./configure --enable-packetver=20170614 6. make clean 7. make server That is when the errors occur. I have searched through the forums and have not found a concrete answer or situation similar to mine. In file included from clif.cpp:21:0: clif.cpp: In function ‘void clif_npc_market_open(map_session_data*, npc_data*)’: clif.cpp:2158:58: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ) ); ^ ../common/socket.hpp:30:71: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }while(0) ^~~~ clif.cpp:2158:126: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN_sub’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ) ); ^ ../common/socket.hpp:30:71: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }while(0) ^~~~ clif.cpp:2158:58: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ) ); ^ ../common/socket.hpp:30:126: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }while(0) ^~~~ clif.cpp:2158:126: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN_sub’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + nd->u.shop.count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ) ); ^ ../common/socket.hpp:30:126: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }while(0) ^~~~ clif.cpp:2160:3: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->packetType = HEADER_ZC_NPC_MARKET_OPEN; ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2160:18: error: ‘HEADER_ZC_NPC_MARKET_OPEN’ was not declared in this scope p->packetType = HEADER_ZC_NPC_MARKET_OPEN; ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2160:18: note: suggested alternative: ‘PACKET_ZC_NPC_MARKET_OPEN’ p->packetType = HEADER_ZC_NPC_MARKET_OPEN; ^~~~~~~~~~~~~~~~~~~~~~~~~ PACKET_ZC_NPC_MARKET_OPEN clif.cpp:2176:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].nameid = client_nameid( item->nameid ); ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2177:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].type = itemtype( item->nameid ); ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2178:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].price = item->value; ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2179:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].qty = item->qty; ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2180:4: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->list[count].weight = id->weight; ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2184:3: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->packetLength = sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ); ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2184:61: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ p->packetLength = sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ); ^ clif.cpp:2184:118: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN_sub’ p->packetLength = sizeof( struct PACKET_ZC_NPC_MARKET_OPEN ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_OPEN_sub ); ^ clif.cpp:2185:17: error: invalid use of incomplete type ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPE’ WFIFOSET( fd, p->packetLength ); ^~ clif.cpp:2159:9: note: forward declaration of ‘struct clif_npc_market_open(map_session_data*, npc_data*)::PACKET_ZC_NPC_MARKET_OPEN’ struct PACKET_ZC_NPC_MARKET_OPEN *p = (struct PACKET_ZC_NPC_MARKET_OPEN *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from clif.cpp:21:0: clif.cpp: In function ‘void clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)’: clif.cpp:2212:69: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + n * sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT_sub ) ); ^ ../common/socket.hpp:30:71: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }while(0) ^~~~ clif.cpp:2212:69: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ WFIFOHEAD( fd, sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + n * sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT_sub ) ); ^ ../common/socket.hpp:30:126: note: in definition of macro ‘WFIFOHEAD’ #define WFIFOHEAD(fd, size) do{ if((fd) && session[fd]->wdata_size + (size) > session[fd]->max_wdata ) realloc_writefifo(fd, size); }while(0) ^~~~ clif.cpp:2214:3: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketType = HEADER_ZC_NPC_MARKET_PURCHASE_RESULT; ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2214:18: error: ‘HEADER_ZC_NPC_MARKET_PURCHASE_RESULT’ was not declared in this scope p->PacketType = HEADER_ZC_NPC_MARKET_PURCHASE_RESULT; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2214:18: note: suggested alternative: ‘PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketType = HEADER_ZC_NPC_MARKET_PURCHASE_RESULT; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PACKET_ZC_NPC_MARKET_PURCHASE_RESULT clif.cpp:2219:3: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->result = ( res == 0 ? 1 : 0 ); ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2224:7: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ if( p->result ){ ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2233:5: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->list[count].ITID = client_nameid( list[i].nameid ); ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2234:5: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->list[count].qty = list[i].qty; ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2235:5: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->list[count].price = nd->u.shop.shop_item[j].value; ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2240:3: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketLength = sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT_sub ); ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:2240:72: error: invalid application of ‘sizeof’ to incomplete type ‘clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ p->PacketLength = sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT ) + count * sizeof( struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT_sub ); ^ clif.cpp:2241:17: error: invalid use of incomplete type ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ WFIFOSET( fd, p->PacketLength ); ^~ clif.cpp:2213:9: note: forward declaration of ‘struct clif_npc_market_purchase_ack(map_session_data*, uint8, uint8, s_npc_buy_list*)::PACKET_ZC_NPC_MARKET_PURCHASE_RESULT’ struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *p = (struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT *)WFIFOP( fd, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp: In function ‘void clif_hotkeys_send(map_session_data*, int)’: clif.cpp:10836:37: error: aggregate ‘clif_hotkeys_send(map_session_data*, int)::PACKET_ZC_SHORTCUT_KEY_LIST p’ has incomplete type and cannot be defined struct PACKET_ZC_SHORTCUT_KEY_LIST p; ^ clif.cpp:10838:17: error: ‘HEADER_ZC_SHORTCUT_KEY_LIST’ was not declared in this scope p.packetType = HEADER_ZC_SHORTCUT_KEY_LIST; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ clif.cpp:10838:17: note: suggested alternative: ‘PACKET_ZC_SHORTCUT_KEY_LIST’ p.packetType = HEADER_ZC_SHORTCUT_KEY_LIST; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ PACKET_ZC_SHORTCUT_KEY_LIST clif.cpp:10852:50: error: ‘MAX_HOTKEYS_PACKET’ was not declared in this scope for( int i = 0, offset = tab * MAX_HOTKEYS; i < MAX_HOTKEYS_PACKET; i++ ){ ^~~~~~~~~~~~~~~~~~ clif.cpp:10852:50: note: suggested alternative: ‘MAX_HOTKEYS_DB’ for( int i = 0, offset = tab * MAX_HOTKEYS; i < MAX_HOTKEYS_PACKET; i++ ){ ^~~~~~~~~~~~~~~~~~ MAX_HOTKEYS_DB clif.cpp:10858:58: error: invalid application of ‘sizeof’ to incomplete type ‘clif_hotkeys_send(map_session_data*, int)::PACKET_ZC_SHORTCUT_KEY_LIST’ clif_send( &p, sizeof(struct PACKET_ZC_SHORTCUT_KEY_LIST), &sd->bl, SELF ); ^ Makefile:83: recipe for target 'obj/clif.o' failed make[1]: *** [obj/clif.o] Error 1 make[1]: Leaving directory '/home/chappo/Repos/rathena/src/map' Makefile:50: recipe for target 'map' failed make: *** [map] Error 2 chmod: cannot access 'map-server': No such file or directory To attempt to remedy this issue I have: deleted the clone and re-pulled chmod -R 777 the entire repo (why not?) ensured that the clif.cpp and socket.hpp exist down/upgraded from gcc/g++ 5-8 (currently back to 5) Searched the following: search 1 search 2 google search Any help would be appreciated. Notes: o LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) This is what it looks like now. (I am still messing around trying to get it working) Thanks! socket.hpp clif.cpp
-
Perhaps you want to make sure you provide permissions to that directory. sudo chmod -R 755 /directory/location
-
Yeah, he needs to get on board with rAthena. Thanks for trying to help him out!
-
You, sir, need to obtain a new version of rathena. The current atcommand_athena.conf looks like THIS. The current groups.conf looks like THIS. To obtain a new version I would suggest that you follow this guide HERE.
-
Why is it that everytime I see a post from you it is just so useful? If you're not going to help the guy the least you can do is not showcase his ignorance.