2.3.1.4. 编译及安装包制作 报错 v2.3.2版本
【问题分类】
-
编译报错:
参考教程:https://docs.chainmaker.org.cn/quickstart/%E9%80%9A%E8%BF%87%E5%91%BD%E4%BB%A4%E8%A1%8C%E4%BD%93%E9%AA%8C%E9%93%BE.html
这一步:2.3.1.4. 编译及安装包制作
./build_release.sh
/usr/lib/golang/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/tmp/go-link-2568747347/000003.o: In function
assertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000004.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000005.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000006.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000007.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000008.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000009.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000010.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000011.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000012.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000013.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000014.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000015.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000016.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000017.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000018.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000019.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000020.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000021.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000022.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000023.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000024.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000025.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000026.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000027.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000028.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000029.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000030.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000031.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000032.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: multiple definition of
assertions' /tmp/go-link-2568747347/000002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: first defined here /tmp/go-link-2568747347/000002.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: undefined reference to
static_assert' /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:31: undefined reference tostatic_assert' /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:32: undefined reference to
static_assert' /tmp/go-link-2568747347/000003.o: In functionassertions': /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: undefined reference to
static_assert' /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:31: undefined reference tostatic_assert' /tmp/go-link-2568747347/000003.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:32: more undefined references to
static_assert' follow
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information