make[5]: *** [install-bfdincludeHEADERS] Error 1
make[5]: Leaving directory `/usr/local/gdb-7.10/bfd'
make[4]: *** [install-am] Error 2
make[4]: Leaving directory `/usr/local/gdb-7.10/bfd'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/usr/local/gdb-7.10/bfd'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/usr/local/gdb-7.10/bfd'
make[1]: *** [install-bfd] Error 2
make[1]: Leaving directory `/usr/local/gdb-7.10'
解决方法:
./configure --prefix=/usr/local/gdb #不要和gdb-version源码相同目录即可。
make
make install
和gcc不同,gcc可以在相同目录。