当前位置: 动力学知识库 > 问答 > 编程问答 >

(solved) C - Minix - undefined reference to putchar error while hdboot

问题描述:

Snapshot of the error

As you can see I get a linking error. I controlled printf statements, it seems nothing is wrong, headers are included. I am kind of lost in files. Maybe I can get an advice of whom had this problem before.

Thanks in advance.

网友答案:

OK, I got what is the problem. Static library couldn't linked. So I added to Makefile.inc :

LDADD+= -lc
分享给朋友:
您可能感兴趣的文章:
随机阅读: