[crosstool-ng] Build failure on ltrace, gelf.h not found

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Thu Oct 23 20:34:00 GMT 2008


Hello Thomas!
Hello All!

On Thursday 23 October 2008 19:06:21 Yann E. MORIN wrote:
> I'm afraid that the culprit is not necessarily ltrace. If I remember
> correctly, libelf doesn't play nicely with cross-building... :-(

Yes, that's it! From the config.log of ltrace (lines wrapped to fit into
80 columns):
In file included from /home/ymorin/x-tools/arm-unknown-linux-uclibcgnueabi/...
.../arm-unknown-linux-uclibcgnueabi/sys-root/usr/include/gelf.h:1,
                 from conftest.c:24:
/home/ymorin/x-tools/arm-unknown-linux-uclibcgnueabi/...
.../arm-unknown-linux-uclibcgnueabi/sys-root/usr/include/libelf/gelf.h:51:2:
error: #error "GElf is not supported on this system."

Sounds pretty clear to me... :-(

Comes from the fact that libelf's configure was unable to find 64-bit
integers... :-( I'm banging it hard on the head with a hammer right now...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  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