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

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