lille li

compilation failure ls1046-linux-fs.tar.bz2

Discussion created by lille li on Feb 27, 2020
Latest reply on Mar 3, 2020 by Pavel Chubakov
 hi, community,
       I am compilation ls1046 evboard package, But the compilation failed!
development environment:
vmware workstation pro
ubuntu 18.04

operating steps:

1、tar -xjvf ls1046-linux-fs.tar.bz2

2、cd ls1046-linux-fs.tar.bz2

3、source setup.env

4、flex-builder -m ls1046ardb -a arm64

In file included from lib/dhparams.c:1:0:
./lib/dhparams.h:23:5: note: previous declaration of ‘get_dh1024’ was here
 DH *get_dh1024(void);
lib/dhparams.c:38:12: error: static declaration of ‘get_dh2048’ follows non-static declaration
 static DH *get_dh2048(void)
In file included from lib/dhparams.c:1:0:
./lib/dhparams.h:24:5: note: previous declaration of ‘get_dh2048’ was here
 DH *get_dh2048(void);
lib/dhparams.c:87:12: error: static declaration of ‘get_dh4096’ follows non-static declaration
 static DH *get_dh4096(void)
    In file included from lib/dhparams.c:1:0:
./lib/dhparams.h:25:5: note: previous decl

Makefile:4772: recipe for target 'lib/dhparams.lo' failed

make[4]: *** [lib/dhparams.lo] Error 1

make[4]: *** 正在等待未完成的任务....

mv utilities/ovs-lib.tmp utilities/ovs-lib

mv -f lib/.deps/lib_libsflow_la-sflow_sampler.Tpo lib/.deps/lib_libsflow_la-sflow_sampler.Plo

mv -f lib/.deps/lib_libsflow_la-sflow_poller.Tpo lib/.deps/lib_libsflow_la-sflow_poller.Plo

mv -f lib/.deps/lib_libsflow_la-sflow_agent.Tpo lib/.deps/lib_libsflow_la-sflow_agent.Plo

mv -f lib/.deps/lib_libsflow_la-sflow_receiver.Tpo lib/.deps/lib_libsflow_la-sflow_receiver.Plo

make[4]: 离开目录“/home/iotgw/ls1046/ls1046-linux-fs/flexbuild/packages/apps/ovs-dpdk”

Makefile:5526: recipe for target 'install-recursive' failed

make[3]: *** [install-recursive] Error 1

make[3]: 离开目录“/home/iotgw/ls1046/ls1046-linux-fs/flexbuild/packages/apps/ovs-dpdk”

Makefile:5831: recipe for target 'install' failed

make[2]: *** [install] Error 2

make[2]: 离开目录“/home/iotgw/ls1046/ls1046-linux-fs/flexbuild/packages/apps/ovs-dpdk”

Makefile:120: recipe for target 'ovs-dpdk' failed

make[1]: *** [ovs-dpdk] Error 2

make[1]: 离开目录“/home/iotgw/ls1046/ls1046-linux-fs/flexbuild/packages/apps”

Makefile:30: recipe for target 'ovs-dpdk' failed

make: *** [ovs-dpdk] Error 2

make: 离开目录“/home/iotgw/ls1046/ls1046-linux-fs/flexbuild”

Please tell me how to do it?  Thansk for your support.

Outcomes