melis鏈接庫報錯:undefined reference to ‘_close‘, ‘_fstat‘, ‘_isatty‘, ‘_lseek‘, ‘_read‘等

在melis sdk中鏈接庫時,有時會報以下錯誤: 此時是由於,在庫文件的函數裏調用了一些系統函數,但是這些系統函數無法找到對應的C庫所致,例如 printf()、assert()、open()、close()、read()、write() 等。 將這些函數修改爲所用C庫中對應的函數即可。
相關文章
相關標籤/搜索