<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 5:27 PM, jinho hwang <span dir="ltr"><<a href="mailto:hwang.jinho@gmail.com" target="_blank">hwang.jinho@gmail.com</a>></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"><div dir="ltr"><div><div><div><div>Hi, <br><br></div>I am having trouble to compile the dpdk in a virtual machine. I am using KVM as a hypervisor, and guest os is ubuntu 12.10, kernel 3.5.0, x86_64. I have been using dpdk for a week and run the examples in a native platform. But when I try to move it to virtual machine, it gives me the following error:<br>


<br></div>/home/guest/dpdk-1.2.3r1/lib/librte_eal/linuxapp/eal/eal.c:1:0: error: CPU you selected does not support x86-64 instruction set<br><br></div><div>I am sure that I have installed 64 bit version as it shows in "uname -a". Also, /proc/cpuinfo shows "model name: QEMU Virtual CPU version (cpu64-rhe16)". <br>


</div><div><br></div>Do you have any idea? <br><br></div>Thank you,<br><br>Jinho<br></div>
</blockquote></div><br>I figured out just now. It was because gcc version. I used to use 4.4, 
but in the guest virtual machine, I used 4.7 which may have additional 
functions to check strictly. - Jinho<br></div></div>