<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>HI, ALL</div><div>  my file tree log is here <a href="https://gist.github.com/goog/36cab05f82aba548a432d616fc3c2cbe">https://gist.github.com/goog/36cab05f82aba548a432d616fc3c2cbe</a></div><div><br></div><div><br></div><div>build log<br></div><div>//</div><div>../../../../../../../rtems-4.11.3/c/src/../../testsuites/samples/hello/init.c:301:5: warning: nested extern declaration of 'rtems_stack_checker_report_usage' [-Wnested-externs]<br>../../../../../../../rtems-4.11.3/c/src/../../testsuites/samples/hello/init.c: At top level:<br>../../../../../../../rtems-4.11.3/c/src/../../testsuites/samples/hello/init.c:80:14: warning: 'i2c_read' declared 'static' but never defined [-Wunused-function]<br> static uint8 i2c_read(int fd, uint8 reg, uint8 *val);<br>              ^<br>../../../../../../../rtems-4.11.3/c/src/../../testsuites/samples/hello/init.c:81:14: warning: 'printarray' declared 'static' but never defined [-Wunused-function]<br> static uint8 printarray(uint8 Array[], uint8 Num);<br>              ^<br>mv -f .deps/init.Tpo .deps/init.Po<br>arm-rtems4.11-gcc -B../../../../../stm32f4/lib/ -specs bsp_specs -qrtems -march=armv7-m -mthumb -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs    -march=armv7-m -mthumb   -o hello.exe init.o <br>init.o: In function `Init':<br>/home/cheng/stm32f4/arm-rtems4.11/c/stm32f4/testsuites/samples/hello/../../../../../../../rtems-4.11.3/c/src/../../testsuites/samples/hello/init.c:271: undefined reference to `OLED_Init'<br>collect2: error: ld returned 1 exit status<br>make[6]: *** [hello.exe] Error 1<br>make[6]: Leaving directory `/home/cheng/stm32f4/arm-rtems4.11/c/stm32f4/testsuites/samples/hello'<br>make[5]: *** [all-local] Error 1<br>make[5]: Leaving directory `/home/cheng/stm32f4/arm-rtems4.11/c/stm32f4/testsuites/samples'<br>make[4]: *** [all] Error 2<br>make[4]: Leaving directory `/home/cheng/stm32f4/arm-rtems4.11/c/stm32f4/testsuites/samples'<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/home/cheng/stm32f4/arm-rtems4.11/c/stm32f4/testsuites'<br>make[2]: *** [all-recursive] Error 1<br></div><div><br></div><div>the 'OLED_Init' function in oled.c and also declare in oled.h as extern void OLED_Init(void);</div><div>dont know why it happened<br></div></div></div></div></div></div>