public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] Linking an application
       [not found] <207EE0F3DFEED4119B0100508B441B3606F6D3@agni.dsil.danlawinc.com>
@ 2001-03-05  2:41 ` Jesper Skov
  0 siblings, 0 replies; 5+ messages in thread
From: Jesper Skov @ 2001-03-05  2:41 UTC (permalink / raw)
  To: Usha Sree I; +Cc: ecos-discuss

[please remember to CC the mailing list]

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

Usha> yes

And? Could you see what the problem was? (presumably not). Please post
the line here.

Jesper


Usha> -----Original Message----- From: Jesper Skov
Usha> [ mailto:jskov@cambridge.redhat.com ] Sent: Monday, March 05, 2001
Usha> 10:33 AM To: Usha Sree I Cc:
Usha> 'ecos-discuss@sourceware.cygnus.com' Subject: Re: [ECOS] Linking
Usha> an application


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

>>> Sir, I am trying 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.ls -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.

Usha> Did you look at line 161 of the linker script?

Usha> Jesper

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Linking an application
  2001-03-05  2:28 Usha Sree I
  2001-03-05  2:33 ` Jesper Skov
@ 2001-03-13  9:48 ` Jonathan Larmour
  1 sibling, 0 replies; 5+ messages in thread
From: Jonathan Larmour @ 2001-03-13  9:48 UTC (permalink / raw)
  To: Usha Sree I; +Cc: 'ecos-discuss@sourceware.cygnus.com'

Usha Sree I wrote:
> 
> > Sir,
> > I am trying 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.ls -nostdlib
> >
> >  /tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld:target.ld:161:parse
> > error
> > collect2: ld returned 1 exit status

Is /tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld built from a recent
binutils such as version 2.10? Use
"/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld --version" to find out
for sure.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [ECOS] Linking an application
       [not found] <207EE0F3DFEED4119B0100508B441B3606F6D6@agni.dsil.danlawinc.com>
@ 2001-03-05 23:22 ` Jesper Skov
  0 siblings, 0 replies; 5+ messages in thread
From: Jesper Skov @ 2001-03-05 23:22 UTC (permalink / raw)
  To: Usha Sree I; +Cc: ecos-discuss

>>>>> "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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Linking an application
  2001-03-05  2:28 Usha Sree I
@ 2001-03-05  2:33 ` Jesper Skov
  2001-03-13  9:48 ` Jonathan Larmour
  1 sibling, 0 replies; 5+ messages in thread
From: Jesper Skov @ 2001-03-05  2:33 UTC (permalink / raw)
  To: Usha Sree I; +Cc: 'ecos-discuss@sourceware.cygnus.com'

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

>> Sir, I am trying 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.ls -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.

Did you look at line 161 of the linker script?

Jesper

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ECOS] Linking an application
@ 2001-03-05  2:28 Usha Sree I
  2001-03-05  2:33 ` Jesper Skov
  2001-03-13  9:48 ` Jonathan Larmour
  0 siblings, 2 replies; 5+ messages in thread
From: Usha Sree I @ 2001-03-05  2:28 UTC (permalink / raw)
  To: 'ecos-discuss@sourceware.cygnus.com'

> Sir,
> I am trying 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.ls -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.
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-03-13  9:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <207EE0F3DFEED4119B0100508B441B3606F6D3@agni.dsil.danlawinc.com>
2001-03-05  2:41 ` [ECOS] Linking an application Jesper Skov
     [not found] <207EE0F3DFEED4119B0100508B441B3606F6D6@agni.dsil.danlawinc.com>
2001-03-05 23:22 ` Jesper Skov
2001-03-05  2:28 Usha Sree I
2001-03-05  2:33 ` Jesper Skov
2001-03-13  9:48 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).