peterix/dfhack — Issue #132: DF 34.02 linux failing to recognise
Author: berenm
Created: 2012-02-24 21:40:22+00:00
State: open

Hi,

I was trying to use dfhack with dwarf-fortress (with libgraphics.so built from the sources on my computer) and I got this output in an stderr.log:

dfhack: hooking successful
Identifying DF version.
Loading hack/symbols.xml ... OK
Dummy symbol table entry: announcements
Dummy symbol table entry: cur_year
Dummy symbol table entry: cur_year_tick
Dummy symbol table entry: current_weather
Dummy symbol table entry: job_next_id
Dummy symbol table entry: pause_state
Dummy symbol table entry: ui_building_item_cursor
Dummy symbol table entry: ui_look_cursor
Dummy symbol table entry: ui_selected_unit
Dummy symbol table entry: ui_unit_view_mode
Dummy symbol table entry: ui_workshop_in_add
Dummy symbol table entry: ui_workshop_job_cursor
Dummy symbol table entry: window_x
Dummy symbol table entry: window_y
Dummy symbol table entry: window_z
Dummy symbol table entry: announcements
Dummy symbol table entry: announcements
Dummy symbol table entry: cur_year
Dummy symbol table entry: cur_year_tick
Dummy symbol table entry: current_weather
Dummy symbol table entry: job_next_id
Dummy symbol table entry: ui_building_item_cursor
Dummy symbol table entry: announcements
Loaded 4 DF symbol tables.
Unable to retrieve version information.
File: /proc/self/exe
MD5: 1fb9a95ce78c439595e3053885732e9e
working dir: /home/berenm/.cache/dwarf-fortress
length:14102492
1KB hexdump follows:
7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
02 00 03 00 01 00 00 00 90 c9 04 08 34 00 00 00
a4 2b d7 00 00 00 00 00 34 00 20 00 08 00 28 00
1b 00 1a 00 06 00 00 00 34 00 00 00 34 80 04 08
34 80 04 08 00 01 00 00 00 01 00 00 05 00 00 00
04 00 00 00 03 00 00 00 34 01 00 00 34 81 04 08
34 81 04 08 13 00 00 00 13 00 00 00 04 00 00 00
01 00 00 00 01 00 00 00 00 00 00 00 00 80 04 08
00 80 04 08 29 24 d7 00 29 24 d7 00 05 00 00 00
00 10 00 00 01 00 00 00 2c 24 d7 00 2c b4 db 08
2c b4 db 08 98 06 00 00 78 e6 a3 00 06 00 00 00
00 10 00 00 02 00 00 00 a4 25 d7 00 a4 b5 db 08
a4 b5 db 08 00 01 00 00 00 01 00 00 06 00 00 00
04 00 00 00 04 00 00 00 48 01 00 00 48 81 04 08
48 81 04 08 20 00 00 00 20 00 00 00 04 00 00 00
04 00 00 00 50 e5 74 64 48 0a cc 00 48 8a d0 08
48 8a d0 08 dc 03 01 00 dc 03 01 00 04 00 00 00
04 00 00 00 51 e5 74 64 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00
04 00 00 00 2f 6c 69 62 2f 6c 64 2d 6c 69 6e 75
78 2e 73 6f 2e 32 00 00 04 00 00 00 10 00 00 00
01 00 00 00 47 4e 55 00 00 00 00 00 02 00 00 00
06 00 00 00 08 00 00 00 c5 00 00 00 fc 00 00 00
85 00 00 00 00 00 00 00 98 00 00 00 5a 00 00 00
e0 00 00 00 00 00 00 00 de 00 00 00 d5 00 00 00
31 00 00 00 c3 00 00 00 6d 00 00 00 79 00 00 00
11 00 00 00 22 00 00 00 6f 00 00 00 b4 00 00 00
90 00 00 00 e4 00 00 00 bf 00 00 00 92 00 00 00
e3 00 00 00 00 00 00 00 57 00 00 00 d4 00 00 00
00 00 00 00 ba 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8e 00 00 00 c5 00 00 00 00 00 00 00 59 00 00 00
ed 00 00 00 00 00 00 00 00 00 00 00 9c 00 00 00
00 00 00 00 fa 00 00 00 9b 00 00 00 bd 00 00 00
cd 00 00 00 00 00 00 00 c8 00 00 00 c0 00 00 00
80 00 00 00 f1 00 00 00 b8 00 00 00 a5 00 00 00
bb 00 00 00 94 00 00 00 cb 00 00 00 00 00 00 00
8d 00 00 00 e1 00 00 00 00 00 00 00 b9 00 00 00
c6 00 00 00 c9 00 00 00 00 00 00 00 7f 00 00 00
6c 00 00 00 00 00 00 00 52 00 00 00 12 00 00 00
05 00 00 00 e9 00 00 00 f2 00 00 00 f3 00 00 00
f8 00 00 00 a6 00 00 00 00 00 00 00 00 00 00 00
29 00 00 00 3b 00 00 00 0f 00 00 00 00 00 00 00
da 00 00 00 65 00 00 00 cf 00 00 00 68 00 00 00
00 00 00 00 70 00 00 00 55 00 00 00 00 00 00 00
00 00 00 00 7a 00 00 00 d9 00 00 00 b0 00 00 00
ea 00 00 00 00 00 00 00 9e 00 00 00 00 00 00 00
32 00 00 00 ca 00 00 00 10 00 00 00 00 00 00 00
00 00 00 00 df 00 00 00 f6 00 00 00 e6 00 00 00
b6 00 00 00 04 00 00 00 00 00 00 00 ec 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d6 00 00 00 00 00 00 00 f4 00 00 00 00 00 00 00
8b 00 00 00 00 00 00 00 00 00 00 00 63 00 00 00
00 00 00 00 00 00 00 00 eb 00 00 00 c7 00 00 00
82 00 00 00 1b 00 00 00 44 00 00 00 c2 00 00 00
ef 00 00 00 5b 00 00 00 f7 00 00 00 00 00 00 00
00 00 00 00 ac 00 00 00 00 00 00 00 a4 00 00 00
db 00 00 00 00 00 00 00 00 00 00 00 7b 00 00 00
d2 00 00 00 2b 00 00 00 d3 00 00 00 00 00 00 00
77 00 00 00 dc 00 00 00 83 00 00 00 76 00 00 00
00 00 00 00 cc 00 00 00 00 00 00 00 81 00 00 00
bc 00 00 00 99 00 00 00 c4 00 00 00 96 00 00 00
89 00 00 00 f0 00 00 00 00 00 00 00 e2 00 00 00
ab 00 00 00 ce 00 00 00 0b 00 00 00 00 00 00 00
Not a known DF version.
DFHack will now deactivate.

Not sure if it is useful, I don't know what's wrong here.
DF is built from the 34.02 sources, and dfhack from your repo, and the master branch. Up to date at the time i'm writting this.

Is the way libgraphics.so is built important? I'm using a custom package of my own for dwarf-fortress, and that may be the issue (although libgraphics.so is the only thing that is different).