[panda-users] build.sh error
Brian Mitchell
bem at panix.com
Wed May 20 09:46:00 EDT 2015
Unfortunately not.
taint2.cpp: In function ‘void lava_src_info_pandalog(PandaHypercallStruct)’:
taint2.cpp:404:9: error: ‘Panda__SrcInfo’ has no member named
‘has_insertionpoint’
taint2.cpp:405:13: error: ‘PandaHypercallStruct’ has no member named
‘insertion_point’
taint2.cpp:406:13: error: ‘Panda__SrcInfo’ has no member named
‘has_insertionpoint’
taint2.cpp:407:13: error: ‘Panda__SrcInfo’ has no member named
‘insertionpoint’
taint2.cpp:407:34: error: ‘PandaHypercallStruct’ has no member named
‘insertion_point’
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
On Wed, May 20, 2015 at 9:30 AM, Leek, Timothy - 0559 - MITLL <
tleek at ll.mit.edu> wrote:
> I think this is my bad. Does it compile for you if you comment out this
> line from taint2.cpp?
>
> #define PANDA_LAVA
>
> Let me know and I’ll check in a correction!
>
> Cheers.
>
> Tim
>
> From: Brian Mitchell <bmitchel at gmail.com>
> Reply-To: "bmitchell at pobox.com" <bmitchell at pobox.com>
> Date: Wednesday, May 20, 2015 at 1:38 AM
> To: "panda-users at mit.edu" <panda-users at mit.edu>
> Subject: [panda-users] build.sh error
>
> 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/c73c3745/attachment.htm
More information about the panda-users
mailing list