Advertisement
Guest User

problems to compile while using old packetvers

a guest
Feb 16th, 2020
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.26 KB | None | 0 0
  1. user@computer ~/compiled-herc
  2. $ make sql
  3. MAKE mt19937ar
  4. make[1]: Entering directory '/home/user/compiled-herc/3rdparty/mt19937ar'
  5. CC mt19937ar.c
  6. make[1]: Leaving directory '/home/user/compiled-herc/3rdparty/mt19937ar'
  7. MAKE libconfig
  8. make[1]: Entering directory '/home/user/compiled-herc/3rdparty/libconfig'
  9. CC libconfig.c
  10. CC grammar.c
  11. CC scanctx.c
  12. CC scanner.c
  13. CC strbuf.c
  14. make[1]: Leaving directory '/home/user/compiled-herc/3rdparty/libconfig'
  15. MAKE common_sql
  16. make[1]: Entering directory '/home/user/compiled-herc/src/common'
  17. MKDIR obj_all
  18. CC conf.c
  19. CC db.c
  20. CC des.c
  21. CC ers.c
  22. CC grfio.c
  23. CC HPM.c
  24. CC mapindex.c
  25. CC md5calc.c
  26. CC mutex.c
  27. CC nullpo.c
  28. CC packets.c
  29. CC random.c
  30. CC showmsg.c
  31. CC strlib.c
  32. CC sysinfo.c
  33. CC thread.c
  34. CC timer.c
  35. CC utils.c
  36. CC console.c
  37. CC core.c
  38. CC memmgr.c
  39. CC socket.c
  40. AR obj_all/common.a
  41. MKDIR obj_sql
  42. CC sql.c
  43. AR obj_sql/common_sql.a
  44. make[1]: Leaving directory '/home/user/compiled-herc/src/common'
  45. MAKE login_sql
  46. make[1]: Entering directory '/home/user/compiled-herc/src/login'
  47. MKDIR obj_sql
  48. CC account.c
  49. CC HPMlogin.c
  50. CC ipban.c
  51. CC lclif.c
  52. CC login.c
  53. CC loginlog.c
  54. LD login-server.exe
  55. make[1]: Leaving directory '/home/user/compiled-herc/src/login'
  56. MAKE char_sql
  57. make[1]: Entering directory '/home/user/compiled-herc/src/char'
  58. MKDIR obj_sql
  59. CC char.c
  60. CC HPMchar.c
  61. CC loginif.c
  62. CC mapif.c
  63. CC geoip.c
  64. CC inter.c
  65. CC int_achievement.c
  66. CC int_auction.c
  67. CC int_clan.c
  68. CC int_elemental.c
  69. CC int_guild.c
  70. CC int_homun.c
  71. CC int_mail.c
  72. CC int_mercenary.c
  73. CC int_party.c
  74. CC int_pet.c
  75. CC int_quest.c
  76. CC int_rodex.c
  77. CC int_storage.c
  78. CC pincode.c
  79. LD char-server.exe
  80. make[1]: Leaving directory '/home/user/compiled-herc/src/char'
  81. MAKE map_sql
  82. make[1]: Entering directory '/home/user/compiled-herc/src/map'
  83. MKDIR obj_sql
  84. CC achievement.c
  85. In file included from ../common/hercules.h:24:0,
  86. from ../map/achievement.h:24,
  87. from achievement.c:24:
  88. ../common/packetsstatic_len.h:28:24: error: ‘PACKET_LEN_0x07e1’ undeclared here (not in a function); did you mean ‘PACKET_LEN_0x02e1’?
  89. STATIC_ASSERT((int32)(PACKET_LEN_##id) == -1 || sizeof(struct PACKET_##name) == \
  90. ^
  91. ../common/cbasetypes.h:469:47: note: in definition of macro ‘STATIC_ASSERT’
  92. #define STATIC_ASSERT(ex, msg) _Static_assert(ex, msg)
  93. ^~
  94. ../map/packets_struct.h:3597:1: note: in expansion of macro ‘DEFINE_PACKET_HEADER’
  95. DEFINE_PACKET_HEADER(ZC_SKILLINFO_UPDATE2, 0x07e1);
  96. ^~~~~~~~~~~~~~~~~~~~
  97. ../common/packetsstatic_len.h:28:16: error: expression in static assertion is not an integer
  98. STATIC_ASSERT((int32)(PACKET_LEN_##id) == -1 || sizeof(struct PACKET_##name) == \
  99. ^
  100. ../common/cbasetypes.h:469:47: note: in definition of macro ‘STATIC_ASSERT’
  101. #define STATIC_ASSERT(ex, msg) _Static_assert(ex, msg)
  102. ^~
  103. ../map/packets_struct.h:3597:1: note: in expansion of macro ‘DEFINE_PACKET_HEADER’
  104. DEFINE_PACKET_HEADER(ZC_SKILLINFO_UPDATE2, 0x07e1);
  105. ^~~~~~~~~~~~~~~~~~~~
  106. ../common/packetsstatic_len.h:28:24: error: ‘PACKET_LEN_0x0845’ undeclared here (not in a function); did you mean ‘PACKET_LEN_0x0345’?
  107. STATIC_ASSERT((int32)(PACKET_LEN_##id) == -1 || sizeof(struct PACKET_##name) == \
  108. ^
  109. ../common/cbasetypes.h:469:47: note: in definition of macro ‘STATIC_ASSERT’
  110. #define STATIC_ASSERT(ex, msg) _Static_assert(ex, msg)
  111. ^~
  112. ../map/packets_struct.h:3788:1: note: in expansion of macro ‘DEFINE_PACKET_HEADER’
  113. DEFINE_PACKET_HEADER(ZC_SE_CASHSHOP_OPEN, 0x0845);
  114. ^~~~~~~~~~~~~~~~~~~~
  115. ../common/packetsstatic_len.h:28:16: error: expression in static assertion is not an integer
  116. STATIC_ASSERT((int32)(PACKET_LEN_##id) == -1 || sizeof(struct PACKET_##name) == \
  117. ^
  118. ../common/cbasetypes.h:469:47: note: in definition of macro ‘STATIC_ASSERT’
  119. #define STATIC_ASSERT(ex, msg) _Static_assert(ex, msg)
  120. ^~
  121. ../map/packets_struct.h:3788:1: note: in expansion of macro ‘DEFINE_PACKET_HEADER’
  122. DEFINE_PACKET_HEADER(ZC_SE_CASHSHOP_OPEN, 0x0845);
  123. ^~~~~~~~~~~~~~~~~~~~
  124. make[1]: *** [Makefile:148: obj_sql/achievement.o] Error 1
  125. make[1]: Leaving directory '/home/user/compiled-herc/src/map'
  126. make: *** [Makefile:120: map_sql] Error 2
  127.  
  128. user@computer ~/compiled-herc
  129. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement