ld: cannot find -lc
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Sat Nov 27 23:09:00 GMT 2010
Răzvan, All,
On Saturday 27 November 2010 23:59:17 Răzvan Surdulescu wrote:
> I am using crosstool-ng 1.9.0 to build an ARM toolchain: {gcc 4.2.4,
> libc 2.7, linux kernel 2.6.24}
> The build fails during:
> [INFO ] Installing shared core C compiler
> [EXTRA] Configuring shared core C compiler
> [EXTRA] Building shared core C compiler
> with the following error:
> [ALL ] /home/me/my-ct-ng/targets/arm-gph-linux-gnueabi/build/gcc-core-shared/arm-gph-linux-gnueabi/bin/ld:
> cannot find -lc
> [ALL ] collect2: ld returned 1 exit status
>
> I searched around, and it seems like this is not a very uncommon
> error, but the solutions to it vary. I am very new at this, so I'm not
> quite sure where to start debugging it.
> Any suggestions?
Please, put your complete build.log file somewhere I can grab it.
For example, on some pastebin, or some other URL. Do not post it to
the list, it is too large.
With it, I can get enough info to try to reproduce the build failure.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list