Page 1 of 1

[已解决] ubuntu编译报错sbrk.c的内容

Posted: Mon Aug 08, 2022 9:22 am
by Kx_Kevin
Hi

我在修改uart.c的内容,适配给bootloader使用,在ubuntu编译出现下图的错误,这个C文件在我编译的源码中没有出现过,请问这是什么意思?
微信图片_20220808172104.png
微信图片_20220808172104.png (130.21 KiB) Viewed 1491 times
感谢回复

Re: ubuntu编译报错sbrk.c的内容

Posted: Mon Aug 08, 2022 9:39 am
by Kx_Kevin
Hi

不好意思,我已经找到原因了,还有一处malloc的调用没有注释掉,去掉就可以编译通过了。

Re: [已解决] ubuntu编译报错sbrk.c的内容

Posted: Tue Aug 09, 2022 1:24 am
by ESP_Gargamel
如问题已解决,请修改标题,前面加 “[已解决] ”,谢谢。