[panda-users] Compilation Error on Ubuntu 14.04

Danux danuxx at gmail.com
Mon May 15 07:08:37 EDT 2017


Hi, was trying to install Panda2 on Ubuntu 14.04:

Linux XpL0iT 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:18:00
UTC 2015 i686 i686 i686 GNU/Linux

Via script:
https://github.com/panda-re/panda/blob/master/panda/scripts/install_ubuntu.sh

But throw below error:


PROTO   x86_64-softmmu/plog.proto
  PROTO   x86_64-softmmu/plog.pb-c.h x86_64-softmmu/plog.pb-c.c
  API
x86_64-softmmu/panda/plugins/callstack_instr/callstack_instr_ext.h
  API     x86_64-softmmu/panda/plugins/libfi/libfi_ext.h
  API     x86_64-softmmu/panda/plugins/osi/osi_ext.h
  API     x86_64-softmmu/panda/plugins/osi_linux/osi_linux_ext.h
  API     x86_64-softmmu/panda/plugins/pri/pri_ext.h
  API     x86_64-softmmu/panda/plugins/pri_dwarf/pri_dwarf_ext.h
  API     x86_64-softmmu/panda/plugins/wintrospection/wintrospection_ext.h
  API
x86_64-softmmu/panda/plugins/asid_instr_count/asid_instr_count_ext.h
  API     x86_64-softmmu/panda/plugins/file_taint/file_taint_ext.h
  API     x86_64-softmmu/panda/plugins/taint2/taint2_ext.h
  GEN     x86_64-softmmu/hmp-commands.h
  GEN     x86_64-softmmu/hmp-commands-info.h
  GEN     x86_64-softmmu/config-target.h
  CC      x86_64-softmmu/panda/src/callbacks.o
/home/danux/Downloads/panda/panda/src/callbacks.c: In function
‘hmp_panda_list_plugins’:
/home/danux/Downloads/panda/panda/src/callbacks.c:877:25: error: format
‘%ld’ expects argument of type ‘long int’, but argument 3 has type
‘int64_t’ [-Werror=format=]
                         plugin_item->value->name,
plugin_item->value->address);
                         ^
/home/danux/Downloads/panda/panda/src/callbacks.c:877:25: error: format
‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type
‘int64_t’ [-Werror=format=]
cc1: all warnings being treated as errors
make[1]: *** [panda/src/callbacks.o] Error 1
make: *** [subdir-x86_64-softmmu] Error 2


Please help. To be honest, I ran the install script on Saturday and threw
compilation error at different place :-(

Thanks for your help

-- 
DanUx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/panda-users/attachments/20170515/644bbc71/attachment.html


More information about the panda-users mailing list