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 9
    • Issues 9
    • 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
  • #1439

Closed
Open
Opened Aug 08, 2025 by 15797736590@15797736590

信创环境部署问题

我这边使用麒麟+龙芯的去部署时,在通过命令行体验链这个页面里面的源码编译中的编译证书生成工具中,执行make时报错,一直提示是下面这些报错

golang.org/x/sys/unix

/root/go/pkg/mod/golang.org/x/sys@v0.0.0-20220222200937-f2425489ef4c/unix/affinity_linux.go:14:35: undefined: _NCPUBITS /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20220222200937-f2425489ef4c/unix/affinity_linux.go:17:25: undefined: cpuMask /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20220222200937-f2425489ef4c/unix/ifreq_linux.go:27:24: undefined: ifreq /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20220222200937-f2425489ef4c/unix/ifreq_linux.go:139:9: undefined: ifreq /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20220222200937-f2425489ef4c/unix/ifreq_linux.go:139:25: undefined: SizeofPtr /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20220222200937-f2425489ef4c/unix/sockcmsg_unix.go:34:9: undefined: Cmsghdr /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20220222200937-f2425489ef4c/unix/syscall_linux.go:950:17: undefined: RawSockaddrNFCLLCP /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20220222200937-f2425489ef4c/unix/ztypes_linux.go:23:11: undefined: Timespec /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20220222200937-f2425489ef4c/unix/ztypes_linux.go:24:11: undefined: Timespec /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20220222200937-f2425489ef4c/unix/ztypes_linux.go:28:11: undefined: Timeval /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20220222200937-f2425489ef4c/unix/ztypes_linux.go:28:11: too many errors make: *** [Makefile:31:chainmaker-cryptogen] 错误 1

我这边将GO已经是使用匹配龙芯的版本了,不仅如此,版本也是相对较为高级的。 麻烦告知一下解决方案,或者告诉一下需要什么信创环境(验证过的),才能够部署长安链。

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#1439

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