(old question, but I stumbled upon it using a search on the same issue)
The problem is the lack of "expat" lib. This is hard to guess because:
- this library is optional for compiling gdb
- The name "expat" does not have a clear XML connection ...
So install "expat-dev" (with your package manager or something else) and then restart. / configure. Be careful to install the version of "dev" as we are recompiling and you need include files.
To be sure, you can add "-with-expat" to the call. / configure so that it stops with an error if expat is not found.
Offirmo
source share