This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
mips-rtems4.11 sim undefined error
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 4 Sep 2012 11:57:55 -0500
- Subject: mips-rtems4.11 sim undefined error
Hi
Configuring for mips-rtems4.11 (not tx39) with the simulator
enabled on the svn head gave me this error linking "run":
libsim.a(interp.o): In function `sim_open':
/home/joel/v850/tools/b-gdb-cvs-src/sim/mips/../../../gdb-cvs/src/sim/mips/interp.c:551:
undefined reference to `sockser_addr'
Is this OK to apply?
2012-09-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Link against dv-sockser.o
* configure: Regenerate.
Index: configure.ac
===================================================================
RCS file: /cvs/src/src/sim/mips/configure.ac,v
retrieving revision 1.18
diff -u -r1.18 configure.ac
--- configure.ac 4 Jan 2012 08:28:20 -0000 1.18
+++ configure.ac 4 Sep 2012 15:45:13 -0000
@@ -413,7 +413,7 @@
SIM_SUBTARGET="$SIM_SUBTARGET -DTARGET_TX3904=1"
;;
*)
- mips_extra_objs=""
+ mips_extra_objs="dv-sockser.o"
;;
esac
SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices)
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985