m0_56149972 2021-10-27 23:05 采纳率: 90%
浏览 12
已结题

敲命令出错不知怎么改

gcc Main.c -o newhello2 -I. -L. -lhello
/usr/bin/ld: /tmp/ccbK65uk.o: in function main': Main.c:(.text+0xe): undefined reference to Hello'
collect2: error: ld returned 1 exit status

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 11月4日
    • 创建了问题 10月27日