Skip to content

使用Centos8.2make时显示bin/libgmssl.so.3.0:对‘_rdseed64_step’未定义的引用 #1469

@zhnagshuo124

Description

@zhnagshuo124

Scanning dependencies of target demo_sm9_sign
[ 30%] Building C object CMakeFiles/demo_sm9_sign.dir/demos/src/demo_sm9_sign.c.o
[ 30%] Built target gmssl
[ 30%] Building C object CMakeFiles/demo_sm9_sign.dir/demos/src/demo_sm9_sign.c.o
[ 30%] Linking C executable bin/demo_sm9_sign
bin/libgmssl.so.3.0:对‘_rdseed64_step’未定义的引用
collect2: 错误:ld 返回 1
make[2]: *** [CMakeFiles/demo_sm9_sign.dir/build.make:85:bin/demo_sm9_sign] 错误 1
make[1]: *** [CMakeFiles/Makefile2:68:CMakeFiles/demo_sm9_sign.dir/all] 错误 2
make: *** [Makefile:163:all] 错误 2
[root@localhost build]# [ 30%] Linking C executable bin/demo_sm9_sign
bin/libgmssl.so.3.0:对‘_rdseed64_step’未定义的引用
collect2: 错误:ld 返回 1
make[2]: *** [CMakeFiles/demo_sm9_sign.dir/build.make:85:bin/demo_sm9_sign] 错误 1
make[1]: *** [CMakeFiles/Makefile2:68:CMakeFiles/demo_sm9_sign.dir/all] 错误 2
make: *** [Makefile:163:all] 错误 2

GMSSL版本3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions