radareorg / radare2-bindings

Bindings of the r2 api for Valabind and friends
GNU Lesser General Public License v3.0
132 stars 92 forks source link

error: use of undeclared identifier 'r_cons_html_print'; did you mean 'RCons_html_print' #184

Closed ilovezfs closed 6 years ago

ilovezfs commented 6 years ago

2.4.0 build fails. Tested on macOS.

https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/19777/version=high_sierra/consoleFull

clang++ -fPIC -shared r_core_wrap.cxx -DG_BEGIN_DECLS -DG_END_DECLS -DG_GNUC_CONST -DSWIG_PYTHON_SILENT_MEMLEAK -undefined dynamic_lookup -I/usr/local/include -I/usr/local/Cellar/radare2/2.4.0/include/libr -I/usr/local/Cellar/openssl/1.0.2n/include -I/usr/local/Cellar/radare2/2.4.0/include/libr -o r_core.so -ldl -lr_util -lr_hash -lr_crypto -lr_magic -lr_socket -lr_io -lr_fs -lr_syscall -lr_search -lr_reg -lr_cons -lr_flag -lr_parse -lr_lang -lr_asm -lr_egg -lr_bp -lr_anal -lr_bin -lr_debug -lr_config -lcrypto -lssl -lr_core -L/usr/local/Cellar/radare2/2.4.0/lib -L/usr/local/Cellar/openssl/1.0.2n/lib -L/usr/local/Cellar/radare2/2.4.0/lib -L/usr/local/lib -llua -lm -llua -lm -llua -lm
r_core_wrap.cxx:3510:10: error: use of undeclared identifier 'r_cons_html_print'; did you mean 'RCons_html_print'?
                return r_cons_html_print(ptr);
                       ^~~~~~~~~~~~~~~~~
                       RCons_html_print
r_core_wrap.cxx:3509:16: note: 'RCons_html_print' declared here
SWIGINTERN int RCons_html_print(char *ptr){
               ^
... r_bin.so
1 error generated.

Ref https://github.com/Homebrew/homebrew-core/pull/24900

radare commented 6 years ago

Fixed in 2.4.1