[dpdk-dev] Problem with QEMU

Romulo Rosa romuloros at gmail.com
Mon Dec 9 12:15:40 CET 2013


Just to record how I solved the problem for those who might have the same
problem. Then run the command / configure - enable-kvm - dpdkdir = / path /
to / dpdk - target-list = 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 <romuloros at gmail.com>

> Hello guys, thanks for the help. Yesterday I could compile with-fPIC
> however'm already trying to solve another problem in compiling QEMU. I had
> 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 how
> to appreciate the help again.
>
> /dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_eal.a(eal_common_nonpci_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 <thomas.monjalon at 6wind.com>
>
>> 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 the
>> > -fPIC option?
>>
>> You can use EXTRA_CFLAGS=-fPIC on the command line.
>>
>> --
>> Thomas
>>
>
>
>
> --
> Rômulo Rosa Furtado
>



-- 
Rômulo Rosa Furtado


More information about the dev mailing list