<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>I think this is my bad. Does it compile for you if you comment out this line from taint2.cpp? </div><div><br></div><div>#<span class="pl-k">define</span> <span class="pl-en">PANDA_LAVA</span></div><div><br></div><div><span class="pl-en">Let me know and I’ll check in a correction!</span></div><div><span class="pl-en"><br></span></div><div><span class="pl-en">Cheers.</span></div><div><span class="pl-en"><br></span></div><div><span class="pl-en">Tim</span></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Brian Mitchell <<a href="mailto:bmitchel@gmail.com">bmitchel@gmail.com</a>><br><span style="font-weight:bold">Reply-To: </span> "<a href="mailto:bmitchell@pobox.com">bmitchell@pobox.com</a>" <<a href="mailto:bmitchell@pobox.com">bmitchell@pobox.com</a>><br><span style="font-weight:bold">Date: </span> Wednesday, May 20, 2015 at 1:38 AM<br><span style="font-weight:bold">To: </span> "<a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a>" <<a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a>><br><span style="font-weight:bold">Subject: </span> [panda-users] build.sh error<br></div><div><br></div><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div><div dir="ltr">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:
<div><br></div><div><div>Building API for plugin sample ... Done!</div><div>Building API for plugin taint ... Done!</div><div>Building API for plugin taint2 ... Done!</div><div>Building API for plugin callstack_instr ... Done!</div><div>Building API for plugin osi ... Done!</div><div>panda_plugins/dead_data/dead_data.proto</div><div>panda_plugins/taint2/taint2.proto</div><div>panda_plugins/callstack_instr/callstack_instr.proto</div><div>panda_plugins/tainted_branch/tainted_branch.proto</div><div>panda_plugins/asidstory/asidstory.proto</div><div>panda_plugins/file_taint/file_taint.proto</div><div>panda_plugins/win7proc/win7proc.proto</div><div>panda_plugins/ida_taint2/ida_taint2.proto</div><div>panda_plugins/tainted_instr/tainted_instr.proto</div><div>generating protobuf code with protoc-c</div><div>Found ../llvm -- LLVM SUPPORT IS ENABLED</div><div>--enable-llvm --with-llvm=/home/brian/panda/llvm/Release</div><div>Install prefix /home/brian/panda/qemu/install</div><div>BIOS directory /home/brian/panda/qemu/install/share/qemu</div><div>binary directory /home/brian/panda/qemu/install/bin</div><div>library directory /home/brian/panda/qemu/install/lib</div><div>include directory /home/brian/panda/qemu/install/include</div><div>config directory /home/brian/panda/qemu/install/etc</div><div>Manual directory /home/brian/panda/qemu/install/share/man</div><div>ELF interp prefix /usr/gnemul/qemu-%M</div><div>Source path /home/brian/panda/qemu</div><div>C compiler gcc</div><div>C++ compiler g++</div><div>Host C compiler gcc</div><div>CFLAGS -g </div><div>CXXFLAGS -g </div><div>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 </div><div>QEMU_CXXFLAGS -O2 </div><div>LDFLAGS -Wl,--warn-common -m64 -g -L/usr/local/lib -L/usr/local/lib64 -L/usr/local/lib -lprotobuf-c -lprotobuf -lpthread -rdynamic</div><div>make make</div><div>install install</div><div>python python</div><div>smbd /usr/sbin/smbd</div><div>host CPU x86_64</div><div>host big endian no</div><div>target list x86_64-softmmu i386-softmmu arm-softmmu</div><div>tcg debug enabled no</div><div>Mon debug enabled no</div><div>gprof enabled no</div><div>sparse enabled no</div><div>strip binaries yes</div><div>profiler no</div><div>static build no</div><div>-Werror enabled no</div><div>SDL support yes</div><div>curses support yes</div><div>curl support yes</div><div>check support no</div><div>mingw32 support no</div><div>Audio drivers oss</div><div>Extra audio cards ac97 es1370 sb16 hda</div><div>Block whitelist </div><div>Mixer emulation no</div><div>VirtFS support no</div><div>VNC support yes</div><div>VNC TLS support yes</div><div>VNC SASL support yes</div><div>VNC JPEG support yes</div><div>VNC PNG support yes</div><div>VNC thread no</div><div>xen support no</div><div>brlapi support yes</div><div>bluez support yes</div><div>Documentation yes</div><div>NPTL support yes</div><div>GUEST_BASE yes</div><div>PIE no</div><div>vde support yes</div><div>Linux AIO support yes</div><div>ATTR/XATTR support yes</div><div>Install blobs yes</div><div>LLVM support yes</div><div>Android support no</div><div>KVM support yes</div><div>TCG interpreter no</div><div>fdt support yes</div><div>preadv support yes</div><div>fdatasync yes</div><div>madvise yes</div><div>posix_madvise yes</div><div>uuid support yes</div><div>vhost-net support yes</div><div>Trace backend nop</div><div>Trace output file trace-<pid></div><div>spice support yes</div><div>rbd support no</div><div>xfsctl support yes</div><div>nss used no</div><div>usb net redir yes</div><div>OpenGL support yes</div><div>libiscsi support no</div><div>build guest agent yes</div><div> GEN config-host.h</div><div> GEN trace.h</div><div> GEN trace.c</div><div> GEN config-target.h</div><div> CC x86_64-softmmu/panda/pandalog.pb-c.o</div><div> CC x86_64-softmmu/panda/pandalog.o</div><div> LINK x86_64-softmmu/qemu-system-x86_64</div><div>../slirp/misc.o: In function `memset':</div><div>/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</div><div>make[2]: Nothing to be done for `all'.</div><div>make[2]: Nothing to be done for `all'.</div><div>make[2]: Nothing to be done for `all'.</div><div>make[2]: Nothing to be done for `all'.</div><div>make[2]: Nothing to be done for `all'.</div><div>make[2]: Nothing to be done for `all'.</div><div>make[2]: Nothing to be done for `all'.</div><div>make[2]: Nothing to be done for `all'.</div><div>make[2]: Nothing to be done for `all'.</div><div> CXX /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/bitvector_label_set.o</div><div> CXX /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/shad_dir_32.o</div><div> CXX /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/shad_dir_64.o</div><div> CXX /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/taint_processor.o</div><div> CXX /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/taint.o</div><div> CXX /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/llvm_taint_lib.o</div><div> PLUGIN /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/panda_taint.so</div><div> CXX /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/panda_taint2/taint2.o</div><div>taint2.cpp:114:61: fatal error: ../../../../lava/include/panda_hypercall_struct.h: No such file or directory</div><div>compilation terminated.</div><div>make[2]: *** [/home/brian/panda/qemu/x86_64-softmmu/panda_plugins/panda_taint2/taint2.o] Error 1</div><div>make[1]: *** [plugin-taint2] Error 2</div><div>make: *** [subdir-x86_64-softmmu] Error 2</div></div><div><br></div></div></div></div></span></body></html>