[panda-users] Some thing wrong about pycparser when install QEMU of PANDA?
he hobart
superchao2031 at gmail.com
Mon Jul 4 02:27:27 EDT 2016
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
root at hc-virtual-machine:~/PANDA/panda-master/qemu# ./build.sh
Building API for plugin sample ... Done!
Building API for plugin taint
Traceback (most recent call last):
File "../scripts/apigen.py", line 198, in <module>
generate_api(plugin, plugin_dir)
File "../scripts/apigen.py", line 164, in generate_api
arglist = get_arglists(pf)
File "../scripts/apigen.py", line 24, in get_arglists
p = pyc.parse(pf)
File "/usr/local/lib/python2.7/dist-packages/pycparser/c_parser.py", line
146, in parse
debug=debuglevel)
File "/usr/local/lib/python2.7/dist-packages/pycparser/ply/yacc.py", line
331, in parse
return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
File "/usr/local/lib/python2.7/dist-packages/pycparser/ply/yacc.py", line
1181, in parseopt_notrack
tok = call_errorfunc(self.errorfunc, errtoken, self)
File "/usr/local/lib/python2.7/dist-packages/pycparser/ply/yacc.py", line
193, in call_errorfunc
r = errorfunc(token)
File "/usr/local/lib/python2.7/dist-packages/pycparser/c_parser.py", line
1699, in p_error
column=self.clex.find_tok_column(p)))
File "/usr/local/lib/python2.7/dist-packages/pycparser/plyparser.py"
, line 55, in _parse_error
raise ParseError("%s: %s" % (coord, msg))
pycparser.plyparser.ParseError: /usr/include/stdint.h:57:1
: before: __extension__
As shown above, There are some thing wrong when install QEMU in PANDA
<https://github.com/moyix/panda>. I think the reason of this problem maybe
is the software version of pycparser <https://github.com/eliben/pycparser>.
So what version of pycparser is the correct one or other reasons?
Thank you in advance for any help you might be able to provide.
Sincerely,
Hobart He
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/panda-users/attachments/20160704/f1e826ae/attachment-0001.html
More information about the panda-users
mailing list