AnsweredAssumed Answered

LSDK 18.09 for LS2088A

Question asked by pradeep TG on Apr 29, 2019
Latest reply on May 21, 2019 by Pavel Chubakov

Hi ,

 

We are using LSDK 18.09 for LS2088A processor, we are facing issue while compilation in Ubuntu 18.04 its using JDK 11 but in 11 some of functions are absolute.below is error 

 

/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-data/../src/vpp-api/java/jvpp-core/io/fd/vpp/jvpp/core/examples/L2AclExample.java:37: error: package javax.xml.bind does not exist
import javax.xml.bind.DatatypeConverter;
^
/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-data/../src/vpp-api/java/jvpp-core/io/fd/vpp/jvpp/core/examples/L2AclExample.java:123: error: cannot find symbol
System.out.println("Mask hex: " + DatatypeConverter.printHexBinary(reply.mask));
^
symbol: variable DatatypeConverter
location: class L2AclExample
/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-data/../src/vpp-api/java/jvpp-core/io/fd/vpp/jvpp/core/examples/L2AclExample.java:135: error: cannot find symbol
System.out.println("Match hex: " + DatatypeConverter.printHexBinary(detail.match));
^
symbol: variable DatatypeConverter
location: class L2AclExample
3 errors
1 warning
Makefile:1265: recipe for target 'jvpp-core/io_fd_vpp_jvpp_core_JVppCoreImpl.h' failed
make[6]: *** [jvpp-core/io_fd_vpp_jvpp_core_JVppCoreImpl.h] Error 1
make[6]: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp/vpp-api/java'
Makefile:7933: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp'
Makefile:4037: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp'
Makefile:686: recipe for target 'vpp-build' failed
make[3]: *** [vpp-build] Error 2
make[3]: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-root'
/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-data/platforms.mk:20: recipe for target 'install-deb' failed
make[2]: *** [install-deb] Error 1
make[2]: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-root'
Makefile:105: recipe for target 'vpp' failed
make[1]: *** [vpp] Error 2
make[1]: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps'
Makefile:24: recipe for target 'apps' failed
make: *** [apps] Error 2
make: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809'

Outcomes