From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) by dpdk.org (Postfix) with ESMTP id 0AB94682E for ; Mon, 9 Dec 2013 12:14:56 +0100 (CET) Received: by mail-la0-f52.google.com with SMTP id y1so1433688lam.39 for ; Mon, 09 Dec 2013 03:16:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=JZFZahAj4irHtZHJ1FUtHz9DhmN5f3cyU7f/XaAxhuM=; b=0OAMg3F0f7UvFjbSLrUTaBLK6s+uNtRXqD8YrY0s9X6uwLXZF3lAmRv9OgKVDIyxRK CiVcn8D2OSisYQ3SbZX/nCf4VICLZalg5gCZBkzkwdjsFFCeozf86pxc1NzOPOvkj82u aj6d0L6GP/mGTzl2urQAeriBryczGH1xC/uTIhZydOav18uTyJ19l6q34VGk/kHv3ziI Kqv0grAFfwDeXk+YVjD62rlxHpbnCnQvPWYVIHY1UK3OR9jVWHXb/rBWYJLJr7e0qQbp FzaC+rJmAc4v6ihcgup1hfWsfVhOI3Nm7NdZWReOxnqMyMT5ue+7lAXAsUShLdbTHgUO Zwaw== X-Received: by 10.152.1.197 with SMTP id 5mr4968352lao.0.1386587760667; Mon, 09 Dec 2013 03:16:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.25.164 with HTTP; Mon, 9 Dec 2013 03:15:40 -0800 (PST) In-Reply-To: References: <201312091009.04113.thomas.monjalon@6wind.com> From: Romulo Rosa Date: Mon, 9 Dec 2013 09:15:40 -0200 Message-ID: To: Thomas Monjalon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Problem with QEMU X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 11:14:57 -0000 Just to record how I solved the problem for those who might have the same problem. Then run the command / configure - enable-kvm - dpdkdir =3D / path= / to / dpdk - target-list =3D x86_64-softmmu --- a/dpdk-ovs/qemu/config-host.mak 2013-12-09 09:05:04.401122670 -0200 +++ b/dpdk-ovs/qemu/config-host.mak 2013-12-09 08:57:16.881103500 -0200 @@ -33,7 +33,10 @@ $(dpdk_lib_dir)/librte_mbuf.a \ $(dpdk_lib_dir)/librte_ring.a \ $(dpdk_lib_dir)/librte_mempool.a \ - $(dpdk_lib_dir)/librte_malloc.a + $(dpdk_lib_dir)/librte_malloc.a \ + $(dpdk_lib_dir)/librte_pmd_ring.a \ + $(dpdk_lib_dir)/libethdev.a 2013/12/9 Romulo Rosa > Hello guys, thanks for the help. Yesterday I could compile with-fPIC > however'm already trying to solve another problem in compiling QEMU. I ha= d > the same problem compiling ovs. Jyotiswarup Raiturkar helped me with OVS > and I'm trying to adapt the solution to this case. If you already know ho= w > to appreciate the help again. > > /dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_eal.a(eal_common_non= pci_devs.o):(.data.rel+0x8): > undefined reference to `rte_pmd_ring_init' > collect2: ld returned 1 exit status > make[1]: ** [qemu-system-x86_64] Erro 1 > make: ** [subdir-x86_64-softmmu] Erro 2 > > > > 2013/12/9 Thomas Monjalon > >> 07/12/2013 16:02, Romulo Rosa : >> > Thanks for the feedback. I compiled the DPDK with the -fPIC option. Is >> > there any specific location in the Makefile DPDK where should I put th= e >> > -fPIC option? >> >> You can use EXTRA_CFLAGS=3D-fPIC on the command line. >> >> -- >> Thomas >> > > > > -- > R=F4mulo Rosa Furtado > --=20 R=F4mulo Rosa Furtado