Page 1 sur 1

Installation / Compilation Debian :(

Publié : 16 juin 2018, 21:25
par Razou
Bonjour,
J'ai découvert votre jeu par hasard et j'aimerai tenter l'aventure, mais...
Je n'arrive pas à l'installer.
Je suis sous Parrot OS (Debian) et après avoir extrait le jeu, j'execute le bin static et il se lance une fraction de seconde, se ferme et me dit : *** buffer overflow detected ***: ./le.x86_64.static.linux.bin terminated
Aborted

Je garde mon calme et tente le binaire normal qui me dit qu'il manque le libpng12, je la telecharge tous ça, je réssaye de l'éxecuter et il se lance un court moment et paf il se ferme : ./le.x86_64.linux.bin: symbol lookup error: ./le.x86_64.linux.bin: undefined symbol: _ZN16CalCoreAnimation11setFilenameERKSs
Ca ne marche toujours pas.

Je commence alors à invoquer les dieux de l'informatique et me dit que je vais compiler moi même le code source.
Ni une ni deux je prend mon courage à deux mains, j'extrait le code source, et lance la compilation :

Code : Tout sélectionner

make -f Makefile.linux
  CC   2d_objects.o
In file included from map.h:12:0,
                 from 2d_objects.c:13:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   3d_objects.o
In file included from map.h:12:0,
                 from 3d_objects.c:14:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   actor_scripts.o
  CC   actors.o
In file included from map.h:12:0,
                 from actors.c:18:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   alphamap.o
  CC   asc.o
  CC   astrology.o
  CC   bbox_tree.o
  CC   books.o
  CC   buddy.o
  CC   buffs.o
  CC   bags.o
  CC   cache.o
  CC   cal.o
  CC   calc.o
  CC   chat.o
chat.c: In function ‘switch_to_chat_tab’:
chat.c:736:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  if (channels[active_tab].chan_nr >= CHAT_CHANNEL1 && channels[active_tab].chan_nr <= CHAT_CHANNEL5)
  ^~
chat.c:741:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   recolour_messages(display_text_buffer);
   ^~~~~~~~~~~~~~~~~
chat.c: In function ‘update_chat_win_buffers’:
chat.c:951:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  for (itab = 0; itab < MAX_CHAT_TABS; itab++)
  ^~~
chat.c:954:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   imsg = 0;
   ^~~~
  CC   cluster.o
  CC   colors.o
  CC   console.o
In file included from map.h:12:0,
                 from console.c:50:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   consolewin.o
  CC   counters.o
  CC   cursors.o
  CC   dds.o
  CC   ddsimage.o
  CC   dialogues.o
dialogues.c: In function ‘keypress_dialogue_handler’:
dialogues.c:640:4: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
    else if(ch>='A' && ch<='Z')
    ^~~~
dialogues.c:652:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  if ((key & ELW_ALT) && ((MAX_RESPONSES-1<ch) || (dialogue_responces[ch].in_use == 0)))
  ^~
  CC   draw_scene.o
In file included from map.h:12:0,
                 from draw_scene.c:17:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   eye_candy_debugwin.o
  CC   elconfig.o
In file included from map.h:12:0,
                 from elconfig.c:54:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   elwindows.o
  CC   encyclopedia.o
  CC   errors.o
  CC   events.o
  CC   filter.o
  CC   font.o
  CC   framebuffer.o
  CC   frustum.o
  CC   gamewin.o
In file included from map.h:12:0,
                 from gamewin.c:39:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   gl_init.o
  CC   hud.o
  CC   help.o
  CC   highlight.o
  CC   ignore.o
ignore.c: In function ‘get_name_from_text’:
ignore.c:201:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (ch == ':' || ch == '-' || ch == ' ')
     ^~
ignore.c:203:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
      break;
      ^~~~~
  CC   info_combat.o
  CC   init.o
  CC   interface.o
In file included from map.h:12:0,
                 from interface.c:19:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   items.o
  CC   io/fileutil.o
  CC   io/e3d_io.o
  CC   io/elc_io.o
  CC   io/map_io.o
In file included from io/../map.h:12:0,
                 from io/map_io.c:10:
io/../hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
io/../hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
io/../hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
io/../hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   io/elpathwrapper.o
  CC   io/xmlcallbacks.o
  CC   io/half.o
  CC   io/normal.o
io/normal.c: In function ‘compress_normal’:
io/normal.c:32:9: warning: ‘tmp[0]’ is used uninitialized in this function [-Wuninitialized]
  if (tmp[0] < 0.0f)
      ~~~^~~
io/normal.c:35:16: warning: ‘tmp[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   tmp[0] = -tmp[0];
             ~~~^~~
io/normal.c:38:9: warning: ‘tmp[1]’ is used uninitialized in this function [-Wuninitialized]
  if (tmp[1] < 0.0f)
      ~~~^~~
io/normal.c:41:16: warning: ‘tmp[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   tmp[1] = -tmp[1];
             ~~~^~~
io/normal.c:44:9: warning: ‘tmp[2]’ is used uninitialized in this function [-Wuninitialized]
  if (tmp[2] < 0.0f)
      ~~~^~~
io/normal.c:47:16: warning: ‘tmp[2]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   tmp[2] = -tmp[2];
             ~~~^~~
  CC   io/elfilewrapper.o
In file included from io/elfilewrapper.c:12:0:
io/../hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
io/../hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
io/../hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
io/../hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   io/unzip.o
  CC   io/ioapi.o
  CC   io/zip.o
io/zip.c: In function ‘zip64local_SearchCentralDir’:
io/zip.c:525:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (i=(int)uReadSize-3; (i--)>0;)
     ^~~
io/zip.c:533:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
       if (uPosFound!=0)
       ^~
  CC   io/ziputil.o
  CC   keys.o
keys.c: In function ‘read_key_config’:
keys.c:552:2: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
  while (el_fgets(line, sizeof(line), f))
  ^~~~~
keys.c:554:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’
   el_close(f);
   ^~~~~~~~
  CC   knowledge.o
  CC   langselwin.o
  CC   lights.o
In file included from map.h:12:0,
                 from lights.c:5:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   list.o
  CC   load_gl_extensions.o
  CC   loginwin.o
  CC   loading_win.o
  CC   main.o
In file included from map.h:12:0,
                 from main.c:47:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   manufacture.o
  CC   map.o
In file included from map.h:12:0,
                 from map.c:4:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   mapwin.o
In file included from map.h:12:0,
                 from mapwin.c:18:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   memory.o
  CC   md5.o
  CC   mines.o
  CC   minimap.o
In file included from map.h:12:0,
                 from minimap.c:34:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   misc.o
  CC   missiles.o
  CC   multiplayer.o
In file included from map.h:12:0,
                 from multiplayer.c:32:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   new_actors.o
  CC   new_character.o
In file included from map.h:12:0,
                 from new_character.c:27:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   notepad.o
  CC   openingwin.o
  CC   image.o
  CC   roche.o
  CC   shader/noise.o
  CC   shader/shader.o
  CC   particles.o
  CC   paste.o
  CC   pathfinder.o
  CC   pm_log.o
  CC   questlog.o
  CC   queue.o
  CC   reflection.o
reflection.c: In function ‘draw_water_background’:
reflection.c:1249:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
reflection.c:1252:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  if (use_frame_buffer && (water_shader_quality > 0) && show_reflection)
  ^~
In file included from map.h:12:0,
                 from reflection.c:17:
reflection.c: At top level:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   rules.o
  CC   sky.o
In file included from map.h:12:0,
                 from sky.c:16:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   skeletons.o
  CC   skills.o
  CC   serverpopup.o
  CC   servers.o
  CC   session.o
  CC   shadows.o
In file included from map.h:12:0,
                 from shadows.c:18:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   sound.o
In file included from map.h:12:0,
                 from sound.c:13:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   spells.o
spells.c: In function ‘cm_necro_handler’:
spells.c:1516:10: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     else if(option == ELW_CM_MENU_LEN+1)
          ^~
spells.c:1518:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  return 1;
  ^~~~~~
spells.c: In function ‘mouseover_necro_handler’:
spells.c:2205:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(pos == 0)
     ^~
spells.c:2208:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  mouseover_switcher_handler(win, mx, my);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
  CC   stats.o
  CC   storage.o
  CC   special_effects.o
  CC   tabs.o
  CC   text.o
  CC   textures.o
In file included from map.h:12:0,
                 from textures.c:14:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   tile_map.o
  CC   timers.o
In file included from map.h:12:0,
                 from timers.c:11:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   translate.o
  CC   trade.o
  CC   update.o
  CC   url.o
  CC   weather.o
In file included from map.h:12:0,
                 from weather.c:11:
hash.h:46:16: warning: inline function ‘cmp_fn_str’ declared but never defined
 int __inline__ cmp_fn_str(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:45:30: warning: inline function ‘hash_fn_str’ declared but never defined
 unsigned long int __inline__ hash_fn_str(void *key);
                              ^~~~~~~~~~~
hash.h:43:16: warning: inline function ‘cmp_fn_int’ declared but never defined
 int __inline__ cmp_fn_int(void *key1, void *key2);
                ^~~~~~~~~~
hash.h:42:30: warning: inline function ‘hash_fn_int’ declared but never defined
 unsigned long int __inline__ hash_fn_int(void *key);
                              ^~~~~~~~~~~
  CC   widgets.o
  CC   makeargv.o
  CC   popup.o
  CC   hash.o
  CC   emotes.o
  CC   xz/7zCrc.o
  CC   xz/7zCrcOpt.o
  CC   xz/Alloc.o
  CC   xz/Bra86.o
  CC   xz/Bra.o
  CC   xz/BraIA64.o
  CC   xz/CpuArch.o
  CC   xz/Delta.o
  CC   xz/LzFind.o
  CC   xz/Lzma2Dec.o
  CC   xz/Lzma2Enc.o
  CC   xz/LzmaDec.o
  CC   xz/LzmaEnc.o
  CC   xz/Sha256.o
  CC   xz/Xz.o
  CC   xz/XzCrc64.o
  CC   xz/XzDec.o
  CC   xz/XzEnc.o
  CC   text_aliases.o
  CC   fsaa/fsaa_dummy.o
  CC   fsaa/fsaa.o
  CC   image_loading.o
  CC   themes.o
  CC   fr_quickitems.o
  CXX  actor_init.o
  CXX  cal3d_wrapper.o
  CXX  context_menu.o
In file included from eye_candy_wrapper.h:23:0,
                 from text.h:12,
                 from widgets.h:10,
                 from elwindows.h:10,
                 from context_menu.h:4,
                 from context_menu.cpp:7:
eye_candy/eye_candy.h:2208:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    std::auto_ptr<el::HardwareBuffer> index_buffer;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from eye_candy/eye_candy.h:131,
                 from eye_candy_wrapper.h:23,
                 from text.h:12,
                 from widgets.h:10,
                 from elwindows.h:10,
                 from context_menu.h:4,
                 from context_menu.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
  CXX  optimizer.o
  CXX  sendvideoinfo.o
In file included from eye_candy_wrapper.h:23:0,
                 from text.h:12,
                 from font.h:9,
                 from asc.h:12,
                 from sendvideoinfo.cpp:3:
eye_candy/eye_candy.h:2208:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    std::auto_ptr<el::HardwareBuffer> index_buffer;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from eye_candy/eye_candy.h:131,
                 from eye_candy_wrapper.h:23,
                 from text.h:12,
                 from font.h:9,
                 from asc.h:12,
                 from sendvideoinfo.cpp:3:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
  CXX  exceptions/extendedexception.o
  CXX  xml/xmlhelper.o
  CXX  quest_log.o
In file included from eye_candy_wrapper.h:23:0,
                 from text.h:12,
                 from font.h:9,
                 from asc.h:12,
                 from quest_log.cpp:18:
eye_candy/eye_candy.h:2208:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    std::auto_ptr<el::HardwareBuffer> index_buffer;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from eye_candy/eye_candy.h:131,
                 from eye_candy_wrapper.h:23,
                 from text.h:12,
                 from font.h:9,
                 from asc.h:12,
                 from quest_log.cpp:18:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
  CXX  hud_timer.o
In file included from eye_candy_wrapper.h:23:0,
                 from text.h:12,
                 from font.h:9,
                 from asc.h:12,
                 from hud_timer.cpp:15:
eye_candy/eye_candy.h:2208:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    std::auto_ptr<el::HardwareBuffer> index_buffer;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from eye_candy/eye_candy.h:131,
                 from eye_candy_wrapper.h:23,
                 from text.h:12,
                 from font.h:9,
                 from asc.h:12,
                 from hud_timer.cpp:15:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
  CXX  engine/logging.o
  CXX  elloggingwrapper.o
In file included from eye_candy_wrapper.h:23:0,
                 from text.h:12,
                 from font.h:9,
                 from asc.h:12,
                 from elloggingwrapper.cpp:11:
eye_candy/eye_candy.h:2208:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    std::auto_ptr<el::HardwareBuffer> index_buffer;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from eye_candy/eye_candy.h:131,
                 from eye_candy_wrapper.h:23,
                 from text.h:12,
                 from font.h:9,
                 from asc.h:12,
                 from elloggingwrapper.cpp:11:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
  CXX  item_info.o
In file included from eye_candy_wrapper.h:23:0,
                 from text.h:12,
                 from item_info.cpp:33:
eye_candy/eye_candy.h:2208:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    std::auto_ptr<el::HardwareBuffer> index_buffer;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from eye_candy/eye_candy.h:131,
                 from eye_candy_wrapper.h:23,
                 from text.h:12,
                 from item_info.cpp:33:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
  CXX  io/cal3d_io_wrapper.o
  CXX  user_menus.o
In file included from eye_candy_wrapper.h:23:0,
                 from text.h:12,
                 from widgets.h:10,
                 from notepad.h:9,
                 from command_queue.hpp:8,
                 from user_menus.cpp:85:
eye_candy/eye_candy.h:2208:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    std::auto_ptr<el::HardwareBuffer> index_buffer;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from eye_candy/eye_candy.h:131,
                 from eye_candy_wrapper.h:23,
                 from text.h:12,
                 from widgets.h:10,
                 from notepad.h:9,
                 from command_queue.hpp:8,
                 from user_menus.cpp:85:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
  CXX  select.o
In file included from eye_candy_wrapper.h:23:0,
                 from text.h:12,
                 from widgets.h:10,
                 from elwindows.h:10,
                 from draw_scene.h:10,
                 from select.cpp:7:
eye_candy/eye_candy.h:2208:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    std::auto_ptr<el::HardwareBuffer> index_buffer;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from eye_candy/eye_candy.h:131,
                 from eye_candy_wrapper.h:23,
                 from text.h:12,
                 from widgets.h:10,
                 from elwindows.h:10,
                 from draw_scene.h:10,
                 from select.cpp:7:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
  CXX  trade_log.o
In file included from eye_candy_wrapper.h:23:0,
                 from text.h:12,
                 from trade_log.cpp:25:
eye_candy/eye_candy.h:2208:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    std::auto_ptr<el::HardwareBuffer> index_buffer;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from eye_candy/eye_candy.h:131,
                 from eye_candy_wrapper.h:23,
                 from text.h:12,
                 from trade_log.cpp:25:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
  CXX  item_lists.o
In file included from eye_candy_wrapper.h:23:0,
                 from text.h:12,
                 from item_lists.cpp:28:
eye_candy/eye_candy.h:2208:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    std::auto_ptr<el::HardwareBuffer> index_buffer;
         ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from eye_candy/eye_candy.h:131,
                 from eye_candy_wrapper.h:23,
                 from text.h:12,
                 from item_lists.cpp:28:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
item_lists.cpp: In member function ‘void ItemLists::List_Container::check_and_timed_save(bool)’:
item_lists.cpp:791:68: error: call of overloaded ‘abs(Uint32)’ is ambiguous
   if (force || (last_mod_time && abs(last_mod_time - SDL_GetTicks()) > 5000))
                                                                    ^
In file included from /usr/include/c++/7/cstdlib:75:0,
                 from /usr/include/c++/7/ext/string_conversions.h:41,
                 from /usr/include/c++/7/bits/basic_string.h:6349,
                 from /usr/include/c++/7/string:52,
                 from item_lists.cpp:20:
/usr/include/stdlib.h:837:12: note: candidate: int abs(int)
 extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
            ^~~
In file included from /usr/include/c++/7/cstdlib:77:0,
                 from /usr/include/c++/7/ext/string_conversions.h:41,
                 from /usr/include/c++/7/bits/basic_string.h:6349,
                 from /usr/include/c++/7/string:52,
                 from item_lists.cpp:20:
/usr/include/c++/7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long int)
   abs(long __i) { return __builtin_labs(__i); }
   ^~~
/usr/include/c++/7/bits/std_abs.h:61:3: note: candidate: long long int std::abs(long long int)
   abs(long long __x) { return __builtin_llabs (__x); }
   ^~~
/usr/include/c++/7/bits/std_abs.h:70:3: note: candidate: constexpr double std::abs(double)
   abs(double __x)
   ^~~
/usr/include/c++/7/bits/std_abs.h:74:3: note: candidate: constexpr float std::abs(float)
   abs(float __x)
   ^~~
/usr/include/c++/7/bits/std_abs.h:78:3: note: candidate: constexpr long double std::abs(long double)
   abs(long double __x)
   ^~~
/usr/include/c++/7/bits/std_abs.h:84:3: note: candidate: constexpr __int128 std::abs(__int128)
   abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
   ^~~
/usr/include/c++/7/bits/std_abs.h:102:3: note: candidate: constexpr __float128 std::abs(__float128)
   abs(__float128 __x)
   ^~~
Makefile.linux:147: recipe for target 'item_lists.o' failed
make: *** [item_lists.o] Error 1
A l'aide. (et merci d'avance :) )

Re: Installation / Compilation Debian :(

Publié : 16 juin 2018, 22:28
par Nehiak
Salut,

tentes de modifier les fichiers suivants avant de lancer la compile:

item_lists.cpp
icon_windows.cpp

dans item_list.cpp il faut remplacer à la ligne 791 abs par fabs
dans icon_windows.cpp il faut remplacer à la ligne 377 abs par fabs

une fois les 2 fichiers modifiés / enregistrés, tu relance la compile, ca devrait se dérouler sans soucis ( du moins, cette astuce a fonctionnée pour moi)

Re: Installation / Compilation Debian :(

Publié : 16 juin 2018, 22:48
par Razou
Ca a marché, milles merci :) Attention j'arrive !

Re: Installation / Compilation Debian :(

Publié : 17 juin 2018, 09:08
par Nehiak
Profites bien du jeu :-)