* Problem to build CVS head
@ 2009-09-10 2:31 Robert Bu
2009-09-10 2:51 ` Tom Tromey
0 siblings, 1 reply; 3+ messages in thread
From: Robert Bu @ 2009-09-10 2:31 UTC (permalink / raw)
To: gdb
Hi,
Does anybody has problem to build the CVS head today (Sept.10, 2009)? I
have error message as:
make[3]: Leaving directory `/home/robert_bu/src/gdb_cvs/build-mips-elf/gdb'
make[2]: *** No rule to make target `python/python-value.c', needed by
`init.c'. Stop.
make[2]: Leaving directory `/home/robert_bu/src/gdb_cvs/build-mips-elf/gdb'
I configured GDB as:
../src/configure --prefix=/home/robert_bu/local/gdb-cvs-mips-elf
--target=mips-elf target_alias=mips-elf CFLAGS=-ggdb
Robert.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem to build CVS head
2009-09-10 2:31 Problem to build CVS head Robert Bu
@ 2009-09-10 2:51 ` Tom Tromey
2009-09-10 4:01 ` Joel Brobecker
0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2009-09-10 2:51 UTC (permalink / raw)
To: Robert Bu; +Cc: gdb
>>>>> "Robert" == Robert Bu <robert.bu@gmail.com> writes:
Robert> Does anybody has problem to build the CVS head today (Sept.10, 2009)? I
Robert> have error message as:
Robert> make[3]: Leaving directory `/home/robert_bu/src/gdb_cvs/build-mips-elf/gdb'
Robert> make[2]: *** No rule to make target `python/python-value.c', needed by
Robert> `init.c'. Stop.
There's a missing update to gdb/configure.ac. Someone will check in a
fix soon. If nobody beats me to it I will do it tomorrow.
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem to build CVS head
2009-09-10 2:51 ` Tom Tromey
@ 2009-09-10 4:01 ` Joel Brobecker
0 siblings, 0 replies; 3+ messages in thread
From: Joel Brobecker @ 2009-09-10 4:01 UTC (permalink / raw)
To: Tom Tromey; +Cc: Robert Bu, gdb
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
> There's a missing update to gdb/configure.ac. Someone will check in a
> fix soon. If nobody beats me to it I will do it tomorrow.
Argh! Problem reproduced when building with --without-python, and fixed
with the attached patch. Thanks for reporting the issue.
--
Joel
[-- Attachment #2: python-rename-configury.diff --]
[-- Type: text/x-diff, Size: 1628 bytes --]
commit 844dd7cf19e634ee7e39e70f82c00e17de949641
Author: Joel Brobecker <brobecker@adacore.com>
Date: Wed Sep 9 20:56:25 2009 -0700
* configure.ac: Fix the names of the python source and object files
following the renaming done in an earlier change.
* configure: Regenerate.
diff --git a/gdb/configure b/gdb/configure
index 2691e33..99acc2f 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -9323,8 +9323,8 @@ $as_echo "${PYTHON_CFLAGS}" >&6; }
else
# Even if Python support is not compiled in, we need to have these files
# included in order to recognize the GDB command "python".
- CONFIG_OBS="$CONFIG_OBS python.o python-value.o python-prettyprint.o"
- CONFIG_SRCS="$CONFIG_SRCS python/python.c python/python-value.c python/python-prettyprint.c"
+ CONFIG_OBS="$CONFIG_OBS python.o py-value.o py-prettyprint.o"
+ CONFIG_SRCS="$CONFIG_SRCS python/python.c python/py-value.c python/py-prettyprint.c"
fi
diff --git a/gdb/configure.ac b/gdb/configure.ac
index aa0bf75..b31d9b7 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -683,8 +683,8 @@ if test "${have_libpython}" = yes; then
else
# Even if Python support is not compiled in, we need to have these files
# included in order to recognize the GDB command "python".
- CONFIG_OBS="$CONFIG_OBS python.o python-value.o python-prettyprint.o"
- CONFIG_SRCS="$CONFIG_SRCS python/python.c python/python-value.c python/python-prettyprint.c"
+ CONFIG_OBS="$CONFIG_OBS python.o py-value.o py-prettyprint.o"
+ CONFIG_SRCS="$CONFIG_SRCS python/python.c python/py-value.c python/py-prettyprint.c"
fi
AC_SUBST(PYTHON_CFLAGS)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-10 4:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-10 2:31 Problem to build CVS head Robert Bu
2009-09-10 2:51 ` Tom Tromey
2009-09-10 4:01 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox