viewing paste gcc-6.1 mac herculesWS compile | C

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424
    CLEAN   common (build temp files)
    CLEAN   common
    CLEAN   mt19937ar (build temp files)
    CLEAN   mt19937ar
    CLEAN   libconfig (build temp files)
    CLEAN   libconfig
    CLEAN   login (build temp files)
    CLEAN   login
    CLEAN   char (build temp files)
    CLEAN   char
    CLEAN   map (build temp files)
    CLEAN   map
    CLEAN   plugins (build temp files)
    CLEAN   plugins
    CLEAN   tool (build temp files)
    CLEAN   tool
    CLEAN   test (build temp files)
    CLEAN   test
    CLEAN   HPMHookGen
Saguns-MacBook-Pro-3:Hercules Sagun$ ./configure --enable-64bit --enable-sanitize=full CC=gcc-6 --disable-manager --enable-debug
checking for gcc... gcc-6
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-6 accepts -g... yes
checking for gcc-6 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc-6 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make sets $(MAKE)... yes
checking for gcc... (cached) gcc-6
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc-6 accepts -g... (cached) yes
checking for gcc-6 option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc-6 -E
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... no
checking whether gcc-6 produces 32bit code... no
checking whether gcc-6 supports __thread specifier (TLS)... yes
checking whether gcc-6 accepts -rdynamic... yes
checking whether gcc-6 supports -fsanitize=address... yes
checking whether gcc-6 supports -fsanitize=shift... yes
checking whether gcc-6 supports -fsanitize=integer-divide-by-zero... yes
checking whether gcc-6 supports -fsanitize=unreachable... yes
checking whether gcc-6 supports -fsanitize=vla-bound... yes
checking whether gcc-6 supports -fsanitize=null... yes
checking whether gcc-6 supports -fsanitize=return... yes
checking whether gcc-6 supports -fsanitize=signed-integer-overflow... yes
checking whether gcc-6 supports -fsanitize=bounds... yes
checking whether gcc-6 supports -fsanitize=object-size... yes
checking whether gcc-6 supports -fsanitize=float-divide-by-zero... yes
checking whether gcc-6 supports -fsanitize=float-cast-overflow... yes
checking whether gcc-6 supports -fsanitize=nonnull-attribute... yes
checking whether gcc-6 supports -fsanitize=returns-nonnull-attribute... yes
checking whether gcc-6 supports -fsanitize=bool... yes
checking whether gcc-6 supports -fsanitize=enum... yes
checking whether gcc-6 supports -fsanitize=vptr... yes
checking whether gcc-6 supports -Wno-unused-parameter... yes
checking whether gcc-6 can actually use -Wno-unused-parameter... yes
checking whether gcc-6 supports -Wno-clobbered... yes
checking whether gcc-6 supports -Wempty-body... yes
checking whether gcc-6 supports -Wnewline-eof... no
checking whether gcc-6 supports -Wint-conversion... yes
checking whether gcc-6 supports -Winit-self... yes
checking whether gcc-6 supports -Wpointer-arith... yes
checking whether gcc-6 supports -Wswitch-bool... yes
checking whether gcc-6 supports -Wenum-conversion... no
checking whether gcc-6 supports -Wshorten-64-to-32... no
checking whether gcc-6 supports -Wconstant-conversion... no
checking whether gcc-6 supports -Wbool-conversion... no
checking whether gcc-6 supports -Wformat-security... yes
checking whether gcc-6 supports -Wformat... yes
checking whether gcc-6 supports -Wformat-signedness... yes
checking whether gcc-6 supports -Wformat-y2k... yes
checking whether gcc-6 supports -Wmissing-include-dirs... no
checking whether gcc-6 supports -Wsuggest-attribute=noreturn... yes
checking whether gcc-6 supports -Wundef... yes
checking whether gcc-6 supports -Wlogical-op... yes
checking whether gcc-6 supports -Wnested-externs... yes
checking whether gcc-6 supports -Wold-style-definition... yes
checking whether gcc-6 supports -Woverlength-strings... yes
checking whether gcc-6 supports -Wredundant-decls... yes
checking whether gcc-6 supports -Wcast-qual... yes
checking whether gcc-6 supports -Wno-format-nonliteral... yes
checking whether gcc-6 supports -Wno-switch... yes
checking whether gcc-6 supports -Wno-missing-field-initializers... yes
checking whether gcc-6 supports -Wshadow... yes
checking whether gcc-6 can efficiently use -Wshadow... yes
checking whether gcc-6 supports -fPIC... yes
checking how to make shared objects... -shared yes
checking whether gcc-6 needs -Wl,--no-undefined to check for undefined references in shared objects... no
checking whether gcc-6 supports -fno-strict-aliasing... yes
checking for setrlimit... yes
checking for strnlen... yes
checking for uselocale... yes
checking for newlocale... yes
checking for freelocale... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking host OS... Darwin
checking for MinGW... no
checking for library containing inflateEnd... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing sqrt... none required
checking for library containing clock_gettime... no
checking for library containing pthread_create... none required
checking for library containing pthread_sigmask... none required
checking for library containing pthread_attr_init... none required
checking for library containing pthread_attr_setstacksize... none required
checking for library containing pthread_attr_destroy... none required
checking for library containing pthread_cancel... none required
checking for library containing pthread_join... none required
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for library containing backtrace... none required
checking for mysql_config... /usr/local/bin/mysql_config
checking for mysql_init... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking MySQL library (required)... yes (10.1.13)
checking PCRE library... checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for library containing pcre_study... -lpcre
checking for doxygen... yes
checking for perl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/common/Makefile
config.status: creating 3rdparty/mt19937ar/Makefile
config.status: creating 3rdparty/libconfig/Makefile
config.status: creating src/char/Makefile
config.status: creating src/login/Makefile
config.status: creating src/map/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/tool/Makefile
config.status: creating src/test/Makefile
config.status: creating tools/HPMHookGen/Makefile
Saguns-MacBook-Pro-3:Hercules Sagun$ make sql -j 9
    MAKE    mt19937ar
    MAKE    libconfig
    CC  mt19937ar.c
    CC  libconfig.c
    CC  grammar.c
    CC  scanctx.c
    CC  scanner.c
