From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <keith.wiles@intel.com>
Received: from mga02.intel.com (mga02.intel.com [134.134.136.20])
 by dpdk.org (Postfix) with ESMTP id 52DD458F7
 for <dev@dpdk.org>; Fri, 16 Jan 2015 22:07:16 +0100 (CET)
Received: from fmsmga002.fm.intel.com ([10.253.24.26])
 by orsmga101.jf.intel.com with ESMTP; 16 Jan 2015 13:07:15 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.09,412,1418112000"; d="scan'208";a="663141366"
Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6])
 by fmsmga002.fm.intel.com with ESMTP; 16 Jan 2015 13:07:14 -0800
Received: from orsmsx151.amr.corp.intel.com (10.22.226.38) by
 ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS)
 id 14.3.195.1; Fri, 16 Jan 2015 13:07:14 -0800
Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by
 ORSMSX151.amr.corp.intel.com (10.22.226.38) with Microsoft SMTP Server (TLS)
 id 14.3.195.1; Fri, 16 Jan 2015 13:07:14 -0800
Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.213]) by
 FMSMSX119.amr.corp.intel.com ([169.254.14.146]) with mapi id 14.03.0195.001;
 Fri, 16 Jan 2015 13:07:13 -0800
From: "Wiles, Keith" <keith.wiles@intel.com>
To: Srinivasreddy R <srinivasreddy4390@gmail.com>, "dev@dpdk.org"
 <dev@dpdk.org>, "dpdk-ovs@lists.01.org" <dpdk-ovs@lists.01.org>
Thread-Topic: [dpdk-dev] [DISCUSSION] : ERROR while compiling dpdk-1.7 on
 ubuntu14.04
Thread-Index: AQHQMdBmdWdTwbLwbE6Ob8gJ5nuu9Q==
Date: Fri, 16 Jan 2015 21:07:13 +0000
Message-ID: <D0DED93E.1004C%keith.wiles@intel.com>
References: <CAJP4VWi1E9rQ64qRbZi6-eYRtrywp4Z95P0m3n8kxwHTi7=uPw@mail.gmail.com>
In-Reply-To: <CAJP4VWi1E9rQ64qRbZi6-eYRtrywp4Z95P0m3n8kxwHTi7=uPw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.254.176.36]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <B42239350B4CB945A2BCA0420BF782A0@intel.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [dpdk-dev] [DISCUSSION] : ERROR while compiling dpdk-1.7 on
 ubuntu14.04
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Jan 2015 21:07:16 -0000

On 1/16/15, 7:43 AM, "Srinivasreddy R" <srinivasreddy4390@gmail.com> wrote:

>sorry typo i am using Ubuntu 14.04.1 LTS .
>
>On Fri, Jan 16, 2015 at 7:06 PM, Srinivasreddy R <
>srinivasreddy4390@gmail.com> 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.
>>