This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Unable to load ELF file
- From: Raghu <raghu_dk at yahoo dot com>
- To: ecos <ecos-devel at sources dot redhat dot com>
- Date: Tue, 18 Jan 2005 03:18:49 -0800 (PST)
- Subject: Unable to load ELF file
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=r+UenFnC+y/aWSxaOp/83lDFqaHysbvD6hVryIlyfeynsuisOhoUdzX6nnM1vs3uw7jyFHQbRxtp6r47MtVJawEmFLLw5zrLYO//AQcSG+4L85bX5jO2uvp1bM9mKEZjTNVzslm4GPtsa+U07pm7cBLdxnkpjq4Juf8XFPwWb3Y= ;
Hello All,
I am using a xscale-elf ( 2.0 ) toolchain and IXDP425
Eval board, and latest CVS eCOS snapshot release.
I have added packages CYGPKG_IO_FILEIO &
CYGPKG_FS_ROMFS and generated a eCOS library(
libtarget.a ).
When I link "hello" example with this lib and try to
download it to the target board I get this error...
"Only absolute ELF images supported".
Refering old "know problems" no 18007 where GDB cannot
cope with path > 128 char, I tried to change install
path and link without success.
Any clues please ?
Regards
Raghu
$ make
INSTALL_DIR=/cygdrive/c/projects/ixp425/ixdp425_redboot_ramrom/install
xscale-elf-gcc -c -o hello.o
-I/cygdrive/c/projects/ixp425/ixdp425_redboot_ramro
m/install/include -mcpu=xscale -Wall -Wpointer-arith
-Wstrict-prototypes -Winlin
e -Wundef -Woverloaded-virtual -g -O2
-ffunction-sections -fdata-sections -fno-r
tti -fno-exceptions -fvtable-gc -mapcs-frame hello.c
cc1: warning: "-Woverloaded-virtual" is valid for C++
but not for C/ObjC
cc1: warning: "-fno-rtti" is valid for C++ but not for
C/ObjC
cc1: warning: "-fvtable-gc" is valid for C++ but not
for C/ObjC
xscale-elf-gcc -nostartfiles
-L/cygdrive/c/projects/ixp425/ixdp425_redboot_ramro
m/install/lib -Ttarget.ld -mcpu=xscale
-Wl,--gc-sections -Wl,-static -g -O2 -nos
tdlib -o hello hello.o
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250