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]

[Fwd: Linking an application]


This was sent to me direct - please don't do that.

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


Sir, 
    As per your reply I used the latest sources. But the same problem. Could
we think any problem with the HAL package. Please reply soon.
Thank you,
Ushasree.

-----Original Message-----
From: Jonathan Larmour [mailto:jlarmour@redhat.com]
Sent: Tuesday, March 13, 2001 5:48 PM
To: Usha Sree I
Cc: 'ecos-discuss@sourceware.cygnus.com'
Subject: Re: [ECOS] Linking an application


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



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