Re: cannot find -lc

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

 



Hi Mahmoodn,
> I got an error regarding the "ld". The error is:
> ...
> /opt/cell/toolchain/bin/ppu-ld: cannot find -lc
> collect2: ld returned 1 exit status
> make: *** [test1] Error 1
The linker states it is not able to find the library libc.

Regarding the path where the linker "ppu-ld" is installed, I assume you
are cross-compiling for a Cell-Processor? If that is the case, you need
also the libc-Library compiled for that processor, and:
> I have found that it may be related to glibc, so I query the packages with
> rpm and the results is:
> [mahmood@Saturn minipthreads]$rpm -qa '*glibc*'
> glibc-headers-2.8-3.i386
> glibc-common-2.8-3.i386
> glibc-2.8-3.i686
> glibc-devel-2.8-3.i386
These are the versions of glibc for your actual system, on which you are
compiling - these libraries won't work on a Cell-Processor (I think...).

Maybe you should ask on a mailing-list of the project which created this
toolchain for crosscompiling for Cell-Processors? (www.free60.org ???)

Axel

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux