arm用のgdbを作ろうとしてエラー
1.gdb6.8をダウンロード
2../configure --target=arm-linux --build=i686-pc-linux-gnu --host=arm-linux
3.make
4.以下のmake時のエラーになります。以下のようにtermcapをインストールしてみても同じエラーになります。
#wget http://ftp.yz.yamagata-u.ac.jp/pub/GNU/termcap/termcap-1.3.1.tar.gz #tar -zxvf termcap-1.3.1.tar.gz #cd termcap-1.3.1.tar.gz #./configure #make #make install
[root@RedHat gdb-6.8]# make make[1]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8' make[2]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/libiberty' make[3]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/libiberty/testsuite' make[3]: `all' に対して行うべき事はありません。 make[3]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/libiberty/testsuite' make[2]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/libiberty' make[2]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/intl' make[2]: `all' に対して行うべき事はありません。 make[2]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/intl' make[2]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/bfd' Making info in doc make[3]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/bfd/doc' make[3]: `info' に対して行うべき事はありません。 make[3]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/bfd/doc' Making info in po make[3]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/bfd/po' make[3]: `info' に対して行うべき事はありません。 make[3]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/bfd/po' make[3]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/bfd' make[3]: `info-am' に対して行うべき事はありません。 make[3]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/bfd' make all-recursive make[3]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/bfd' Making all in doc make[4]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/bfd/doc' make[4]: `all' に対して行うべき事はありません。 make[4]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/bfd/doc' Making all in po make[4]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/bfd/po' make[4]: `all' に対して行うべき事はありません。 make[4]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/bfd/po' make[4]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/bfd' make[4]: `all-am' に対して行うべき事はありません。 make[4]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/bfd' make[3]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/bfd' make[2]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/bfd' make[2]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/opcodes' make all-recursive make[3]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/opcodes' Making all in po make[4]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/opcodes/po' make[4]: `all' に対して行うべき事はありません。 make[4]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/opcodes/po' make[4]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/opcodes' make[4]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/opcodes' make[3]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/opcodes' make[2]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/opcodes' make[2]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/etc' for f in standards.info configure.info; do \ if test -f .././etc/`echo $f | sed -e 's/.info$/.texi/'`; then \ if make "MAKEINFO=/root/soft/gdb/gdb-6.8/missing makeinfo --split-size=5000000 --split-size=5000000" $f; then \ true; \ else \ exit 1; \ fi; \ fi; \ done make[3]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/etc' make[3]: `standards.info' は更新済です make[3]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/etc' make[3]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/etc' make[3]: `configure.info' は更新済です make[3]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/etc' make[2]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/etc' make[2]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/libdecnumber' make[2]: `all' に対して行うべき事はありません。 make[2]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/libdecnumber' make[2]: 入ります ディレクトリ `/root/soft/gdb/gdb-6.8/readline' make[2]: `all' に対して行うべき事はありません。 make[2]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8/readline' Configuring in ./gdb configure: loading cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for arm-linux-gcc... arm-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-linux-gcc accepts -g... yes checking for arm-linux-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... arm-linux-gcc -E checking for egrep... grep -E checking for AIX... no checking for library containing strerror... none required checking for arm-linux-gcc option to accept ANSI C... none needed checking build system type... i686-pc-linux-gnu checking host system type... arm-unknown-linux-gnu checking target system type... arm-unknown-linux-gnu checking whether NLS is requested... yes checking for catalogs to be installed... checking libunwind.h usability... no checking libunwind.h presence... no checking for libunwind.h... no checking libunwind-ia64.h usability... no checking libunwind-ia64.h presence... no checking for libunwind-ia64.h... no checking for monstartup... yes checking for _mcleanup... yes checking for _etext... yes checking for etext... yes checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for arm-linux-ranlib... arm-linux-ranlib checking for bison... bison -y checking for arm-linux-ar... arm-linux-ar checking for arm-linux-dlltool... arm-linux-dlltool checking for arm-linux-windres... arm-linux-windres checking for arm-linux-mig... no checking for mig... no checking for main in -lm... yes checking for wctype... yes checking for library containing gethostbyname... none required checking for library containing socketpair... none required checking for library containing waddstr... no checking for library containing dlgetmodinfo... no checking for library containing tgetent... no configure: error: no termcap library found make[1]: *** [configure-gdb] エラー 1 make[1]: 出ます ディレクトリ `/root/soft/gdb/gdb-6.8' make: *** [all] エラー 2