From mboxrd@z Thu Jan 1 00:00:00 1970 From: Romulo Rosa Subject: Problem with QEMU Date: Sat, 7 Dec 2013 10:20:58 -0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable To: "dev-VfR2kkLFssw@public.gmane.org" Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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=3D"$(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! --=20 R=F4mulo Rosa Furtado