Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #690

Closed
Open
Opened May 15, 2023 by su yanpeng@cahnganlian-su

环境搭建:执行build_release.sh脚本时报错(centos7)

执行build_release.sh脚本,编译chainmaker-go模块,并打包生成安装,存于路径chainmaker-go/build/release中时报错 下面是执行及输出过程: [root@localhost scripts]# ./build_release.sh

build chainmaker /home/root-co/chainmaker-go...

build for linux or mac

chainmaker.org/chainmaker/vm-wasmer/v2/wasmer-go /tmp/go-build1610553613/b1027/_x002.o:在函数‘assertions’中: /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30: assertions 的多重定义 /tmp/go-build1610553613/b1027/_x001.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30:第一次在此定义

.......(省略号代替部分)

/tmp/go-build1610553613/b1027/_x001.o:在函数‘assertions’中:

/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:32:对‘static_assert’未定义的引用 /tmp/go-build1610553613/b1027/_x002.o:在函数‘assertions’中: /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:30:对‘static_assert’未定义的引用 /root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:31:对‘static_assert’未定义的引用 /tmp/go-build1610553613/b1027/_x002.o:/root/go/pkg/mod/chainmaker.org/chainmaker/vm-wasmer/v2@v2.3.2/wasmer-go/packaged/include/wasm.h:32: 跟着更多未定义的参考到 static_assert collect2: 错误:ld 返回 1 make: *** [chainmaker] 错误 2

Edited May 15, 2023 by su yanpeng
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#690

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。