building conf/import folder...
    CC  strbuf.c
    MAKE    common_sql
    MKDIR   obj_all
    MKDIR   obj_sql
    CC  conf.c
    CC  db.c
    CC  des.c
    CC  ers.c
    CC  grfio.c
    CC  HPM.c
    CC  mapindex.c
    CC  md5calc.c
    CC  mutex.c
    CC  nullpo.c
    CC  random.c
    CC  showmsg.c
    CC  strlib.c
    CC  sysinfo.c
    CC  thread.c
    CC  timer.c
    CC  utils.c
    CC  console.c
    CC  core.c
    CC  memmgr.c
    CC  socket.c
    CC  sql.c
    CC  console.c
    CC  core.c
    CC  memmgr.c
    CC  socket.c
    AR  obj_sql/common_sql.a
    AR  obj_all/common.a
    AR  obj_all/common_mini.a
    MAKE    login_sql
    MAKE    char_sql
    MAKE    map_sql
    MKDIR   obj_sql
    MKDIR   obj_sql
    MKDIR   obj_sql
    CC  account_sql.c
    CC  HPMlogin.c
    CC  ipban_sql.c
    CC  lclif.c
    CC  login.c
    CC  loginlog_sql.c
    CC  char.c
    CC  HPMchar.c
    CC  atcommand.c
    CC  loginif.c
    CC  battle.c
    CC  battleground.c
    CC  mapif.c
    CC  buyingstore.c
    CC  geoip.c
    CC  channel.c
    CC  chat.c
    CC  inter.c
    CC  chrif.c
    CC  int_auction.c
    CC  int_elemental.c
    CC  int_guild.c
    CC  clif.c
    CC  date.c
    CC  int_homun.c
