* 7.0 branch build error without "--disable-gdbtk"
@ 2009-09-21 7:13 Hui Zhu
2009-09-21 7:43 ` Jie Zhang
2009-09-21 8:55 ` Andreas Schwab
0 siblings, 2 replies; 9+ messages in thread
From: Hui Zhu @ 2009-09-21 7:13 UTC (permalink / raw)
To: gdb; +Cc: Joel Brobecker
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?
Thanks,
hui
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 7.0 branch build error without "--disable-gdbtk"
2009-09-21 7:13 7.0 branch build error without "--disable-gdbtk" Hui Zhu
@ 2009-09-21 7:43 ` Jie Zhang
2009-09-21 8:55 ` Andreas Schwab
1 sibling, 0 replies; 9+ messages in thread
From: Jie Zhang @ 2009-09-21 7:43 UTC (permalink / raw)
To: Hui Zhu; +Cc: gdb, Joel Brobecker
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 7.0 branch build error without "--disable-gdbtk"
2009-09-21 7:13 7.0 branch build error without "--disable-gdbtk" Hui Zhu
2009-09-21 7:43 ` Jie Zhang
@ 2009-09-21 8:55 ` Andreas Schwab
2009-09-21 14:02 ` Hui Zhu
1 sibling, 1 reply; 9+ messages in thread
From: Andreas Schwab @ 2009-09-21 8:55 UTC (permalink / raw)
To: Hui Zhu; +Cc: gdb, Joel Brobecker
Hui Zhu <teawater@gmail.com> writes:
> Did I miss something?
Make sure you don't have a stale gdb/gdbtk directory left.
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 7.0 branch build error without "--disable-gdbtk"
2009-09-21 8:55 ` Andreas Schwab
@ 2009-09-21 14:02 ` Hui Zhu
2009-09-21 14:40 ` Andreas Schwab
0 siblings, 1 reply; 9+ messages in thread
From: Hui Zhu @ 2009-09-21 14:02 UTC (permalink / raw)
To: Andreas Schwab; +Cc: gdb, Joel Brobecker
On Mon, Sep 21, 2009 at 16:55, Andreas Schwab <schwab@redhat.com> wrote:
> Hui Zhu <teawater@gmail.com> writes:
>
>> Did I miss something?
>
> Make sure you don't have a stale gdb/gdbtk directory left.
In source dir? What is the mean of "stale gdb/gdbtk"? I just
checkout the 7.0 from cvs and do "cvs update -d" in src. That is all.
Thanks,
Hui
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 7.0 branch build error without "--disable-gdbtk"
2009-09-21 14:02 ` Hui Zhu
@ 2009-09-21 14:40 ` Andreas Schwab
2009-09-21 15:08 ` Joel Brobecker
0 siblings, 1 reply; 9+ messages in thread
From: Andreas Schwab @ 2009-09-21 14:40 UTC (permalink / raw)
To: Hui Zhu; +Cc: gdb, Joel Brobecker
Hui Zhu <teawater@gmail.com> writes:
> In source dir? What is the mean of "stale gdb/gdbtk"?
It should not exist.
> I just checkout the 7.0 from cvs and do "cvs update -d" in src.
You need to use -dP.
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 7.0 branch build error without "--disable-gdbtk"
2009-09-21 14:40 ` Andreas Schwab
@ 2009-09-21 15:08 ` Joel Brobecker
2009-09-21 15:12 ` Andreas Schwab
0 siblings, 1 reply; 9+ messages in thread
From: Joel Brobecker @ 2009-09-21 15:08 UTC (permalink / raw)
To: Hui Zhu; +Cc: gdb
> > I just checkout the 7.0 from cvs and do "cvs update -d" in src.
You must *not* use -d during update in the gdb directory. The GDB
sources are a partial checkout of the src repository, and it contains
some sources that you should not not get during a checkout of gdb.
People have published tricks on how to do a proper update that handles
new directories - I lost the info, but maybe it's somewhere in the Wiki.
Otherwise, search the archives for "cvs co", there was a message from
Thiago about this.
--
Joel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 7.0 branch build error without "--disable-gdbtk"
2009-09-21 15:08 ` Joel Brobecker
@ 2009-09-21 15:12 ` Andreas Schwab
2009-09-22 3:57 ` Hui Zhu
0 siblings, 1 reply; 9+ messages in thread
From: Andreas Schwab @ 2009-09-21 15:12 UTC (permalink / raw)
To: Joel Brobecker; +Cc: Hui Zhu, gdb
Joel Brobecker <brobecker@adacore.com> writes:
> You must *not* use -d during update in the gdb directory. The GDB
> sources are a partial checkout of the src repository, and it contains
> some sources that you should not not get during a checkout of gdb.
This is not true for the branch. You just have to use -P as well.
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 7.0 branch build error without "--disable-gdbtk"
2009-09-21 15:12 ` Andreas Schwab
@ 2009-09-22 3:57 ` Hui Zhu
2009-09-22 4:10 ` Jie Zhang
0 siblings, 1 reply; 9+ messages in thread
From: Hui Zhu @ 2009-09-22 3:57 UTC (permalink / raw)
To: Andreas Schwab, Joel Brobecker; +Cc: gdb
I am OK now. Thanks, Andreas, Joel and Jie.
Insight cannot release together with 7.0?
Thanks,
Hui
On Mon, Sep 21, 2009 at 23:12, Andreas Schwab <schwab@redhat.com> wrote:
> Joel Brobecker <brobecker@adacore.com> writes:
>
>> You must *not* use -d during update in the gdb directory. The GDB
>> sources are a partial checkout of the src repository, and it contains
>> some sources that you should not not get during a checkout of gdb.
>
> This is not true for the branch. You just have to use -P as well.
>
> Andreas.
>
> --
> Andreas Schwab, schwab@redhat.com
> GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
> "And now for something completely different."
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 7.0 branch build error without "--disable-gdbtk"
2009-09-22 3:57 ` Hui Zhu
@ 2009-09-22 4:10 ` Jie Zhang
0 siblings, 0 replies; 9+ messages in thread
From: Jie Zhang @ 2009-09-22 4:10 UTC (permalink / raw)
To: Hui Zhu; +Cc: Andreas Schwab, Joel Brobecker, gdb
Hui Zhu wrote:
> Insight cannot release together with 7.0?
>
Insight is another project, which is not included in gdb releases.
Insight 7.0 will be released one or two weeks after gdb 7.0 is released,
according to Keith Seitz, the maintainer of Insight.
Jie
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-09-22 4:10 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-21 7:13 7.0 branch build error without "--disable-gdbtk" Hui Zhu
2009-09-21 7:43 ` Jie Zhang
2009-09-21 8:55 ` Andreas Schwab
2009-09-21 14:02 ` Hui Zhu
2009-09-21 14:40 ` Andreas Schwab
2009-09-21 15:08 ` Joel Brobecker
2009-09-21 15:12 ` Andreas Schwab
2009-09-22 3:57 ` Hui Zhu
2009-09-22 4:10 ` Jie Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox