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]

forwarded message from Usha Sree I




Sir,
    The mail which i sent you before your reply was as below.
    I tried to compile and link an eCos application named
>> hello.c. I had installed for Linux Synthetic Target. It has been
>> compiled properly.  But my link command fails with the following
>> message.  l# gcc -g -I/home/username/linuxbuild/include hello.c
>> -L/home/username/linuxbuild/lib -Ttarget.ld -nostdlib
>> 
>> /tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld:target.ld:161:parse
>> error collect2: ld returned 1 exit status Please justify.
  
   I posted to you the line 161 as per your reply I downloaded the latest
sources and tried. But I got the same error. Could we think any problem with
the HAL package. Please reply soon.

Thank you,
Ushasree.
Jesper
-----Original Message-----
From: Jesper Skov [mailto:jskov@cambridge.redhat.com]
Sent: Tuesday, March 06, 2001 7:22 AM
To: Usha Sree I
Cc: ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] Linking an application


>>>>> "Usha" == Usha Sree <ushasree@danlawinc.com> writes:

[** Please CC the list **]

Usha> I am posting the line below which was found in the linker script
Usha> in line 161.  161

Usha> .vectors 0x0: {.=. ; KEEP(*(.vectors))} > ram

Looks fine. Don't know what the problem is - it's unlikely to have
anything to do with this line in any event. Probably something earlier
in the file.

Line 161 in the CVS sources is not the one above. Are you using 1.3.1
sources? If so, please try the latest CVS sources instead.

Jesper




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