[panda-users] build.sh error

Brian Mitchell bmitchel at gmail.com
Wed May 20 01:38:18 EDT 2015


I'm a new user to panda, but I'm encountering a problem building the latest
version with the new taint2 hypercall includes. Here's the output from
build.sh:

Building API for plugin sample ... Done!
Building API for plugin taint ... Done!
Building API for plugin taint2 ... Done!
Building API for plugin callstack_instr ... Done!
Building API for plugin osi ... Done!
panda_plugins/dead_data/dead_data.proto
panda_plugins/taint2/taint2.proto
panda_plugins/callstack_instr/callstack_instr.proto
panda_plugins/tainted_branch/tainted_branch.proto
panda_plugins/asidstory/asidstory.proto
panda_plugins/file_taint/file_taint.proto
panda_plugins/win7proc/win7proc.proto
panda_plugins/ida_taint2/ida_taint2.proto
panda_plugins/tainted_instr/tainted_instr.proto
generating protobuf code with protoc-c
Found ../llvm -- LLVM SUPPORT IS ENABLED
--enable-llvm --with-llvm=/home/brian/panda/llvm/Release
Install prefix    /home/brian/panda/qemu/install
BIOS directory    /home/brian/panda/qemu/install/share/qemu
binary directory  /home/brian/panda/qemu/install/bin
library directory /home/brian/panda/qemu/install/lib
include directory /home/brian/panda/qemu/install/include
config directory  /home/brian/panda/qemu/install/etc
Manual directory  /home/brian/panda/qemu/install/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /home/brian/panda/qemu
C compiler        gcc
C++ compiler      g++
Host C compiler   gcc
CFLAGS            -g
CXXFLAGS          -g
QEMU_CFLAGS       -m64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wall
-Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -O2
-I/usr/local/include  -fstack-protector-all -Wendif-labels
-Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security
-Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration
-Wold-style-definition -Wtype-limits -I/usr/include/libpng12
-I/usr/include/spice-server -I/usr/include/pixman-1 -I/usr/include/spice-1

QEMU_CXXFLAGS     -O2
LDFLAGS           -Wl,--warn-common -m64 -g -L/usr/local/lib
-L/usr/local/lib64 -L/usr/local/lib -lprotobuf-c -lprotobuf -lpthread
 -rdynamic
make              make
install           install
python            python
smbd              /usr/sbin/smbd
host CPU          x86_64
host big endian   no
target list       x86_64-softmmu i386-softmmu arm-softmmu
tcg debug enabled no
Mon debug enabled no
gprof enabled     no
sparse enabled    no
strip binaries    yes
profiler          no
static build      no
-Werror enabled   no
SDL support       yes
curses support    yes
curl support      yes
check support     no
mingw32 support   no
Audio drivers     oss
Extra audio cards ac97 es1370 sb16 hda
Block whitelist
Mixer emulation   no
VirtFS support    no
VNC support       yes
VNC TLS support   yes
VNC SASL support  yes
VNC JPEG support  yes
VNC PNG support   yes
VNC thread        no
xen support       no
brlapi support    yes
bluez  support    yes
Documentation     yes
NPTL support      yes
GUEST_BASE        yes
PIE               no
vde support       yes
Linux AIO support yes
ATTR/XATTR support yes
Install blobs     yes
LLVM support      yes
Android support   no
KVM support       yes
TCG interpreter   no
fdt support       yes
preadv support    yes
fdatasync         yes
madvise           yes
posix_madvise     yes
uuid support      yes
vhost-net support yes
Trace backend     nop
Trace output file trace-<pid>
spice support     yes
rbd support       no
xfsctl support    yes
nss used          no
usb net redir     yes
OpenGL support    yes
libiscsi support  no
build guest agent yes
  GEN   config-host.h
  GEN   trace.h
  GEN   trace.c
  GEN   config-target.h
  CC    x86_64-softmmu/panda/pandalog.pb-c.o
  CC    x86_64-softmmu/panda/pandalog.o
  LINK  x86_64-softmmu/qemu-system-x86_64
../slirp/misc.o: In function `memset':
/usr/include/x86_64-linux-gnu/bits/string3.h:82: warning: memset used with
constant zero length parameter; this could be due to transposed parameters
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
  CXX
/home/brian/panda/qemu/x86_64-softmmu/panda_plugins/bitvector_label_set.o
  CXX   /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/shad_dir_32.o
  CXX   /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/shad_dir_64.o
  CXX
/home/brian/panda/qemu/x86_64-softmmu/panda_plugins/taint_processor.o
  CXX   /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/taint.o
  CXX   /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/llvm_taint_lib.o
  PLUGIN  /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/panda_taint.so
  CXX
/home/brian/panda/qemu/x86_64-softmmu/panda_plugins/panda_taint2/taint2.o
taint2.cpp:114:61: fatal error:
../../../../lava/include/panda_hypercall_struct.h: No such file or directory
compilation terminated.
make[2]: ***
[/home/brian/panda/qemu/x86_64-softmmu/panda_plugins/panda_taint2/taint2.o]
Error 1
make[1]: *** [plugin-taint2] Error 2
make: *** [subdir-x86_64-softmmu] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/panda-users/attachments/20150520/5f3a70c1/attachment.htm


More information about the panda-users mailing list