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 <jyotisr5 at googlemail.com> > You need to compile DPDK with -fPIC option.. > > -Jyoti > > > On Sat, Dec 7, 2013 at 5:50 PM, Romulo Rosa <romuloros at gmail.com> 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/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 >> making >> a shared object; recompile with -fPIC >> >> /home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_eal.a: >> could not read symbols: Bad value >> >> collect2: ld returned 1 exit status >> >> >> The fPIC flag is setted on my Makefile: >> >> pixman/Makefile: $(SRC_PATH)/pixman/configure >> (cd pixman; CFLAGS="$(CFLAGS) -fPIC $(extra_cflags) >> $(extra_ldflags)" $(SRC_PATH)/pixman/configure $(AUTOCONF_HOST) >> --disable-gtk --disable-shared --enable-static) >> >> >> Anyone know how to help me? >> >> Thanks! >> >> -- >> R?mulo Rosa Furtado >> > > -- R?mulo Rosa Furtado