Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libr_parse.so: undefined reference to `r_flag_get_i' #43

Closed
7histle opened this issue Dec 23, 2012 · 7 comments
Closed

libr_parse.so: undefined reference to `r_flag_get_i' #43

7histle opened this issue Dec 23, 2012 · 7 comments

Comments

@7histle
Copy link

7histle commented Dec 23, 2012

$ git clone https://github.com/radare/radare2.git
....
....
$ cd radare2
$ sys/install.sh
...
...
...
 - python: No python-config foundno
 - perl: no
 - ruby: no
 - lua: no
 - go: no
 - java: no
 - guile: no
 - php5: /usr/bin/valabind-cc: 1: /usr/bin/valabind-cc: php-config: not found
Package libpng was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpng' found
/usr/bin/valabind-cc: 1: /usr/bin/valabind-cc: php-config: not found
no
 - node-ffi: no
 - ctypes: no
 - cxx: yes (g++)
 - valac: yes
Supported langs:
 - cxx
 - valac
...
...
...
/usr/bin/ld: warning: libr_flags.so.0.9.3git, needed by /home/nop/data/dev/radare2/libr/parse/libr_parse.so, not found (try using -rpath or -rpath-link)
/home/nop/data/dev/radare2/libr/parse/libr_parse.so: undefined reference to `r_flag_get_i'
collect2: ld returned 1 exit status
make[3]: *** [rasm2] Error 1
make[2]: *** [all] Error 1
make[1]: *** [binr] Error 2
make: *** [all] Error 2
@radare
Copy link
Collaborator

radare commented Dec 24, 2012

I can't reproduce, but in order to find the issue i need just the line above the warning. I want to see the complete gcc line, in theory r_flags is compiled before r_parse, so it should be there.

Also, if you can upload the complete build log somewhere I may check if it's a race condition or what. Are you running make without -j?

@7histle
Copy link
Author

7histle commented Dec 24, 2012

Today, I again tried to build the project again, and everything went well, no error is reproduced. Sorry to disturb.

@radare
Copy link
Collaborator

radare commented Dec 26, 2012

Closed as not reproducible anymore.

@radare radare closed this as completed Dec 26, 2012
@7histle
Copy link
Author

7histle commented Dec 27, 2012

@m101
Copy link

m101 commented Dec 29, 2012

Got the same problem with freshly cloned git on Ubuntu 12.10 64 bits.

@m101
Copy link

m101 commented Dec 29, 2012

You gotta deinstalled any radare2 binaries on your system to reproduce the bug.

A workaround is to build a working revision then switching to the latest revision and build from there.

radare added a commit that referenced this issue Dec 29, 2012
@radare
Copy link
Collaborator

radare commented Dec 29, 2012

It is still happening?

On Dec 29, 2012, at 1:33, m101 [email protected] wrote:

You gotta deinstalled any radare2 binaries on your system to reproduce the bug.

A workaround is to build a working revision then switching to the latest revision and build from there.


Reply to this email directly or view it on GitHub.

schrotthaufen pushed a commit to schrotthaufen/radare2 that referenced this issue Dec 29, 2012
yossizap pushed a commit to yossizap/radare2 that referenced this issue Dec 30, 2019
* cleanup: get the include and lib path from r2

* clean up of the main project file

* check if r2 is available

* corrected r2 binary name m(

* qmake error if libr not found

Because the project won't build if r2 or the paths are not found emit
an error

* removed comments and unused variable

* Add 'make install' for AppImage

* Use 'make install' in travis build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants