From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) by dpdk.org (Postfix) with ESMTP id 167509DE for ; Sat, 7 Dec 2013 16:01:47 +0100 (CET) Received: by mail-la0-f54.google.com with SMTP id b8so735383lan.13 for ; Sat, 07 Dec 2013 07:02:51 -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=8xLsUJL3DSzPCoIMiVtUpWzVosPboLH9DgnYLb+JmOQ=; b=VvFnFQ8DmqkgCg0cU2yrP7AXVT0ffSBJegOR9VZBHV5uWtQPWmQ4hThHoLOojbGonl WSonXWXVyGaiSO+4cAmpUgi55r+leoyQv02Azk26YCwTxQFfBbg7Q+u5lz979vDEWiYi b7IEJIaiiYTt4Wb+tHdurXl/mIYxhE97mUDMBg3j/r9hXMbFhM1c8yXc00epZmC8X370 OCa7bMgthaFb+wrnbHNU4P5Vx4BdpZ6AvycdSIEemYDp++0Pu0Z3Fmvt1pmJT/pw72Ga 63tyVAsIKt24SnQwB39ULKCp6lSVuk/BeAfCeii1cVnlAobkDYhGOqmd4DBfTAxl43hP DOFw== X-Received: by 10.152.183.169 with SMTP id en9mr58019lac.68.1386428570339; Sat, 07 Dec 2013 07:02:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.25.164 with HTTP; Sat, 7 Dec 2013 07:02:30 -0800 (PST) In-Reply-To: References: From: Romulo Rosa Date: Sat, 7 Dec 2013 13:02:30 -0200 Message-ID: To: Jyotiswarup Raiturkar 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: Sat, 07 Dec 2013 15:01:48 -0000 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 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/x86_64-default-linuxapp-gcc/lib/libr= te_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/libr= te_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! >> >> -- >> R=F4mulo Rosa Furtado >> > > --=20 R=F4mulo Rosa Furtado