cancel
Showing results for 
Search instead for 
Did you mean: 

IDE 1.10 linker error undefined reference to

MM..1
Chief III

Now testing update to latest IDE and first project i test canot link.

All files is compiled ok.

linked func and vars is reported as undefined reference to __??

c:\st\stm32cubeide_1.1.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/TouchGFXProjects/Nx0/Debug/../Core/Src/main.c:514: undefined reference to `Preamp_Update'
c:\st\stm32cubeide_1.1.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/TouchGFXProjects/Nx0/Debug/../Core/Src/main.c:565: undefined reference to `Preamp_Settings'
c:\st\stm32cubeide_1.1.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/TouchGFXProjects/Nx0/Debug/../Core/Src/main.c:565: undefined reference to `Preamp_Status'
c:\st\stm32cubeide_1.1.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/TouchGFXProjects/Nx0/Debug/../Core/Src/main.c:565: undefined reference to `MUSEVOL'
c:\st\stm32cubeide_1.1.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/TouchGFXProjects/Nx0/Debug/../Core/Src/main.c:565: undefined reference to `Preamp_Update_Flags'
c:\st\stm32cubeide_1.1.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: ./Core/Src/main.o: in function `EE_Read':
C:/TouchGFXProjects/Nx0/Debug/../Core/Src/main.c:295: undefined reference to `EE_Init'
c:\st\stm32cubeide_1.1.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/TouchGFXProjects/Nx0/Debug/../Core/Src/main.c:299: undefined reference to `EE_ReadVariable'
c:\st\stm32cubeide_1.1.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/TouchGFXProjects/Nx0/Debug/../Core/Src/main.c:306: undefined reference to `EE_ReadVariable'

 89 errors ...

1 ACCEPTED SOLUTION

Accepted Solutions
MM..1
Chief III

I check project more and some upgrade step delete all custom project c files /Core/Src/...

and leave only new generated. Be safe

View solution in original post

1 REPLY 1
MM..1
Chief III

I check project more and some upgrade step delete all custom project c files /Core/Src/...

and leave only new generated. Be safe