This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

求教:关于编译C6678 IBL的错误



大家好:

        我在使用MinGW编译C6678的IBL,现在在编译过程中遇到些问题,想要请教下大家:

        我在/ibl/ src/main/iblinit.c中添加使用了两个IBL API函数uart_init()和uart_write _string (),在这个.c文件中也include了“uart.c”,最终编译会出现如下错误:

       

       但这两个函数在ibl/src/main/iblmain.c 中就能正常使用,我想请问下这个问题是如何产生的?该怎么修改?

       谢谢大家

  • 是没有找到对应的函数实现定义,这两个函数是在哪里实现的,编译的时候应该把对应的实现源文件加入编译,或者把对应的lib加入,/iblmain.c中是怎么把对应源文件加入编译,或者是在cmd中有link对应的lib。