<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic lsdk cross-compiler vpp problem in QorIQ</title>
    <link>https://community.nxp.com/t5/QorIQ/lsdk-cross-compiler-vpp-problem/m-p/911299#M8070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I followed the build step in sec 9.3.4 Build VPP in LSDKUG_Rev19.03.pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;export DPDK_PATH=/home/yilin/flexbuild_lsdk1903/build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/local/dpdk&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;export CROSS_PREFIX=aarch64-linux-gnu&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;export ARCH=arm64&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;export OPENSSL_PATH=home/yilin/flexbuild_lsdk1903/packages/apps/openssl&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;cd vpp&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;make install-dep&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;cd build-root&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;make distclean&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;make V=0 PLATFORM=dpaa TAG=dpaa install-deb -j8&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;and it had some error:&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;In file included from /usr/include/openssl/sha.h:13:0,&lt;BR /&gt; from /home/yilin/flexbuild_lsdk1903/packages/apps/vpp/build-data/../src/vnet/bfd/bfd_main.c:21:&lt;BR /&gt;/usr/include/openssl/e_os2.h:13:11: fatal error: openssl/opensslconf.h: No such file or directory&lt;BR /&gt; # include &amp;lt;openssl/opensslconf.h&amp;gt;&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;compilation terminated.&lt;BR /&gt;Makefile:6958: recipe for target 'vnet/bfd/bfd_main.lo' failed&lt;BR /&gt;make[4]: *** [vnet/bfd/bfd_main.lo] Error 1&lt;BR /&gt;make[4]: *** Waiting for unfinished jobs....&lt;BR /&gt;make[4]: Leaving directory '/home/yilin/flexbuild_lsdk1903/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp'&lt;BR /&gt;Makefile:7933: recipe for target 'all-recursive' failed&lt;BR /&gt;make[3]: *** [all-recursive] Error 1&lt;BR /&gt;make[3]: Leaving directory '/home/yilin/flexbuild_lsdk1903/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp'&lt;BR /&gt;Makefile:4037: recipe for target 'all' failed&lt;BR /&gt;make[2]: *** [all] Error 2&lt;BR /&gt;make[2]: Leaving directory '/home/yilin/flexbuild_lsdk1903/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp'&lt;BR /&gt;Makefile:686: recipe for target 'vpp-build' failed&lt;BR /&gt;make[1]: *** [vpp-build] Error 2&lt;BR /&gt;make[1]: Leaving directory '/home/yilin/flexbuild_lsdk1903/packages/apps/vpp/build-root'&lt;BR /&gt;/home/yilin/flexbuild_lsdk1903/packages/apps/vpp/build-data/platforms.mk:20: recipe for target 'install-deb' failed&lt;BR /&gt;make: *** [install-deb] Error 1&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;I consider it should be&amp;nbsp;export OPENSSL_PATH=&amp;lt;openssl path&amp;gt; not correct .&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;but I try several times to the&amp;nbsp;&lt;SPAN&gt;OPENSSL_PATH but not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Are there&amp;nbsp;any ones can help to show how to set the path make the building right?&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;BR /&gt;yilin@hawk1:~/flexbuild_lsdk1903$ find . -name openssl&lt;BR /&gt;./build/apps/components_LS_arm64/usr/local/include/openssl&lt;BR /&gt;./build/apps/components_LS_arm64/usr/local/bin/openssl&lt;BR /&gt;./build/apps/components_LS_arm64/usr/local/share/doc/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/include/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/include/aarch64-linux-gnu/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/lib/python2.7/dist-packages/cryptography/hazmat/backends/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/local/include/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/local/bin/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/local/share/doc/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/bin/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/share/doc/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/share/lintian/overrides/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/etc/apparmor.d/abstractions/openssl&lt;BR /&gt;./packages/apps/openssl&lt;BR /&gt;./packages/apps/openssl/apps/openssl&lt;BR /&gt;./packages/apps/openssl/include/openssl&lt;BR /&gt;./packages/apps/openssl-1.0.2s/include/openssl&lt;BR /&gt;./packages/apps/dpdk/arm64-dpaa-linuxapp-gcc/build/drivers/crypto/openssl&lt;BR /&gt;./packages/apps/dpdk/drivers/crypto/openssl&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;The attaching file is my build vpp log.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Yi-Lin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Aug 2019 11:39:26 GMT</pubDate>
    <dc:creator>yi-linhsieh</dc:creator>
    <dc:date>2019-08-12T11:39:26Z</dc:date>
    <item>
      <title>lsdk cross-compiler vpp problem</title>
      <link>https://community.nxp.com/t5/QorIQ/lsdk-cross-compiler-vpp-problem/m-p/911299#M8070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I followed the build step in sec 9.3.4 Build VPP in LSDKUG_Rev19.03.pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;export DPDK_PATH=/home/yilin/flexbuild_lsdk1903/build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/local/dpdk&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;export CROSS_PREFIX=aarch64-linux-gnu&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;export ARCH=arm64&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;export OPENSSL_PATH=home/yilin/flexbuild_lsdk1903/packages/apps/openssl&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;cd vpp&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;make install-dep&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;cd build-root&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;make distclean&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;make V=0 PLATFORM=dpaa TAG=dpaa install-deb -j8&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;and it had some error:&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;In file included from /usr/include/openssl/sha.h:13:0,&lt;BR /&gt; from /home/yilin/flexbuild_lsdk1903/packages/apps/vpp/build-data/../src/vnet/bfd/bfd_main.c:21:&lt;BR /&gt;/usr/include/openssl/e_os2.h:13:11: fatal error: openssl/opensslconf.h: No such file or directory&lt;BR /&gt; # include &amp;lt;openssl/opensslconf.h&amp;gt;&lt;BR /&gt; ^~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;compilation terminated.&lt;BR /&gt;Makefile:6958: recipe for target 'vnet/bfd/bfd_main.lo' failed&lt;BR /&gt;make[4]: *** [vnet/bfd/bfd_main.lo] Error 1&lt;BR /&gt;make[4]: *** Waiting for unfinished jobs....&lt;BR /&gt;make[4]: Leaving directory '/home/yilin/flexbuild_lsdk1903/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp'&lt;BR /&gt;Makefile:7933: recipe for target 'all-recursive' failed&lt;BR /&gt;make[3]: *** [all-recursive] Error 1&lt;BR /&gt;make[3]: Leaving directory '/home/yilin/flexbuild_lsdk1903/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp'&lt;BR /&gt;Makefile:4037: recipe for target 'all' failed&lt;BR /&gt;make[2]: *** [all] Error 2&lt;BR /&gt;make[2]: Leaving directory '/home/yilin/flexbuild_lsdk1903/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp'&lt;BR /&gt;Makefile:686: recipe for target 'vpp-build' failed&lt;BR /&gt;make[1]: *** [vpp-build] Error 2&lt;BR /&gt;make[1]: Leaving directory '/home/yilin/flexbuild_lsdk1903/packages/apps/vpp/build-root'&lt;BR /&gt;/home/yilin/flexbuild_lsdk1903/packages/apps/vpp/build-data/platforms.mk:20: recipe for target 'install-deb' failed&lt;BR /&gt;make: *** [install-deb] Error 1&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;I consider it should be&amp;nbsp;export OPENSSL_PATH=&amp;lt;openssl path&amp;gt; not correct .&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;but I try several times to the&amp;nbsp;&lt;SPAN&gt;OPENSSL_PATH but not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Are there&amp;nbsp;any ones can help to show how to set the path make the building right?&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;BR /&gt;yilin@hawk1:~/flexbuild_lsdk1903$ find . -name openssl&lt;BR /&gt;./build/apps/components_LS_arm64/usr/local/include/openssl&lt;BR /&gt;./build/apps/components_LS_arm64/usr/local/bin/openssl&lt;BR /&gt;./build/apps/components_LS_arm64/usr/local/share/doc/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/include/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/include/aarch64-linux-gnu/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/lib/python2.7/dist-packages/cryptography/hazmat/backends/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/local/include/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/local/bin/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/local/share/doc/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/bin/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/share/doc/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/usr/share/lintian/overrides/openssl&lt;BR /&gt;./build/rfs/rootfs_lsdk_19.03_LS_arm64/etc/apparmor.d/abstractions/openssl&lt;BR /&gt;./packages/apps/openssl&lt;BR /&gt;./packages/apps/openssl/apps/openssl&lt;BR /&gt;./packages/apps/openssl/include/openssl&lt;BR /&gt;./packages/apps/openssl-1.0.2s/include/openssl&lt;BR /&gt;./packages/apps/dpdk/arm64-dpaa-linuxapp-gcc/build/drivers/crypto/openssl&lt;BR /&gt;./packages/apps/dpdk/drivers/crypto/openssl&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;The attaching file is my build vpp log.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Yi-Lin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2019 11:39:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/lsdk-cross-compiler-vpp-problem/m-p/911299#M8070</guid>
      <dc:creator>yi-linhsieh</dc:creator>
      <dc:date>2019-08-12T11:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: lsdk cross-compiler vpp problem</title>
      <link>https://community.nxp.com/t5/QorIQ/lsdk-cross-compiler-vpp-problem/m-p/911300#M8071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="291423" data-username="yi-linhsieh" href="https://community.nxp.com/people/yi-linhsieh"&gt;Yi-Lin Hsieh&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following steps are for building OpenSSL as a standalone package, outside the Flexbuild system.&lt;/P&gt;&lt;P&gt;git clone git://git.openssl.org/openssl.git # Clone the OpenSSL source code&lt;BR /&gt;cd openssl # Change into cloned directory&lt;BR /&gt;git checkout OpenSSL_1_1_0g # Checkout the specific branch supported by DPDK&lt;/P&gt;&lt;P&gt;export CROSS_COMPILE=&amp;lt;path to uncompressed toolchain archive&amp;gt;/bin/aarch64-linux-gnu-&lt;/P&gt;&lt;P&gt;./Configure linux-aarch64 --prefix=&amp;lt;OpenSSL library path&amp;gt; shared&lt;/P&gt;&lt;P&gt;make depend&lt;BR /&gt;make&lt;BR /&gt;make install&lt;BR /&gt;&lt;STRONG&gt;export OPENSSL_PATH=&amp;lt;OpenSSL library path&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;VPP was not officially supported for compilation via flex-builder till 19.03. in LSDK-19.03 documentation, you should find instructions for Standalone compilation(recommended).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;But form LSDK.1906 onwards, VPP compilation and image generation is supported and tested via flex-builder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This can be enabled by setting the following in the build configuration file (build_lsdk.cfg):&lt;BR /&gt;CONFIG_APP_VPP=y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flex-builder -c openssl -a arm64&lt;/P&gt;&lt;P&gt;flex-builder -c linux -a arm64&lt;/P&gt;&lt;P&gt;flex-builder -c dpdk -a arm64&lt;/P&gt;&lt;P&gt;flex-builder -i mkrfs -a arm64&lt;/P&gt;&lt;P&gt;&amp;nbsp;flex-builder -c vpp -a arm64&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yiping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2019 06:54:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/lsdk-cross-compiler-vpp-problem/m-p/911300#M8071</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2019-08-19T06:54:56Z</dc:date>
    </item>
  </channel>
</rss>

