* [dpdk-users] pktgen-dpdk failed build "│/usr/bin/ld: cannot find -llua' @ 2019-04-03 6:54 .. 2019-04-03 12:57 ` Wiles, Keith 0 siblings, 1 reply; 5+ messages in thread From: .. @ 2019-04-03 6:54 UTC (permalink / raw) To: users 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-users] pktgen-dpdk failed build "│/usr/bin/ld: cannot find -llua' 2019-04-03 6:54 [dpdk-users] pktgen-dpdk failed build "│/usr/bin/ld: cannot find -llua' .. @ 2019-04-03 12:57 ` Wiles, Keith 2019-04-04 6:57 ` .. 0 siblings, 1 reply; 5+ messages in thread From: Wiles, Keith @ 2019-04-03 12:57 UTC (permalink / raw) To: hyperhead; +Cc: users 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, .. <hyperhead@gmail.com> 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-users] pktgen-dpdk failed build "│/usr/bin/ld: cannot find -llua' 2019-04-03 12:57 ` Wiles, Keith @ 2019-04-04 6:57 ` .. 2019-04-04 14:09 ` Wiles, Keith 0 siblings, 1 reply; 5+ messages in thread From: .. @ 2019-04-04 6:57 UTC (permalink / raw) To: Wiles, Keith; +Cc: 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 <keith.wiles@intel.com> 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, .. <hyperhead@gmail.com> 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 > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-users] pktgen-dpdk failed build "│/usr/bin/ld: cannot find -llua' 2019-04-04 6:57 ` .. @ 2019-04-04 14:09 ` Wiles, Keith 2019-04-05 8:02 ` .. 0 siblings, 1 reply; 5+ messages in thread From: Wiles, Keith @ 2019-04-04 14:09 UTC (permalink / raw) To: hyperhead; +Cc: users > On Apr 4, 2019, at 1:57 AM, .. <hyperhead@gmail.com> wrote: > > Hi Keith, > > Ok will upgrade to latest version. > > Is there much documentation of creating custom payloads with dpdk-pktgen? You have three modes sequence, range and pcap. Sequence mode allows changing for the L2/L3 and some L4 fields. 16 packets per port are available. range mode allows changing L2/L3 fields and create ranges for theses packets. pcap mode allows you send any type of packets via a pcap file. > > Have you any opinions on Warp17 from Juniper the dpdk stateful packet generator? I have not looked at the Warp17 > > Regards > > Roland > > On Wed, 3 Apr 2019 at 14:57, Wiles, Keith <keith.wiles@intel.com> 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, .. <hyperhead@gmail.com> 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 > Regards, Keith ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-users] pktgen-dpdk failed build "│/usr/bin/ld: cannot find -llua' 2019-04-04 14:09 ` Wiles, Keith @ 2019-04-05 8:02 ` .. 0 siblings, 0 replies; 5+ messages in thread From: .. @ 2019-04-05 8:02 UTC (permalink / raw) To: Wiles, Keith; +Cc: users Hi, I pulled the latest from git and ran make, I didnt fail make on Lua this time, something in cli-functions.o it didn't like == app CC cli-functions.o In file included from /opt/dpdk-18.08/pktgen-dpdk/app/pktgen.h:83:0, from /opt/dpdk-18.08/pktgen-dpdk/app/cli-functions.c:30: /opt/dpdk-18.08/pktgen-dpdk/app/pktgen-port-cfg.h: In function ‘rte_get_rx_capa_list’: /opt/dpdk-18.08/pktgen-dpdk/app/pktgen-port-cfg.h:386:4: error: ‘DEV_RX_OFFLOAD_SCTP_CKSUM’ undeclared (first use in this function) { DEV_RX_OFFLOAD_SCTP_CKSUM, _(SCTP_CKSUM) }, ^ /opt/dpdk-18.08/pktgen-dpdk/app/pktgen-port-cfg.h:386:4: note: each undeclared identifier is reported only once for each function it appears in /opt/dpdk-18.08/pktgen-dpdk/app/pktgen-port-cfg.h:387:4: error: ‘DEV_RX_OFFLOAD_OUTER_UDP_CKSUM’ undeclared (first use in this function) { DEV_RX_OFFLOAD_OUTER_UDP_CKSUM, _(OUTER_UDP_CKSUM) } ^ /opt/dpdk-18.08/pktgen-dpdk/app/pktgen-port-cfg.h: In function ‘rte_get_tx_capa_list’: /opt/dpdk-18.08/pktgen-dpdk/app/pktgen-port-cfg.h:440:4: error: ‘DEV_TX_OFFLOAD_OUTER_UDP_CKSUM’ undeclared (first use in this function) { DEV_TX_OFFLOAD_OUTER_UDP_CKSUM, _(OUTER_UDP_CKSUM) }, ^ /opt/dpdk-18.08/pktgen-dpdk/app/pktgen-port-cfg.h:440:2: warning: initialization makes integer from pointer without a cast [enabled by default] { DEV_TX_OFFLOAD_OUTER_UDP_CKSUM, _(OUTER_UDP_CKSUM) }, ^ /opt/dpdk-18.08/pktgen-dpdk/app/pktgen-port-cfg.h:440:2: warning: (near initialization for ‘tx_flags[20].flag’) [enabled by default] /opt/dpdk-18.08/pktgen-dpdk/app/pktgen-port-cfg.h:441:4: error: ‘DEV_TX_OFFLOAD_MATCH_METADATA’ undeclared (first use in this function) { DEV_TX_OFFLOAD_MATCH_METADATA, _(MATCH_METADATA) }, ^ /opt/dpdk-18.08/pktgen-dpdk/app/pktgen-port-cfg.h:441:2: warning: initialization makes integer from pointer without a cast [enabled by default] { DEV_TX_OFFLOAD_MATCH_METADATA, _(MATCH_METADATA) }, ^ /opt/dpdk-18.08/pktgen-dpdk/app/pktgen-port-cfg.h:441:2: warning: (near initialization for ‘tx_flags[21].flag’) [enabled by default] make[2]: *** [cli-functions.o] Error 1 make[1]: *** [all] Error 2 make: *** [app] Error 2 On Thu, 4 Apr 2019, 16:09 Wiles, Keith, <keith.wiles@intel.com> wrote: > > > > On Apr 4, 2019, at 1:57 AM, .. <hyperhead@gmail.com> wrote: > > > > Hi Keith, > > > > Ok will upgrade to latest version. > > > > Is there much documentation of creating custom payloads with dpdk-pktgen? > > You have three modes sequence, range and pcap. > Sequence mode allows changing for the L2/L3 and some L4 fields. 16 packets > per port are available. > range mode allows changing L2/L3 fields and create ranges for theses > packets. > pcap mode allows you send any type of packets via a pcap file. > > > > > Have you any opinions on Warp17 from Juniper the dpdk stateful packet > generator? > > I have not looked at the Warp17 > > > > Regards > > > > Roland > > > > On Wed, 3 Apr 2019 at 14:57, Wiles, Keith <keith.wiles@intel.com> 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, .. <hyperhead@gmail.com> 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 > > > > Regards, > Keith > > ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-04-05 8:02 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-04-03 6:54 [dpdk-users] pktgen-dpdk failed build "│/usr/bin/ld: cannot find -llua' .. 2019-04-03 12:57 ` Wiles, Keith 2019-04-04 6:57 ` .. 2019-04-04 14:09 ` Wiles, Keith 2019-04-05 8:02 ` ..
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).