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 E68ACA0679 for ; Thu, 4 Apr 2019 08:57:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 866FD5323; Thu, 4 Apr 2019 08:57:27 +0200 (CEST) Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) by dpdk.org (Postfix) with ESMTP id 234C04F98 for ; Thu, 4 Apr 2019 08:57:26 +0200 (CEST) Received: by mail-yb1-f174.google.com with SMTP id b82so588952ybg.11 for ; Wed, 03 Apr 2019 23:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=oWKQoycAUsgJyNwIuSCii1PfWUzsfGwjqQrMvHzQSxM=; b=V3cbMHZGb4vMhqEyrA41iSsKdK0iq9GeOeb/5g58nyI2WHaWBAJeNoJMcJSbU8uHAs xLRpV3mfKCgFzcWgAkPJHqyBOSJJK4/coh+dSboonMVOM7tKf/BdGITlmOZ6t4uJ8dmr +x1uCBbrhHP87ru34aFElpRraUd0CR6CURphHrv9ul3e7LFrsxfCUqAtABCsJtwkCcUd hG1B6v4hDqW8/SxqCuQ9Za4ZWsX3Y4qjAhHMC1LzrfWTdjD/0q3wNrdxmjHBWjCsnEfi knqCxtQ0llj9sfGBddCqpF23OrLJInNGBUy7hlGJut/c20fFqNwVJS0gTZXe8rMlYfBD ziAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=oWKQoycAUsgJyNwIuSCii1PfWUzsfGwjqQrMvHzQSxM=; b=DG1BfWMEff/QFv+M3tiNaaugiws5G5jIjpYfTiX7sTKcJyaeOhxLu0C3ky47UR9XNr WMp1i4/PyTwCL4Kwkm+K7PB39xpMTZZ7U2WMyzW7gLy+f25OcdTNPDhiJHVBBaNW5C+R laMbILQj1jUqvoLS4ywzLNTn7iWp/mKgF2/4iGnDx01Esmud1d2FhPDsRA/zYbphxlHL dRKD7HANIBLDCwcqNzjmjrq8vzMaqWWVV2/AskkOBXMHXQ2H6htmwuSJy6Li6uTqCqiq pQUCTn2nQAK6RQyCSC0RNc2n9SBRJfQ8H5e00Dn042y0Dela3q0A9fv7d+XSu+utUrNQ s7jA== X-Gm-Message-State: APjAAAVKDzVTOfxNyttSQrhKWDcO55lD9YxtCtqk3HTGlo7+1DQ4PvO4 +/nIyz32ZeiVIghdgQvpSykEli+lihhGnt3RMpA= X-Google-Smtp-Source: APXvYqxLDV7ecn0ZYPO8+Gj6nImsNsCL/cgn81BtVwgdOMMeTV4EfiJKuebqh2rMPliRO9b78r/WaWlVS1T8XjmWTO0= X-Received: by 2002:a25:7c06:: with SMTP id x6mr3776216ybc.463.1554361045356; Wed, 03 Apr 2019 23:57:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: ".." Date: Thu, 4 Apr 2019 08:57:14 +0200 Message-ID: To: "Wiles, Keith" Cc: "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] =?utf-8?q?pktgen-dpdk_failed_build_=22=E2=94=82/usr/?= =?utf-8?q?bin/ld=3A_cannot_find_-llua=27?= X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: hyperhead@gmail.com List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi Keith, Ok will upgrade to latest version. Is there much documentation of creating custom payloads with dpdk-pktgen? Have you any opinions on Warp17 from Juniper the dpdk stateful packet generator? Regards Roland On Wed, 3 Apr 2019 at 14:57, Wiles, Keith wrote: > Please update to the latest Pktgen, I believe I was able to fix the build > system for CentOS. > > > On Apr 3, 2019, at 1:54 AM, .. wrote: > > > > Hi dpdk-users! > > > > OS: CentOS Linux release 7.0.1406 (Core) > > Kernel : 3.10.0-123.el7.x86_64 > > > > I am trying to build dpdk-pktgen (I chose version 3.6.1 with dpdk 18.08). > > Whenever I build I get this error: > > > > [root@ipservera pktgen-dpdk-pktgen-3.6.1]# make -j > > == lib > > == common > > == utils > > == vec > > == lua > > == cli > > == 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 > > > > As it is Centos, I followed the instructions for building lua 5.3.2 via > the > > INSTALL.md notes with the pktgen install notes and also copied the > > generated libraries as per documentation: > > > > # 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 > > > > # luac -v > > Lua 5.3.2 Copyright (C) 1994-2015 Lua.org, PUC-Rio > > > > Dpdk install details: > > ---------------------------- > > # echo $RTE_SDK > > /usr/local/share/dpdk > > > > # echo $RTE_TARGET > > x86_64-native-linuxapp-gcc > > > > # 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 > > > > I have never used pktgen -dpdk before against a dpdk application > target. I > > have another dpdk server running a reflector application we developed, > but > > 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. > > > > Thanks > > > > Roland > > Regards, > Keith > >