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 8
    • Issues 8
    • 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
  • #1614

Closed
Open
Opened Jul 08, 2026 by pang@15521392713

编译 cryptogen 失败

[14:16:27 root@node2 /data/pwj/chainmaker/chainmaker-cryptogen]# make go: downloading chainmaker.org/chainmaker/common/v2 v2.3.10 go: downloading github.com/spf13/cobra v1.1.1 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/spf13/viper v1.7.1 go: downloading github.com/mr-tron/base58 v1.2.0 go: downloading github.com/stretchr/testify v1.7.0 go: downloading github.com/inconshreveable/mousetrap v1.0.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/tjfoc/gmsm v1.4.1 go: downloading github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms v1.0.415 go: downloading github.com/btcsuite/btcd v0.21.0-beta go: downloading github.com/miekg/pkcs11 v1.0.3 go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 go: downloading github.com/kudelskisecurity/crystals-go v0.0.0-20210705112123-14b89bfbcdc8 go: downloading github.com/multiformats/go-multiaddr v0.3.1 go: downloading github.com/google/uuid v1.1.2 go: downloading github.com/fsnotify/fsnotify v1.4.9 go: downloading github.com/hashicorp/hcl v1.0.0 go: downloading github.com/magiconair/properties v1.8.1 go: downloading github.com/mitchellh/mapstructure v1.1.2 go: downloading github.com/pelletier/go-toml v1.2.0 go: downloading github.com/spf13/afero v1.5.1 go: downloading github.com/spf13/cast v1.3.0 go: downloading github.com/spf13/jwalterweatherman v1.0.0 go: downloading github.com/subosito/gotenv v1.2.0 go: downloading gopkg.in/ini.v1 v1.51.0 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b go: downloading github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.415 go: downloading github.com/hashicorp/golang-lru v0.5.4 go: downloading golang.org/x/sys v0.0.0-20220222200937-f2425489ef4c go: downloading github.com/multiformats/go-multihash v0.0.14 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading github.com/libp2p/go-libp2p-core v0.6.1 go: downloading github.com/libp2p/go-openssl v0.0.7 go: downloading github.com/minio/sha256-simd v0.1.1 go: downloading github.com/ipfs/go-cid v0.0.7 go: downloading github.com/multiformats/go-varint v0.0.6 go: downloading golang.org/x/text v0.3.6 go: downloading github.com/BurntSushi/toml v0.3.1 go: downloading github.com/smartystreets/goconvey v1.6.4 go: downloading gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b go: downloading github.com/json-iterator/go v1.1.11 go: downloading github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 go: downloading github.com/spaolacci/murmur3 v1.1.0 go: downloading github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 go: downloading github.com/multiformats/go-multibase v0.0.3 go: downloading github.com/jtolds/gls v4.20.0+incompatible go: downloading github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d go: downloading github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.1 go: downloading github.com/multiformats/go-base32 v0.0.3 go: downloading github.com/multiformats/go-base36 v0.1.0 go: downloading github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 go: downloading github.com/kr/text v0.1.0

vendor/github.com/golang-fips/openssl-fips/openssl

In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/comp.h:22, from /usr/include/openssl/ssl.h:29, from ./goopenssl.h:79, from /usr/lib/golang/src/vendor/github.com/golang-fips/openssl-fips/openssl/aes.go:10: /usr/include/stdio.h:314:6: error: unknown type name '_IO_cookie_io_functions_t'; did you mean '__fortify_function'? _IO_cookie_io_functions_t __io_funcs) __THROW __wur; ^~~~~~~~~~~~~~~~~~~~~~~~~ __fortify_function make: *** [chainmaker-cryptogen] 错误 1

编译 ctyptogen 工具报错,是不是 openssl 的版本不对 image

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

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