This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xscale-elf-gcc [error]


Hello,

I am trying to build an ecos-ram application with a
target.ld but ld breaks with an error stating it
cannot open a file (no name is provided). Any
pointers?
Verbose build log attached below..

Thanks
Nirmal
-----------------------------------------------------
$ make all
xscale-elf-gcc -c -g -Wall
-I/cygdrive/d/cygwin/ecos_23/build/RAM_Versions/TRITO
N_STK1_RAM/TRITON_STK1_RAM_install/include
-ffunction-sections -fdata-sections
-o boot.o boot.c
boot.c: In function `main':
boot.c:5: warning: implicit declaration of function
`printf'
xscale-elf-gcc  -nostartfiles
-L/cygdrive/d/cygwin/ecos_23/build/RAM_Versions/TR
ITON_STK1_RAM/TRITON_STK1_RAM_install/lib -Wl,
--gc-sections -Wl,--verbose -Ttar
get.ld -nostdlib -o boot.elf boot.o
GNU ld version 2.11-xscale-021022 20020119
  Supported emulations:
   armelf
cannot find script file target.ld
opened script file
/cygdrive/d/cygwin/ecos_23/build/RAM_Versions/TRITON_STK1_RAM
/TRITON_STK1_RAM_install/lib/target.ld
using external linker script:
==================================================
STARTUP(vectors.o)
ENTRY(reset_vector)
INPUT(extras.o)

GROUP(libtarget.a libgcc.a libsupc++.a)
MEMORY
{
    vrom : ORIGIN = 0x00000000, LENGTH = 0x1000
    ram : ORIGIN = 0xA0000000, LENGTH = 0x4000000
}

SECTIONS
{
    .debug_aranges 0 : { *(.debug_aranges) }
.debug_pubnames 0 : { *(.debug_pubn
ames) } .debug_info 0 : { *(.debug_info) }
.debug_abbrev 0 : { *(.debug_abbrev)
} .debug_line 0 : { *(.debug_line) } .debug_frame 0 :
{ *(.debug_frame) } .debug
_str 0 : { *(.debug_str) } .debug_loc 0 : {
*(.debug_loc) } .debug_macinfo 0 : {
 *(.debug_macinfo) } .note.arm.ident 0 : { KEEP
(*(.note.arm.ident)) }
    .fixed_vectors 0x20 : { . = .; KEEP
(*(.fixed_vectors)) } > vrom
    .rom_vectors 0xa0020000 : { __rom_vectors_vma =
ABSOLUTE(.); . = .; KEEP (*(
.vectors)) } > ram __rom_vectors_lma =
LOADADDR(.rom_vectors);
    .text ALIGN (0x4) : { _stext = ABSOLUTE(.);
PROVIDE (__stext = ABSOLUTE(.));
 *(.text*) *(.gnu.warning) *(.gnu.linkonce.t.*)
*(.init) *(.glue_7) *(.glue_7t)
} > ram _etext = .; PROVIDE (__etext = .);
    .fini ALIGN (0x4) : { . = .; *(.fini) } > ram
    .rodata ALIGN (0x4) : { . = .; *(.rodata*)
*(.gnu.linkonce.r.*) } > ram
    .rodata1 ALIGN (0x4) : { . = .; *(.rodata1) } >
ram
    .fixup ALIGN (0x4) : { . = .; *(.fixup) } > ram
    .gcc_except_table ALIGN (0x4) : { . = .;
*(.gcc_except_table) } > ram
    .data ALIGN (0x4) : { __ram_data_start = ABSOLUTE
(.); *(.data*) *(.data1) *
(.gnu.linkonce.d.*) . = ALIGN (4); KEEP(*( SORT
(.ecos.table.*))) ; . = ALIGN (4
); __CTOR_LIST__ = ABSOLUTE (.); KEEP (*(SORT
(.ctors*))) __CTOR_END__ = ABSOLUT
E (.); __DTOR_LIST__ = ABSOLUTE (.); KEEP (*(SORT
(.dtors*))) __DTOR_END__ = ABS
OLUTE (.); *(.dynamic) *(.sdata*) *(.gnu.linkonce.s.*)
. = ALIGN (4); *(.2ram.*)
 } > ram __rom_data_start = LOADADDR (.data);
__ram_data_end = .; PROVIDE (__ram
_data_end = .); _edata = .; PROVIDE (edata = .);
PROVIDE (__rom_data_end = LOADA
DDR (.data) + SIZEOF(.data));
    .bss ALIGN (0x4) : { __bss_start = ABSOLUTE (.);
*(.scommon) *(.dynsbss) *(.
sbss*) *(.gnu.linkonce.sb.*) *(.dynbss) *(.bss*)
*(.gnu.linkonce.b.*) *(COMMON)
__bss_end = ABSOLUTE (.); } > ram
    __heap1 = ALIGN (0x8);
    . = ALIGN(4); _end = .; PROVIDE (end = .);
}

==================================================
attempt to open vectors.o failed
attempt to open
/cygdrive/d/cygwin/ecos_23/build/RAM_Versions/TRITON_STK1_RAM/TR
ITON_STK1_RAM_install/lib/vectors.o succeeded
vectors.o
(/cygdrive/d/cygwin/ecos_23/build/RAM_Versions/TRITON_STK1_RAM/TRITON_
STK1_RAM_install/lib/vectors.o)
attempt to open  failed
/xscale-021022/H-i686-pc-cygwin/bin/../lib/gcc-lib/xscale-elf/3.1-xscale-021022/
../../../../xscale-elf/bin/ld: cannot open : No such
file or directory
collect2: ld returned 1 exit status
make.exe: *** [boot.elf] Error 1



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]