This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Linking an application
- To: Usha Sree I <ushasree at danlawinc dot com>
- Subject: RE: [ECOS] Linking an application
- From: Jesper Skov <jskov at cambridge dot redhat dot com>
- Date: Mon, 5 Mar 2001 11:41:39 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- References: <207EE0F3DFEED4119B0100508B441B3606F6D3@agni.dsil.danlawinc.com>
[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