clif.c: In function 'clif_ranklist_sub':
clif.c:14105:21: warning: logical 'and' of equal expressions [-Wlogical-op]
  for( i = 0; i < 10 && i < MAX_FAME_LIST; i++ ) {
                     ^~
    LD  login-server
    CC  duel.c
    CC  elemental.c
In file included from clif.c:63:0:
clif.c: In function 'clif_parse_bgqueue_checkstate':
../common/nullpo.h:72:23: warning: nonnull argument 'sd' compared to NULL [-Wnonnull-compare]
 #define nullpo_chk(t) ( (t) != NULL ? false : (nullpo->assert_report(__FILE__, __LINE__, __func__, #t, "nullpo info"), true) )
                       ^
../common/nullpo.h:110:11: note: in expansion of macro 'nullpo_chk'
  do { if (nullpo_chk(t)) return; } while(0)
           ^~~~~~~~~~
clif.c:17814:2: note: in expansion of macro 'nullpo_retv'
  nullpo_retv(sd);
  ^~~~~~~~~~~
    CC  int_mail.c
    CC  guild.c
    CC  homunculus.c
    CC  int_mercenary.c
    CC  int_party.c
    CC  HPMmap.c
    CC  instance.c
    CC  int_pet.c
    CC  intif.c
    CC  int_quest.c
    CC  irc-bot.c
    CC  int_storage.c
    CC  pincode.c
    CC  itemdb.c
    CC  log.c
    CC  mail.c
    CC  map.c
    CC  mapreg_sql.c
    CC  mercenary.c
    CC  mob.c
mob.c: In function 'mob_read_randommonster':
mob.c:4618:39: warning: logical 'and' of equal expressions [-Wlogical-op]
  for (i = 0; i < ARRAYLENGTH(mobfile) && i < MAX_RANDOMMONSTER; i++) {
                                       ^~
    CC  npc.c
    CC  npc_chat.c
    CC  party.c
    CC  path.c
    LD  char-server
    CC  pc.c
    CC  pc_groups.c
    CC  pet.c
    CC  quest.c
    CC  script.c
    CC  searchstore.c
    CC  skill.c
    CC  status.c
status.c: In function 'status_calc_speed':
status.c:5581:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
    else
    ^~~~
status.c:5652:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
     speed_rate += val;
     ^~~~~~~~~~
status.c: In function 'status_change_start':
status.c:7499:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
    else
    ^~~~
status.c:7509:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
     if (tick == 1) return 1; //Minimal duration: Only strip without causing the SC
     ^~
    CC  storage.c
    CC  trade.c
    CC  unit.c
    CC  vending.c
    LD  map-server
Saguns-MacBook-Pro-3:Hercules Sagun$ ./map-server
 
                                                                      
                 Hercules Development Team presents                   
                _   _                     _                           
               | | | |                   | |                          
               | |_| | ___ _ __ ___ _   _| | ___  ___                 
               |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|                
               | | | |  __/ | | (__| |_| | |  __/\__ \                
               \_| |_/\___|_|  \___|\__,_|_|\___||___/                
                                                                      
                      http://herc.ws/board/                           
                                                                      
[Info]: Hercules 64-bit for Mac OS X
[Info]: Git revision (src): '8c155749d19c9a34fc1e1c4dfcbe4dcb2b968842'
[Info]: Git revision (scripts): '8c155749d19c9a34fc1e1c4dfcbe4dcb2b968842'
[Info]: OS version: 'Mac OS X 10.11.5 15F34 [x86_64]'
[Info]: CPU: 'Intel Core i7 (2.8 GHz) [4]'
[Info]: Compiled with GCC v6.1.0
[Info]: Compile Flags: -g -O2 -pipe -ffast-math -Wall -Wextra -Wno-sign-compare -std=c99 -fsanitize=address -fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable -fsanitize=vla-bound -fsanitize=null -fsanitize=return -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool -fsanitize=enum -fsanitize=vptr -Wno-unused-parameter -Wno-clobbered -Wempty-body -Wint-conversion -Winit-self -Wpointer-arith -Wswitch-bool -Wformat-security -Wformat -Wformat-signedness -Wformat-y2k -Wsuggest-attribute=noreturn -Wundef -Wlogical-op -Wnested-externs -Wold-style-definition -Woverlength-strings -Wredundant-decls -Wcast-qual -Wno-format-nonliteral -Wno-switch -Wno-missing-field-initializers -Wshadow -fno-strict-aliasing -g -DHAVE_EXECINFO -DMAXCONN=16384 -I../common -I/usr/local/include -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -DNO_MEMMGR -DDEBUG
[Info]: Timer Function Type: time of day
[Info]: Server supports up to '1024' concurrent connections.
[Warning]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/password (gender 'S')
[Notice]: and then edit your user/password in conf/map-server.conf (or conf/import/map_conf.txt)
[Warning]: Not all IP addresses in /conf/map-server.conf configured, auto-detecting...
[Notice]: Multiple interfaces detected...
[Info]: Defaulting to 192.168.1.130 as our IP address
[Info]: Map Server IP Address : '192.168.1.130' -> '192.168.1.130'.
[Info]: Char Server IP Address : '192.168.1.130' -> '192.168.1.130'.
[Info]: Logging item transactions to table 'picklog'.
[Info]: Logging commands to table 'atcommandlog'.
[Info]: Connecting to the Map DB Server....
[Status]: connect success! (Map Server Connection)
[Info]: [SQL]: Connecting to the Log Database ragnarok At 127.0.0.1...
[Status]: [SQL]: Successfully 'connected' to Database 'ragnarok'.
[Status]: Loading maps (using db/re/map_cache.dat as map cache)...
[Info]: Successfully loaded '875' maps.
[Status]: Done reading '62' command aliases in 'conf/atcommand.conf'.
[Status]: Done reading '4' channels in 'conf/channels.conf'.
[Status]: Done reading '10001' entries in 're/item_db.conf'.
[Status]: Done reading '0' entries in 'item_db2.conf'.
[Status]: Done reading '411' entries in 'item_combo_db'.
[Status]: Done reading '57' entries in 'db/re/item_group.conf'.
[Status]: Done reading '4' entries in 'db/re/item_chain.conf'.
[Status]: Done reading '270' entries in 'db/re/item_packages.conf'.
[Status]: Done reading '16' entries in 'db/cashshop_db.conf'.
[Error]: skill_validate_skilldb: Invalid Max Level 20 specified for skill Id 354 in 'db/re/skill_db.conf', skipping...
[Error]: skill_read_skilldb: Invalid entry '' in setting 'State' for Skill Id 8037 in 'db/re/skill_db.conf', skipping...
[Status]: Done reading '1101' entries in 'db/re/skill_db.conf'.
[Status]: Done reading '264' entries in 'db/produce_db.txt'.
[Status]: Done reading '136' entries in 'db/create_arrow_db.txt'.
[Status]: Done reading '205' entries in 'db/abra_db.txt'.
[Status]: Done reading '17' entries in 'db/spellbook_db.txt'.
[Status]: Done reading '23' entries in 'db/magicmushroom_db.txt'.
[Status]: Done reading '133' entries in 'db/skill_reproduce_db.txt'.
[Status]: Done reading '16' entries in 'db/skill_improvise_db.txt'.
[Status]: Done reading '74' entries in 'db/skill_changematerial_db.txt'.
[Status]: Done reading '14' zones in 'db/re/map_zone_db.conf'.
[Status]: Done reading '0' entries in 'db/mob_item_ratio.txt'.
[Status]: Done reading '40' entries in 'mob_chat_db.txt'.
[Status]: Done reading '1681' entries in 're/mob_db.conf'.
[Status]: Done reading '0' entries in 'mob_db2.conf'.
[Status]: Done reading '9784' entries in 'db/re/mob_skill_db.txt'.
[Status]: Done reading '0' entries in 'db/mob_skill_db2.txt'.
[Status]: Done reading '0' entries in 'db/mob_avail.txt'.
[Status]: Done reading '480' entries in 're/mob_branch.txt'.
[Status]: Done reading '14' entries in 're/mob_poring.txt'.
[Status]: Done reading '47' entries in 're/mob_boss.txt'.
[Status]: Done reading '331' entries in 'mob_pouch.txt'.
[Status]: Done reading '25' entries in 'mob_classchange.txt'.
[Status]: Done reading '8' entries in 'db/re/mob_race2_db.txt'.
[Status]: Done reading '17' entries in 'db/re/exp.txt'.
[Status]: Done reading '35' entries in 'db/re/level_penalty.txt'.
[Status]: Done reading '4' entries in 'db/re/attr_fix.txt'.
[Status]: Done reading '175' entries in 'db/re/statpoint.txt'.
[Status]: Done reading '7' groups in 'conf/groups.conf'.
[Status]: Done reading '133' entries in 'db/job_db2.txt'.
[Status]: Done reading '3' entries in 'db/re/size_fix.txt'.
[Status]: Done reading '5' entries in 're/refine_db.conf'.
[Status]: Done reading '388' entries in 'db/sc_config.txt'.
[Status]: Done reading '115' entries in 'db/re/job_db.conf'.
[Status]: Done reading '34' entries in 'db/castle_db.txt'.
[Status]: Done reading '15' entries in 'db/guild_skill_tree.txt'.
[Status]: Done reading '63' pets in 're/pet_db.txt'.
[Status]: Done reading '0' pets in 'pet_db2.txt'.
[Status]: Done reading '13' entries in 'db/re/homunculus_db.txt'.
[Status]: Done reading '150' levels in 're/exp_homun.txt'.
[Status]: Done reading '82' entries in 'db/homun_skill_tree.txt'.
[Status]: Done reading '61' entries in 'db/mercenary_db.txt'.
[Status]: Done reading '157' entries in 'db/mercenary_skill_db.txt'.
[Status]: Done reading '12' elementals in 'db/elemental_db.txt'.
[Status]: Done reading '36' entries in 'db/elemental_skill_db.txt'.
[Status]: Done reading '3027' entries in 'quest_db.conf'.
[Info]: Done loading '16136' NPCs:
    -'3468' Warps
    -'2' Shops
    -'12666' Scripts
    -'3355' Spawn sets
    -'48573' Mobs Cached
    -'0' Mobs Not Cached
[Status]: Event 'OnInit' executed with '2154' NPCs.
[Info]: Hercules, Copyright (C) 2012-2015, Hercules Dev Team and others.
[Info]: Licensed under the GNU General Public License, version 3 or later.
[Status]: Server is 'ready' and listening on port '5121'.
 
[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 192.168.1.130:6121
[Error]: make_connection: connect failed (socket #6, error 61: Connection refused)!
[Status]: Connecting to 192.168.1.130:6121
[Error]: make_connection: connect failed (socket #6, error 61: Connection refused)!
^C[Status]: Terminating...
[Status]: Cleaned up 875 maps.
[Status]: Close Map DB Connection....
[Status]: Close Log DB Connection....
[Status]: Finished.
Saguns-MacBook-Pro-3:Hercules Sagun$ 
Viewed 1002 times, submitted by Guest.