This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
SYMBOL_SOURCE_NAME breakage
- From: Phil Edwards <phil at jaj dot com>
- To: gdb-patches at sources dot redhat dot com, carlton at math dot stanford dot edu
- Date: Thu, 20 Feb 2003 12:42:04 -0500
- Subject: SYMBOL_SOURCE_NAME breakage
The recent rename of SYMBOL_SOURCE_NAME missed a couple spots in
gdb/gdbtk/generic/gdbtk-cmds.c, leading to link failure using current
(as of 10 minutes ago) CVS HEAD. Doing the 2 renames in that file allows
the build to pass.
(I'm not fixing it myself because I don't have write privs to src repo.)
make[1]: Entering directory `/home/pme/build/build-2003-02-20/gdb'
rm -f gdb
gcc -g -O2 \
-o gdb gdb.o main.o cli-dump.o cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o cli-interp.o mi-out.o mi-console.o mi-cmds.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-disas.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o gdbtk.o gdbtk-bp.o gdbtk-cmds.o gdbtk-hooks.o gdbtk-interp.o gdbtk-register.o gdbtk-stack.o gdbtk-varobj.o gdbtk-wrapper.o libgdb.a \
../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a ../libiberty/libiberty.a ../libgui/src/libgui.a -L/home/pme/build/build-2003-02-20/itcl/itcl -litcl3.2 -L/home/pme/build/build-2003-02-20/itcl/itk -litk3.2 -L/home/pme/build/build-2003-02-20/tk/unix -ltk8.4 -Wl,-rpath,/home/pme/build/install-2003-02-20/lib -L/home/pme/build/build-2003-02-20/tcl/unix -ltcl8.4 -L/usr/X11R6/lib -lX11 -ldl -lieee -lm -ltermcap -lm ../libiberty/libiberty.a -ldl -rdynamic
gdbtk-cmds.o(.text+0x12e6): In function `gdb_search':
/home/pme/src/unified/gdb/gdbtk/generic/gdbtk-cmds.c:1375: undefined reference to `SYMBOL_SOURCE_NAME'
collect2: ld returned 1 exit status
make[1]: *** [gdb] Error 1
make[1]: Leaving directory `/home/pme/build/build-2003-02-20/gdb'
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002