Sysprogs forums › Forums › VisualGDB › strange undefined symbols › Reply To: strange undefined symbols
January 12, 2022 at 12:56
#31989
Participant
Hello,
I ask keil and they of course want more information. In an attempt to do that, I tried to go back and just do the tutorial exactly as it is presented in the hopes that I’d see the same undefined symbols at the link step. Unfortunately, the tutorial won’t compile after step 13. I undid everything back to step 10, and it built again.
I did step 11 only. It still builds, but with these warnings…
"C:/Users/dabramson/AppData/Local/VisualGDB/EmbeddedEFPs/Profiler/FastSemihosting.cpp", line 76: Warning: #550-D: variable "pSemihostingStruct" was set but never used void *pSemihostingStruct = &s_FastSemihostingState; ^ C:/Users/dabramson/AppData/Local/VisualGDB/EmbeddedEFPs/Profiler/FastSemihosting.cpp: 1 warning, 0 errors "C:/Users/dabramson/AppData/Local/VisualGDB/EmbeddedEFPs/Profiler/TestResourceManager.h", line 322: Warning: #1-D: last line of file ends without a newline #endif ^ "C:/Users/dabramson/AppData/Local/VisualGDB/EmbeddedEFPs/Profiler/TestResourceManager.cpp", line 305: Warning: #1-D: last line of file ends without a newline #endif
Then I did step 12. And it doesn’t compile…with these errors:
"main.h", line 41: Error: #5: cannot open source input file "stm32f4xx_hal.h": No such file or directory #include "stm32f4xx_hal.h" ^
Then I do step 13 and get these errors:
"C:/Users/dabramson/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/2.15.0/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h", line 167: Error: #5: cannot open source input file "core_cm4.h": No such file or directory #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */ ^ RTE/Device/system_stm32f4xx.c: 0 warnings, 1 error Failed to compile system_stm32f4xx.c. armcc.exe exited with code 1
I’ve attached a zip of my project after step 13.
-
This reply was modified 3 years, 4 months ago by
dabramson.