<div dir="ltr"><div> </div><div>I can't get it to compile.... maybe missing something? I did try version, 1.4.x and 1.6.x and latest commit. I believe it is just broken... </div><div><br></div><div><b>./configure</b></div><div>==> Using valabind 1.4</div><div>==> Using swig 3.0.12</div><div>Checking valabind languages support...</div><div> - python: yes</div><div> - perl: yes</div><div> - ruby: yes</div><div> - lua: yes</div><div> - go: no</div><div> - java: yes</div><div> - guile: yes</div><div> - php5: no</div><div> - node-ffi: no</div><div> - ctypes: yes</div><div> - ocaml: no</div><div> - cxx: yes (g++)</div><div> - valac: yes</div><div>Supported langs:</div><div> - ctypes</div><div> - cxx</div><div> - duktape</div><div> - guile</div><div> - java</div><div> - lua</div><div> - perl</div><div> - python</div><div> - ruby</div><div> - valac</div><div>checking build system type... x86_64-unknown-linux-gnu</div><div>checking host system type... x86_64-unknown-linux-gnu</div><div>checking target system type... x86_64-unknown-linux-gnu</div><div>checking for working directories... current</div><div>using prefix '/usr/local'</div><div>checking for c compiler... gcc</div><div>checking for c++ compiler... g++</div><div>checking for valabind... /usr/bin/valabind</div><div>checking for swig... /usr/bin/swig</div><div>checking for g-ir-compiler... /usr/bin/g-ir-compiler</div><div>Using PKGCONFIG: pkg-config</div><div>checking pkg-config flags for r_core... yes</div><div>creating ./<a href="http://config.mk">config.mk</a></div><div>cleaning temporally files... done</div><div><br></div><div>Final report:</div><div> - PREFIX = /usr/local</div><div> - HAVE_SWIG = 1</div><div> - HAVE_VALABIND = 1</div><div> - HAVE_GIRCOMPILER = 1</div><div><br></div><div><br></div><div><div><b>make > error.txt 2>&1</b><br></div><div>(pkg-config:6055): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:6055): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div>make -C libr/lang/p</div><div>make[1]: Entering directory '/home/ferdna/Downloads/slackbuilds/radare2-bindings/radare2-bindings/radare2-bindings-1.6.0/libr/lang/p'</div><div><br></div><div>(pkg-config:6064): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:6064): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:6078): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:6078): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div>cc -I/usr/include/libr -I/usr/include/texlua52   -c -o lua.o lua.c</div><div>lua.c: In function â€˜init’:</div><div>lua.c:10:16: error: â€˜PREFIX’ undeclared (first use in this function); did you mean â€˜PRIX8’?</div><div> #define LIBDIR PREFIX"/lib"</div><div>                ^</div><div>lua.c:97:20: note: in expansion of macro â€˜LIBDIR’</div><div>  r_lua_file (NULL, LIBDIR"/radare2/"R2_VERSION"/radare.lua");</div><div>                    ^~~~~~</div><div>lua.c:10:16: note: each undeclared identifier is reported only once for each function it appears in</div><div> #define LIBDIR PREFIX"/lib"</div><div>                ^</div><div>lua.c:97:20: note: in expansion of macro â€˜LIBDIR’</div><div>  r_lua_file (NULL, LIBDIR"/radare2/"R2_VERSION"/radare.lua");</div><div>                    ^~~~~~</div><div>lua.c:10:22: error: expected â€˜)’ before string constant</div><div> #define LIBDIR PREFIX"/lib"</div><div>                      ^</div><div>lua.c:97:20: note: in expansion of macro â€˜LIBDIR’</div><div>  r_lua_file (NULL, LIBDIR"/radare2/"R2_VERSION"/radare.lua");</div><div>                    ^~~~~~</div><div>make[1]: *** [<builtin>: lua.o] Error 1</div><div>make[1]: Leaving directory '/home/ferdna/Downloads/slackbuilds/radare2-bindings/radare2-bindings/radare2-bindings-1.6.0/libr/lang/p'</div><div>make: *** [Makefile:46: all] Error 2</div></div><div><br></div><div><br></div><div><b>THIS IS FOR LATEST COMMIT(1846502d79f8abe309769829d7f6c72e9e9fb708):</b></div><div><div><b>bash-4.4$ make</b></div><div><br></div><div>(pkg-config:7653): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:7653): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div>make -C libr/lang/p</div><div>make[1]: Entering directory '/home/ferdna/Downloads/slackbuilds/radare2-bindings/radare2-bindings/radare2-bindings-1846502d79f8abe309769829d7f6c72e9e9fb708/libr/lang/p'</div><div><br></div><div>(pkg-config:7662): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:7662): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:7682): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:7682): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div>cc -I/usr/include/libr -DPREFIX=\"/usr/local\" -I/usr/include/texlua52   -c -o lua.o lua.c</div><div><br></div><div>(pkg-config:7690): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:7690): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:7695): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:7695): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div>cc -I/usr/include/libr -DPREFIX=\"/usr/local\" -I/usr/include/texlua52 -fPIC  -lr_core -lr_io -lr_util -shared -o lang_lua.so lua.c -ltexlua52</div><div><br></div><div>(pkg-config:7705): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:7705): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div>cc -I/usr/include/libr -DPREFIX=\"/usr/local\" -I/usr/include/texlua52 -I/usr/lib64/perl5/CORE/ \</div><div><span style="white-space:pre">       </span>-fPIC  -lr_core -lr_io -lr_util -shared -o lang_perl.so perl.c \</div><div><span style="white-space:pre">     </span>`perl -MExtUtils::Embed -e ccopts | sed -e 's/-arch [^\s]* //g'` \</div><div><span style="white-space:pre">    </span>`perl -MExtUtils::Embed -e ldopts | sed -e 's/-arch [^\s]* //g'`</div><div>In file included from /usr/include/ctype.h:25:0,</div><div>                 from /usr/include/libr/r_types_base.h:4,</div><div>                 from /usr/include/libr/r_types.h:160,</div><div>                 from /usr/include/libr/r_lib.h:7,</div><div>                 from perl.c:4:</div><div>/usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]</div><div> #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)</div><div>    ^~~~~~~</div><div>perl.c: In function ‘setup’:</div><div>perl.c:75:2: warning: #warning TODO: implement setup in lang/perl [-Wcpp]</div><div> #warning TODO: implement setup in lang/perl</div><div>  ^~~~~~~</div><div><br></div><div>(pkg-config:7725): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div><br></div><div>(pkg-config:7725): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed</div><div>cc python.c -I/usr/include/libr -DPREFIX=\"/usr/local\" -I/usr/include/texlua52 -I/usr/include/python2.7 -I/usr/include/python2.7  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall  -DPYVER=2 -lpython2.7 -lpthread -ldl -lutil -lm -L/usr/lib  -lr_core -lr_io -lr_util -shared \</div><div>  -lr_core -lr_io -lr_util -shared -fPIC -o lang_python2.so</div><div>In file included from python.c:76:0:</div><div>python/io.c: In function ‘Radare_plugin_io’:</div><div>python/io.c:178:4: error: ‘RLibStruct {aka struct r_lib_struct_t}’ has no member named ‘free’</div><div>  lp.free = (void (*)(void *data))Radare_plugin_io_free;</div><div>    ^</div><div>python/io.c:180:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  Py_RETURN_TRUE;</div><div>  ^~~~~~~~~~~~~~</div><div>In file included from python.c:77:0:</div><div>python/asm.c: In function ‘Radare_plugin_asm’:</div><div>python/asm.c:89:4: error: ‘RLibStruct {aka struct r_lib_struct_t}’ has no member named ‘free’</div><div>  lp.free = (void (*)(void *data))Radare_plugin_asm_free;</div><div>    ^</div><div>python/asm.c:91:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  Py_RETURN_TRUE;</div><div>  ^~~~~~~~~~~~~~</div><div>In file included from python.c:78:0:</div><div>python/anal.c: In function ‘Radare_plugin_anal’:</div><div>python/anal.c:234:4: error: ‘RLibStruct {aka struct r_lib_struct_t}’ has no member named ‘free’</div><div>  lp.free = (void (*)(void *data))Radare_plugin_anal_free;</div><div>    ^</div><div>python/anal.c:236:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  Py_RETURN_TRUE;</div><div>  ^~~~~~~~~~~~~~</div><div>In file included from python.c:79:0:</div><div>python/bin.c: In function ‘Radare_plugin_bin’:</div><div>python/bin.c:787:4: error: ‘RLibStruct {aka struct r_lib_struct_t}’ has no member named ‘free’</div><div>  lp.free = (void (*)(void *data))Radare_plugin_bin_free;</div><div>    ^</div><div>python/bin.c:789:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  Py_RETURN_TRUE;</div><div>  ^~~~~~~~~~~~~~</div><div>In file included from python.c:80:0:</div><div>python/core.c: In function ‘Radare_plugin_core’:</div><div>python/core.c:51:4: error: ‘RLibStruct {aka struct r_lib_struct_t}’ has no member named ‘free’</div><div>  lp.free = (void (*)(void *data))Radare_plugin_core_free;</div><div>    ^</div><div>python/core.c:53:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  Py_RETURN_TRUE;</div><div>  ^~~~~~~~~~~~~~</div><div>python.c: In function ‘init_radare_module’:</div><div>python.c:265:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]</div><div>  Py_INCREF(&RadareType);</div><div>  ^~~~~~~~~</div><div>make[1]: *** [Makefile:72: lang_python.so] Error 1</div><div>make[1]: Leaving directory '/home/ferdna/Downloads/slackbuilds/radare2-bindings/radare2-bindings/radare2-bindings-1846502d79f8abe309769829d7f6c72e9e9fb708/libr/lang/p'</div><div>make: *** [Makefile:46: all] Error 2</div><div>bash-4.4$ </div></div><div><br></div>-- <br><div class="gmail_signature"><br>------------<br>Regards,<br>    Fernando Lopez Jr.</div>
</div>