<html><head></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>K. &nbsp;I&#8217;ll push a fix. &nbsp;Thx.</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 &lt;<a href="mailto:bem@panix.com">bem@panix.com</a>&gt;<br><span style="font-weight:bold">Date: </span> Wednesday, May 20, 2015 at 9:54 AM<br><span style="font-weight:bold">To: </span> Timothy Leek &lt;<a href="mailto:tleek@ll.mit.edu">tleek@ll.mit.edu</a>&gt;<br><span style="font-weight:bold">Cc: </span> "<a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a>" &lt;<a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a>&gt;<br><span style="font-weight:bold">Subject: </span> Re: [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">Actually I may have spoken too soon, that does appear to have worked, the prior set of errors were my fault (forgot to make clean before I retried).
<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 20, 2015 at 9:30 AM, Leek, Timothy - 0559 - MITLL
<span dir="ltr">&lt;<a href="mailto:tleek@ll.mit.edu" target="_blank">tleek@ll.mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div>I think this is my bad.&nbsp; Does it compile for you if you comment out this line from taint2.cpp?&nbsp;</div><div><br></div><div>#<span>define</span> <span>PANDA_LAVA</span></div><div><br></div><div><span>Let me know and I&#8217;ll check in a correction!</span></div><div><span><br></span></div><div><span>Cheers.</span></div><div><span><br></span></div><div><span>Tim</span></div><div><br></div><span><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 &lt;<a href="mailto:bmitchel@gmail.com" target="_blank">bmitchel@gmail.com</a>&gt;<br><span style="font-weight:bold">Reply-To: </span>"<a href="mailto:bmitchell@pobox.com" target="_blank">bmitchell@pobox.com</a>" &lt;<a href="mailto:bmitchell@pobox.com" target="_blank">bmitchell@pobox.com</a>&gt;<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" target="_blank">panda-users@mit.edu</a>" &lt;<a href="mailto:panda-users@mit.edu" target="_blank">panda-users@mit.edu</a>&gt;<br><span style="font-weight:bold">Subject: </span>[panda-users] build.sh error<br></div><div><div class="h5"><div><br></div><div><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 &nbsp; &nbsp;/home/brian/panda/qemu/install</div><div>BIOS directory &nbsp; &nbsp;/home/brian/panda/qemu/install/share/qemu</div><div>binary directory &nbsp;/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 &nbsp;/home/brian/panda/qemu/install/etc</div><div>Manual directory &nbsp;/home/brian/panda/qemu/install/share/man</div><div>ELF interp prefix /usr/gnemul/qemu-%M</div><div>Source path &nbsp; &nbsp; &nbsp; /home/brian/panda/qemu</div><div>C compiler &nbsp; &nbsp; &nbsp; &nbsp;gcc</div><div>C++ compiler &nbsp; &nbsp; &nbsp;g++</div><div>Host C compiler &nbsp; gcc</div><div>CFLAGS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-g&nbsp;</div><div>CXXFLAGS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-g&nbsp;</div><div>QEMU_CFLAGS &nbsp; &nbsp; &nbsp; -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 &nbsp;-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 &nbsp; -I/usr/include/spice-server -I/usr/include/pixman-1
 -I/usr/include/spice-1 &nbsp; &nbsp;</div><div>QEMU_CXXFLAGS &nbsp; &nbsp; -O2&nbsp;</div><div>LDFLAGS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -Wl,--warn-common -m64 -g -L/usr/local/lib -L/usr/local/lib64 -L/usr/local/lib -lprotobuf-c -lprotobuf -lpthread &nbsp;-rdynamic</div><div>make &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;make</div><div>install &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install</div><div>python &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;python</div><div>smbd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/usr/sbin/smbd</div><div>host CPU &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;x86_64</div><div>host big endian &nbsp; no</div><div>target list &nbsp; &nbsp; &nbsp; x86_64-softmmu i386-softmmu arm-softmmu</div><div>tcg debug enabled no</div><div>Mon debug enabled no</div><div>gprof enabled &nbsp; &nbsp; no</div><div>sparse enabled &nbsp; &nbsp;no</div><div>strip binaries &nbsp; &nbsp;yes</div><div>profiler &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;no</div><div>static build &nbsp; &nbsp; &nbsp;no</div><div>-Werror enabled &nbsp; no</div><div>SDL support &nbsp; &nbsp; &nbsp; yes</div><div>curses support &nbsp; &nbsp;yes</div><div>curl support &nbsp; &nbsp; &nbsp;yes</div><div>check support &nbsp; &nbsp; no</div><div>mingw32 support &nbsp; no</div><div>Audio drivers &nbsp; &nbsp; oss</div><div>Extra audio cards ac97 es1370 sb16 hda</div><div>Block whitelist &nbsp;&nbsp;</div><div>Mixer emulation &nbsp; no</div><div>VirtFS support &nbsp; &nbsp;no</div><div>VNC support &nbsp; &nbsp; &nbsp; yes</div><div>VNC TLS support &nbsp; yes</div><div>VNC SASL support &nbsp;yes</div><div>VNC JPEG support &nbsp;yes</div><div>VNC PNG support &nbsp; yes</div><div>VNC thread &nbsp; &nbsp; &nbsp; &nbsp;no</div><div>xen support &nbsp; &nbsp; &nbsp; no</div><div>brlapi support &nbsp; &nbsp;yes</div><div>bluez &nbsp;support &nbsp; &nbsp;yes</div><div>Documentation &nbsp; &nbsp; yes</div><div>NPTL support &nbsp; &nbsp; &nbsp;yes</div><div>GUEST_BASE &nbsp; &nbsp; &nbsp; &nbsp;yes</div><div>PIE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; no</div><div>vde support &nbsp; &nbsp; &nbsp; yes</div><div>Linux AIO support yes</div><div>ATTR/XATTR support yes</div><div>Install blobs &nbsp; &nbsp; yes</div><div>LLVM support &nbsp; &nbsp; &nbsp;yes</div><div>Android support &nbsp; no</div><div>KVM support &nbsp; &nbsp; &nbsp; yes</div><div>TCG interpreter &nbsp; no</div><div>fdt support &nbsp; &nbsp; &nbsp; yes</div><div>preadv support &nbsp; &nbsp;yes</div><div>fdatasync &nbsp; &nbsp; &nbsp; &nbsp; yes</div><div>madvise &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yes</div><div>posix_madvise &nbsp; &nbsp; yes</div><div>uuid support &nbsp; &nbsp; &nbsp;yes</div><div>vhost-net support yes</div><div>Trace backend &nbsp; &nbsp; nop</div><div>Trace output file trace-&lt;pid&gt;</div><div>spice support &nbsp; &nbsp; yes</div><div>rbd support &nbsp; &nbsp; &nbsp; no</div><div>xfsctl support &nbsp; &nbsp;yes</div><div>nss used &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;no</div><div>usb net redir &nbsp; &nbsp; yes</div><div>OpenGL support &nbsp; &nbsp;yes</div><div>libiscsi support &nbsp;no</div><div>build guest agent yes</div><div>&nbsp; GEN &nbsp; config-host.h</div><div>&nbsp; GEN &nbsp; trace.h</div><div>&nbsp; GEN &nbsp; trace.c</div><div>&nbsp; GEN &nbsp; config-target.h</div><div>&nbsp; CC &nbsp; &nbsp;x86_64-softmmu/panda/pandalog.pb-c.o</div><div>&nbsp; CC &nbsp; &nbsp;x86_64-softmmu/panda/pandalog.o</div><div>&nbsp; LINK &nbsp;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>&nbsp; CXX &nbsp; /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/bitvector_label_set.o</div><div>&nbsp; CXX &nbsp; /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/shad_dir_32.o</div><div>&nbsp; CXX &nbsp; /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/shad_dir_64.o</div><div>&nbsp; CXX &nbsp; /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/taint_processor.o</div><div>&nbsp; CXX &nbsp; /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/taint.o</div><div>&nbsp; CXX &nbsp; /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/llvm_taint_lib.o</div><div>&nbsp; PLUGIN &nbsp;/home/brian/panda/qemu/x86_64-softmmu/panda_plugins/panda_taint.so</div><div>&nbsp; CXX &nbsp; /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></div></div></span></div></blockquote></div><br></div></div></div></span></body></html>