Issue for compiling GDB (crosstool-ng 1.22) on Ubuntu 13.10 --- "expat is missing or unusable"

rtillet@free.fr rtillet@free.fr
Wed Apr 6 20:49:00 GMT 2016


Hello all,

I'm trying to compile croostool-ng 1.22 for a arm-unknown-linux-uclibcgnuea bi taget, and I get the following error message at "gdb-cross" step. I'm using Ubuntu 13.10 on a x86 station.

The issue is linked to "expat" which seems to be missing or unusable. This error seems to be famous, and reported at many location on your list or onthe web.

I've tried several stuff such as install package expat, libexpat1, libexpat1-dev without any succes.

Any advice, idea or suggestion would be great.


*****************************************************
[ALL  ]    checking for library containing dlopen... (cached) -ldl
[ALL  ]    checking whether to use expat... yes
[ALL  ]    checking for libexpat... no
[ERROR]    configure: error: expat is missing or unusable
[ERROR]    make[2]: *** [configure-gdb] Error 1
[ALL  ]    make[2]: Leaving directory `/home/rtillet/development/embedded-linux-labs/toolchain/crosstool-ng/.build/arm-unknown-linux-uclibcgnueabi/build/build-gdb-cross'
[ERROR]    make[1]: *** [all] Error 2
[ALL  ]    make[1]: Leaving directory `/home/rtillet/development/embedded-linux-labs/toolchain/crosstool-ng/.build/arm-unknown-linux-uclibcgnueabi/build/build-gdb-cross'
[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing cross-gdb'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@259]
[ERROR]  >>        called from: do_debug_gdb_build[scripts/build/debug/300-gdb.sh@120]
[ERROR]  >>        called from: do_debug[scripts/build/debug.sh@35]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@650]
*****************************************************

Thanks,
Raphael


--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list