<div dir="ltr">Hi Alessandro<br><br>Not sure what the actual problem is, but you can probably work around it by disabling the ppc target if you don&#39;t need it.<br>This is the command I used to configure panda last time (from inside a `build` folder in the panda repository), with llvm3.3 built from source:<br><br>```<br>../configure --enable-llvm --with-llvm=/home/vigliag/thesis/llvm/Release/ --target-list=i386-softmmu --extra-cflags=&quot;-DPROTOBUF_INLINE_NOT_IN_HEADERS=0&quot;<br>```<br><br>* the llvm-related parts are for linking with llvm3.3 built from sources<br>* the `--target-list=i386-softmmu` bit disables all targets except the ones you list (in this case i386-softmmu)<br><div class="gmail_extra">* the --extra-cflags==&quot;-DPROTOBUF_INLINE_NOT_IN_HEADERS=0&quot; bit is a different workaround for the protobuf-c undefined macro problem<br><br>regards,<br>Gabriele<br><br><div class="gmail_quote">2017-10-28 13:37 GMT+02:00 alessandro mantovani <span dir="ltr">&lt;<a href="mailto:alk13@hotmail.it" target="_blank">alk13@hotmail.it</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
Hi, I continue to have an error in building phase that says:<br>
<br>
Makefile:320: recipe for target &#39;subdir-ppc-softmmu&#39; failed<br>
<br>
Some fix?<br>
Thanks<br>
<br>
Inviato dal mio dispositivo Huawei
<div class="gmail-m_-2019550998369632646quote" style="line-height:1.5"><br>
<br>
-------- Messaggio originale --------<br>
Oggetto: Re: [panda-users] PANDA on ubuntu17.04<br>
Da: Brendan Dolan-Gavitt <u></u><br>
A: alessandro mantovani <u></u><br>
CC: <a href="mailto:panda-users@mit.edu" target="_blank">panda-users@mit.edu</a><br>
<br>
<br type="attribution">
<blockquote class="gmail-m_-2019550998369632646quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">1) You should still be able to use the packages in this PPA to install LLVM and clang 3.3: <a href="https://launchpad.net/~phulin/+archive/ubuntu/panda" target="_blank">https://launchpad.net/~<wbr>phulin/+archive/ubuntu/panda</a>
<div><br>
</div>
<div>2) I believe this is a bug in protobuf. The workaround is to modify configure and change</div>
<div><br>
</div>
<div>
<div>QEMU_CFLAGS=&quot;-Wall -Wundef -Wwrite-strings -Wmissing-prototypes $QEMU_CFLAGS&quot;</div>
<div><br>
</div>
<div>to</div>
<div><br>
</div>
<div>QEMU_CFLAGS=&quot;-Wall -Wwrite-strings -Wmissing-prototypes $QEMU_CFLAGS&quot;</div>
</div>
<div><br>
</div>
<div>(i.e. remove -Wundef from the warnings).</div>
<div><br>
</div>
<div>Best,</div>
<div>Brendan</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Oct 27, 2017 at 3:09 PM, alessandro mantovani <span dir="ltr">
&lt;<a href="mailto:alk13@hotmail.it" target="_blank">alk13@hotmail.it</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi all,<br>
<br>
do you have some indications to install PANDA on Ubuntu 17.04. It seems<br>
that there are two problems:<br>
<br>
1) llvm and clang versions that are required in the dependencies<br>
installation script are note available for modern versions of ubuntu.<br>
(in particular it is requested llvm-3.3 e clang-3.3 but only from 3.5<br>
and up is available)<br>
<br>
2) error during building phase with PROTOBUF. In particular I get:<br>
<br>
plog.pb.h:2148:6: error: &quot;PROTOBUF_INLINE_NOT_IN_HEADER<wbr>S&quot; is not defined<br>
[-Werror=undef]<br>
  #if !PROTOBUF_INLINE_NOT_IN_HEADER<wbr>S<br>
<br>
<br>
Some fix?<br>
<br>
<br>
______________________________<wbr>_________________<br>
panda-users mailing list<br>
<a href="mailto:panda-users@mit.edu" target="_blank">panda-users@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/panda-users" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman<wbr>/listinfo/panda-users</a><br>
</blockquote>
</div>
<br>
<br clear="all"><span class="gmail-HOEnZb"><font color="#888888">
<div><br>
</div>
-- <br>
<div class="gmail-m_-2019550998369632646gmail_signature">Brendan Dolan-Gavitt<br>
Assistant Professor, Department of Computer Science and Engineering<br>
NYU Tandon School of Engineering</div>
</font></span></div>
</blockquote>
</div>
</div>

<br>______________________________<wbr>_________________<br>
panda-users mailing list<br>
<a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/panda-users" rel="noreferrer" target="_blank">http://mailman.mit.edu/<wbr>mailman/listinfo/panda-users</a><br>
<br></blockquote></div><br></div></div>