8000 [Bug]: clang: error: linker command failed with exit code 1 (use -v to see invocation) · Issue #34 · alibaba/xquic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug]: clang: error: linker command failed with exit code 1 (use -v to see invocation) #34
Closed
@yangqingyuan

Description

@yangqingyuan

What happened?

编译过程中出现如下错误,使用babassl跟boringssl的方式都会有相同的错误

电脑配置如下:
mac 11.5.2 (20G95)
Mac mini (2018)
3 GHz 六核Intel Core i5

错误信息如下:
ld: unknown option: --whole-archive
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libxquic.dylib] Error 1
make[1]: *** [CMakeFiles/xquic.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 90%] Built target xquic-static

详细如下图
screenshot-20220112-102810
.

Steps To Reproduce

按照QuickStart Guide的脚本进行编译,

注意:脚本中“cd ./third_party/babassl/” 应该是“cd ../third_party/babassl/”,不是一个点而是两个点

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussiondirect question or general discussion to forum

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0