LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-21-2009, 10:44 AM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 704

Rep: Reputation: 30
ldscript causes "is not within region memory"


Hi,
i have built an arm toolchain and am now trying to link a program, given an existing ldscript. The program will be executed on a simulator.
However, i get the following messages:
Code:
arm-xxx/bin/ld: address 0x40422030 of APP.x section .data is not within region memory
arm-xxx/bin/ld: address 0x40422564 of APP.x section .bss is not within region memory
arm-xxx/bin/ld: address 0x3002fc of APP.x section .os_config is not within region memory
arm-xxx/bin/ld: address 0x300334 of APP.x section .hal is not within region memory
arm-xxx/bin/ld: address 0x40a338 of APP.x section .uheap is not within region memory
...
(undefined reference errors follow)
arm-xxx/.../libc.a(lib_a-lock.o): In function `_xxx_lock_close':
lock.c:23: undefined reference to `core_component'
...
collect2: ld returned 1 exit status
Are these errors or warnings? How can "ld" know if something is withing memory or not; how is it calculated? Are the "undefined reference" errors result of section xyz not being within memory? What is the connection?

Any help or link to related material appreciated
 
  


Reply

Tags
ld, link, memory, section


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Measure "CPU load" and "memory consumption" of a process DaneelGiskard Programming 3 08-30-2007 11:43 AM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
"Cheating" Linux - Enabling region free DVD without flashing DVD drive. StevenO Linux - General 4 05-07-2006 02:41 PM
"Undeleting" data using grep, but get "grep: memory exhausted" error SammyK Linux - Software 2 03-13-2004 03:11 PM


All times are GMT -5. The time now is 04:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration