[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [openrisc]help about: Link Error



thank you all.
i made a mistake about the download.
when i download a new uclibc.tar.gz to overwrite the old one, 
everything is ok.i find that the old package have some problems cause 
by the download process.
And i  know that, the uclibc install the libc.a file for the linker, after 
install this package, the -lc error info is disappear.

----- Original Message ----- 
From: Jim<jimyh@s... > 
To: openrisc@o...  
Date: Thu, 17 Apr 2003 05:46:47 -0100 
Subject: Re: [openrisc]help about: Link Error 

> 
> 
> marko, 
> 
> i do what you adviced. 
> i reinstall the tools step by step. 
> binutils, gcc and gdb are installed with no error. 
> i think, it is enough to compile a short program. 
> but gcc give me the same err info: 
>          /ld: cannot find -lc 
> i can find a libgcc.a file at the uclinux folder. 
> so i do not know how to solve it. 
> 
> after that, i try to install the uclinux and uclibc, and also 
> encounter an 
> error. 
> i install them step by step. 
> when i "make " the uclibc , the error info show that: 
>         can not find the file or directory: include/bits/.... 
> i cannot find this "/bits/.." directory anywhere. 
> 
> i suppose, although i can't install the uclibc and uclinux, i can 
> run gcc 
> successful if the compiler installed successful. 
> but NOT. 
> 
> 
> yours, Jim 
> 
> 
> 
> ----- Original Message ----- 
> From: Marko Mlinar <markom@o... > 
> To: openrisc@o... 
> Date: Wed, 16 Apr 2003 08:00:44 +0200 
> Subject: Re: [openrisc]help about: Link Error 
> 
> > 
> > 
> > apparently your gcc does not find libc.lib file, which should 
> be in 
> > the 
> > reported dir. 
> > There is a problem with your installation, but cannot figure 
> out 
> > what exactly 
> > could be wrong. If you cannot figure it out, go through 
> > installation 
> > procedure again and be sure to do everything according to the 
> > instructions. 
> > You should have no problems then. 
> > 
> > best regards, 
> > Marko 
> > 
> > On Tuesday 15 April 2003 20:09, Jim Yang wrote: 
> > > hi,all: 
> > > i have some problems when i try to compile the "hello 
> world" 
> > program. 
> > > The err info : 
> > > 
> > > 
> > 
> /opt/or32-uclinux/lib/gcc-lib/or32-uclinux/3.1/../../../../or32- 
> uclinux/bin 
> > >/ld: cannot find -lc 
> > >         collect2: ld returned 1 exit status 
> > > 
> > > i think this err is cause by the linker. But i can not 
> sure 
> > it. 
> > > Maybe someone can help me about it. 
> > > 
> > > thank you! 
> > > 
> > > 
> > > 
> > > Jim <jimyh@s... > 
> > 
> 
--
To unsubscribe from openrisc mailing list please visit http://www.opencores.org/mailinglists.shtml