美文网首页
Suse系统gcc编译问题

Suse系统gcc编译问题

作者: 蒙浩 | 来源:发表于2020-11-17 15:28 被阅读0次

    suse 12.4系统,编译的时候报错:
    /usr/bin/ld: cannot find crt1.o: No such file or directory
    ERROR: CMake (Debug):
    ERROR: CMake (Debug): /usr/bin/ld: cannot find crti.o: No such file or directory
    ERROR: CMake (Debug):
    ERROR: CMake (Debug): /usr/bin/ld: cannot find -lc
    ERROR: CMake (Debug):
    ERROR: CMake (Debug): /usr/bin/ld: cannot find crtn.o: No such file or directory
    ERROR: CMake (Debug):
    ERROR: CMake (Debug): collect2: error: ld returned 1 exit status
    ERROR: CMake (Debug):
    ERROR: CMake (Debug): ninja: build stopped: subcommand failed.

    解决:
    zypper install glibc-devel

    相关文章

      网友评论

          本文标题:Suse系统gcc编译问题

          本文链接:https://www.haomeiwen.com/subject/udgxiktx.html