khouloudabdelli / androguard

Automatically exported from code.google.com/p/androguard
Apache License 2.0
0 stars 0 forks source link

make failed: 'undefined reference to `mu::ParserBase::Eval() const' #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.at the make step
2.
3.

What is the expected output? What do you see instead?
complete the make process

I see following message...
android@honeynet:~/tools/backup/androguard$ make
In file included from /usr/include/c++/4.4/ext/hash_map:60,
                 from formula.h:35,
                 from test.cc:1:
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This 
file includes at least one deprecated or antiquated header which may be removed 
without further notice at a future date. Please use a non-deprecated interface 
with equivalent functionality instead. For a listing of replacement headers and 
interfaces, consult the file backward_warning.h. To disable this warning use 
-Wno-deprecated.
formula.o: In function `Formula::eval()':
formula.cc:(.text+0x49f): undefined reference to `mu::ParserBase::Eval() const'
collect2: ld returned 1 exit status
make[3]: *** [TEST] Error 1
make[2]: *** [LIBS] Error 2
make[1]: *** [LIBS] Error 2
make: *** [LIBS] Error 2

What version of the product are you using? On what operating system?
the latest one from from 
hg clone https://androguard.googlecode.com/hg/ androguard 

Please provide any additional information below.

Original issue reported on code.google.com by liuzhe0...@gmail.com on 24 Apr 2012 at 10:50

GoogleCodeExporter commented 8 years ago
is it the latest version of muparser ?

Original comment by anthony....@gmail.com on 24 Apr 2012 at 6:45

GoogleCodeExporter commented 8 years ago
yes, the version number is: Rev 2.2.2: 18.02.2012. I get it from 
'http://sourceforge.net/projects/muparser/files/'

Original comment by liuzhe0...@gmail.com on 25 Apr 2012 at 2:08

GoogleCodeExporter commented 8 years ago
I think you have an older version of muparser installed !

Original comment by anthony....@gmail.com on 25 Apr 2012 at 7:29

GoogleCodeExporter commented 8 years ago
Thank you your reply. I will try sth else.

Original comment by liuzhe0...@gmail.com on 27 Apr 2012 at 8:16

GoogleCodeExporter commented 8 years ago

Original comment by anthony....@gmail.com on 20 May 2012 at 9:19

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
am getting the same error as liuzhe0...@gmail.com faced. Am using muparser 
2.2.3 with python 2.7. please help

Original comment by animeshu...@gmail.com on 4 Feb 2014 at 12:49

GoogleCodeExporter commented 8 years ago
I think the reason is the miss configuration of "CFLAGS += 
-I/usr/include/muParser " and "CFLAGS += -I/usr/include/muParser", referencing 
from https://code.google.com/p/androguard/wiki/Installation

I solved this problem by installing the newest version of muparser manually, 
and modifying those two Makefile correctly.

Original comment by 1988.Mor...@gmail.com on 20 Apr 2014 at 7:18