[panda-users] Some thing wrong about pycparser when install QEMU of PANDA?

Brendan Dolan-Gavitt brendandg at nyu.edu
Tue Jul 5 10:06:47 EDT 2016


Are you installing PANDA on a 32-bit system? If so, it's probably this
issue:

https://github.com/moyix/panda/issues/85

In general we don't support building and running PANDA on 32-bit
architectures (the guest OS can be 32-bit, of course). Could you try it on
a 64-bit system?

-Brendan

On Mon, Jul 4, 2016 at 2:27 AM, he hobart <superchao2031 at gmail.com> wrote:

> 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
>
>
> _______________________________________________
> panda-users mailing list
> panda-users at mit.edu
> http://mailman.mit.edu/mailman/listinfo/panda-users
>
>


-- 
Brendan Dolan-Gavitt
Assistant Professor, Department of Computer Science and Engineering
NYU Tandon School of Engineering
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/panda-users/attachments/20160705/7294d031/attachment-0001.html


More information about the panda-users mailing list