Re: 7.0 branch build error without "--disable-gdbtk"

Jie Zhang
2009-09-21T07:43:11Z

Hui Zhu wrote:
> gcc -g -O2 -I. -I../../src/gdb -I../../src/gdb/common
> -I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
> -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
> -I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd
> -I../../src/gdb/../include -I../libdecnumber
> -I../../src/gdb/../libdecnumber -I../../src/gdb/gnulib -Ignulib
> -DMI_OUT=1 -DTUI=1 -DGDBTK -Wall -Wdeclaration-after-statement
> -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused
> -Wno-switch -Wno-char-subscripts -Werror -c -o posix-hdep.o -MT
> posix-hdep.o -MMD -MP -MF .deps/posix-hdep.Tpo
> ../../src/gdb/posix-hdep.c
> make[2]: *** No rule to make target
> `../../src/gdb/gdbtk/generic/gdbtk.c', needed by `gdbtk.o'. Stop.
> make[2]: Leaving directory `/home/teawater/gdb/7/bgdb/gdb'
> make[1]: *** [all-gdb] Error 2
> make[1]: Leaving directory `/home/teawater/gdb/7/bgdb'
> make: *** [all] Error 2
>
> My configure is:
> ../src/configure --disable-sid --disable-rda --disable-binutils
> --disable-gas --disable-ld --disable-gprof --enable-targets=all
> --enable-64-bits-bfd
>
> My os is ubuntu x86 32.
>
> Did I miss something?
>
I does not see this error on my native build for Debian AMD64. My configure

../src/configure --enable-targets=all

Jie