Build Error "undefined reference to '__data_end__' , start, etext, StackTop please help!

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Build Error "undefined reference to '__data_end__' , start, etext, StackTop please help!

ソリューションへジャンプ
1,416件の閲覧回数
RKnappPMT
Contributor I

Friends,

My two main kinds of build errors are weird in MCUXpresso IDE v11.10.0 [Build 3148] [2024-07-03]:  

1) Several "multiple definition of clock" errors which I *think* arise from my attempt to get semi-hosting going with a Segger debugger.  

2) Several "undefined reference to '__data_end__' etc. which are very mysterious and scary.  

I've attached a picture of these errors and would really appreciate it if you have any clue as to what the heck is going on.  I'm REALLY confused.

Thanks, ~~ Robert

0 件の賞賛
返信
1 解決策
1,296件の閲覧回数
AdrianOltean
NXP Employee
NXP Employee

There's no need to import CMSIS-based components for board/device/core support. These are already brought by the IDE in NXP-based SDK examples. Once you select the project in Project Explorer, you'll notice the "Manage SDK Components" button active in the toolbar. Click it and you'll be able to see/remove/update SDK components. 

Regards,

Adrian

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,360件の閲覧回数
RKnappPMT
Contributor I

Adrian,  I'm sure you're right.  I can't see how get rid of an incongruous aspect of the system, and actually wouldn't know what part to remove, so I'm going to start over and try to keep everything minimalist and from the SDK -- to keep the project telling me I lack something and have it offer to supply the needed thing.  My directive is to get to CMSIS drivers, but maybe I can get a working system and swap out one driver at a time, reverting if CMSIS substitution crashes my system.  Hopefully that will work? Wish me luck.  

THANK YOU for your response and have a nice day, ~~ Robert 

0 件の賞賛
返信
1,297件の閲覧回数
AdrianOltean
NXP Employee
NXP Employee

There's no need to import CMSIS-based components for board/device/core support. These are already brought by the IDE in NXP-based SDK examples. Once you select the project in Project Explorer, you'll notice the "Manage SDK Components" button active in the toolbar. Click it and you'll be able to see/remove/update SDK components. 

Regards,

Adrian

0 件の賞賛
返信
1,370件の閲覧回数
AdrianOltean
NXP Employee
NXP Employee

I suspect that you have multiple startup/system configuration files in your project. Given that you don't offer the steps used to create the project, my suspicion is that you mixed device-level support component from NXP SDK (installed through Installed SDKs view) with CMSIS-Packs component specific for the same device. Note that you have two different sources of components, thus you must make sure you don't end-up with duplicated components in a project.

Regards,

Adrian

0 件の賞賛
返信