From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 4B0D8A0679 for ; Wed, 3 Apr 2019 14:57:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 11AA31B3BB; Wed, 3 Apr 2019 14:57:42 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 89F0F1B39E for ; Wed, 3 Apr 2019 14:57:39 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2019 05:57:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,304,1549958400"; d="scan'208";a="220165996" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 03 Apr 2019 05:57:38 -0700 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 3 Apr 2019 05:57:38 -0700 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.142]) by FMSMSX157.amr.corp.intel.com ([169.254.14.37]) with mapi id 14.03.0415.000; Wed, 3 Apr 2019 05:57:37 -0700 From: "Wiles, Keith" To: "hyperhead@gmail.com" CC: "users@dpdk.org" Thread-Topic: =?koi8-r?Q?[dpdk-users]_pktgen-dpdk_failed_build_"=81/usr/bin/ld:_cannot_?= =?koi8-r?Q?find_-llua'?= Thread-Index: AQHU6eom4lkOvsqeek2TmhUY7+D+y6Yq2yMA Date: Wed, 3 Apr 2019 12:57:36 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.102.28] Content-Type: text/plain; charset="koi8-r" Content-ID: <2BC53DBD55B750489D42E6845993AC00@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] =?koi8-r?b?cGt0Z2VuLWRwZGsgZmFpbGVkIGJ1aWxkICKBL3Vz?= =?koi8-r?b?ci9iaW4vbGQ6IGNhbm5vdCBmaW5kIC1sbHVhJw==?= X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Please update to the latest Pktgen, I believe I was able to fix the build s= ystem for CentOS. > On Apr 3, 2019, at 1:54 AM, .. wrote: >=20 > Hi dpdk-users! >=20 > OS: CentOS Linux release 7.0.1406 (Core) > Kernel : 3.10.0-123.el7.x86_64 >=20 > I am trying to build dpdk-pktgen (I chose version 3.6.1 with dpdk 18.08). > Whenever I build I get this error: >=20 > [root@ipservera pktgen-dpdk-pktgen-3.6.1]# make -j > =3D=3D lib > =3D=3D common > =3D=3D utils > =3D=3D vec > =3D=3D lua > =3D=3D cli > =3D=3D app > LD pktgen > /usr/bin/ld: cannot find -llua > collect2: error: ld returned 1 exit status > make[2]: *** [pktgen] Error 1 > make[1]: *** [all] Error 2 > make: *** [app] Error 2 >=20 > As it is Centos, I followed the instructions for building lua 5.3.2 via t= he > INSTALL.md notes with the pktgen install notes and also copied the > generated libraries as per documentation: >=20 > # ls -l /usr/lib64/ | grep liblua > -rwxr-xr-x 1 root root 193864 Nov 6 2016 liblua-5.1.so > -rw-r--r-- 1 root root 442084 Apr 1 12:46 liblua-5.3.a > -rwxr-xr-x 1 root root 260977 Apr 1 12:46 liblua-5.3.so > # lua -v > Lua 5.3.2 Copyright (C) 1994-2015 Lua.org, PUC-Rio >=20 > # luac -v > Lua 5.3.2 Copyright (C) 1994-2015 Lua.org, PUC-Rio >=20 > Dpdk install details: > ---------------------------- > # echo $RTE_SDK > /usr/local/share/dpdk >=20 > # echo $RTE_TARGET > x86_64-native-linuxapp-gcc >=20 > # ls -l /usr/local/share/dpdk > total 24 > drwxr-xr-x 3 root root 4096 Aug 9 2018 buildtools > drwxr-xr-x 50 root root 4096 Aug 9 2018 examples > drwxr-xr-x 8 root root 4096 Aug 9 2018 mk > drwxrwxr-x 14 root root 4096 Apr 3 06:39 pktgen-dpdk-pktgen-3.6.1 > drwxr-xr-x 2 root root 4096 Aug 9 2018 usertools > drwxr-xr-x 3 root root 4096 Oct 10 18:25 x86_64-native-linuxapp-gcc >=20 > I have never used pktgen -dpdk before against a dpdk application target. = I > have another dpdk server running a reflector application we developed, bu= t > I used the standard Linux kernel pktgen and commercial software fpga nics > to fire traffic at it, but I would now like to try with pktgen-dpdk. >=20 > Thanks >=20 > Roland Regards, Keith