cancel
Showing results for 
Search instead for 
Did you mean: 

Error: "non constant or forward reference address expression for section"

shiva_chary
Associate II

Hi All ,

Am imported a example project in  stm32cube and i tried to build am getting error as 

Description Resource Path Location Type
non constant or forward reference address expression for section .ARM.extab LTDC_Paint line 90, external location: c:\st\stm32cubeide_1.6.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe:D:\stm32_projects\exp1\LTDC_Paint\STM32CubeIDE\STM32H750XBHX_FLASH.ld C/C++ Problem

 

can u please provide the solution.

thankyou,

regards 

shiva chary

 

3 REPLIES 3
Andrew Neil
Super User

@shiva_chary wrote:

imported a example project i


What project ? For what board ?

Please describe what you actually did.

Did you make any changes?

How to write your question to maximize your chances to find a solution

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
KDJEM.1
ST Employee

Hello @shiva_chary ;

 

Could you please referring to UM2609 section 2.1.3 Importing existing project and following the steps to open the example.

I hope this help you.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Andrew Neil
Super User

@shiva_chary wrote:

c:\st\stm32cubeide_1.6.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools...


Are you really using CubeIDE v1.6.0 ?

That's really old - current version is 1.19.0 !

https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-1-19-0-released/td-p/819568

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.