--- a/mk/target/generic/rte.vars.mk
+++ b/mk/target/generic/rte.vars.mk
@@ -105,7 +105,7 @@ ifeq ($(KERNELRELEASE),)
# merge all CFLAGS
CFLAGS := $(CPU_CFLAGS) $(EXECENV_CFLAGS) $(TOOLCHAIN_CFLAGS)
$(MACHINE_CFLAGS)
-CFLAGS += $(TARGET_CFLAGS)
+CFLAGS += $(TARGET_CFLAGS) -fPIC
On Sat, Dec 7, 201
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
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
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 appr
You need to compile DPDK with -fPIC option..
-Jyoti
On Sat, Dec 7, 2013 at 5:50 PM, Romulo Rosa wrote:
> Hi,
>
> I'm trying to compile QEMU on Ubuntu 12:04 and'm having the following
> problem:
>
> LINK x86_64-softmmu/qemu-system-x86_64
> /usr/bin/ld:
>
> /home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x
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?
2013/12/7 Jyotiswarup Raiturkar
> You need to compile DPDK with -fPIC option..
>
> -Jyoti
>
>
> On Sat, Dec 7, 2013 at 5:50 PM, Romulo Ros
Hi,
I'm trying to compile QEMU on Ubuntu 12:04 and'm having the following
problem:
LINK x86_64-softmmu/qemu-system-x86_64
/usr/bin/ld:
/home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_eal.a(eal.o):
relocation R_X86_64_32 against `.rodata.str1.8' can not be used when mak
7 matches
Mail list logo