From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wiles, Keith" Subject: Re: [DISCUSSION] : ERROR while compiling dpdk-1.7 on ubuntu14.04 Date: Fri, 16 Jan 2015 21:07:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: Srinivasreddy R , "dev-VfR2kkLFssw@public.gmane.org" , "dpdk-ovs-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org" Return-path: In-Reply-To: Content-Language: en-US Content-ID: 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" On 1/16/15, 7:43 AM, "Srinivasreddy R" wrote: >sorry typo i am using Ubuntu 14.04.1 LTS . > >On Fri, Jan 16, 2015 at 7:06 PM, Srinivasreddy R < >srinivasreddy4390-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> hi, >> Getting error while compiling dpdk on ubuntu10.04. >> >> >> export RTE_SDK=3D$(pwd) >> export RTE_TARGET=3D"x86_64-ivshmem-linuxapp-gcc" >> >> make CONFIG_RTE_BUILD_COMBINE_LIBS=3Dy CONFIG_RTE_BUILD_SHARED_LIB=3Dy >>install >> T=3D"$RTE_TARGET" Check to make sure you are linking in the math lib -lm you can add a V=3D1 to the command line and see the linker lines. >> >> >> =3D=3D Build app/test-acl >> CC main.o >> LD testacl >> /home/DPDK/dpdk-1.7.1/x86_64-ivshmem-linuxapp-gcc/lib/libintel_dpdk.so: >> undefined reference to `log2' >> /home/DPDK/dpdk-1.7.1/x86_64-ivshmem-linuxapp-gcc/lib/libintel_dpdk.so: >> undefined reference to `ceil' >> /home/DPDK/dpdk-1.7.1/x86_64-ivshmem-linuxapp-gcc/lib/libintel_dpdk.so: >> undefined reference to `pow' >> /home/DPDK/dpdk-1.7.1/x86_64-ivshmem-linuxapp-gcc/lib/libintel_dpdk.so: >> undefined reference to `round' >> collect2: error: ld returned 1 exit status >> make[5]: *** [testacl] Error 1 >> make[4]: *** [test-acl] Error 2 >> make[3]: *** [app] Error 2 >> make[2]: *** [all] Error 2 >> make[1]: *** [x86_64-ivshmem-linuxapp-gcc_install] Error 2 >> make: *** [install] Error 2 >> >> Following installation procedure at link : >> >>=20 >>https://github.com/01org/dpdk-ovs/blob/development/docs/01_Installation.m >>d#dpdk >> >> -------- >> thanks >> srinivas. >>