Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Undefined symbol while executing Python
@ 2011-07-01 19:38 Paul Koning
  2011-07-01 20:56 ` Paul Koning
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Koning @ 2011-07-01 19:38 UTC (permalink / raw)
  To: gdb

My Red Hat system has installed on it Pythong 2.4.3 and gdb 7.0.1.  Both of these process the Python command "import itertools" without complaint.

On that system I built gdb 7.2 (with some local mods, but not in the Python pieces).  That one blows up when I try that command:

GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips64el-pss-netbsdelf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) python import itertools
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: /usr/lib/python2.4/lib-dynload/itertoolsmodule.so: undefined symbol: PyObject_SelfIter
Error while executing Python code.
(gdb) quit

Any ideas what's wrong or how to fix this?

	paul


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-05 15:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-01 19:38 Undefined symbol while executing Python Paul Koning
2011-07-01 20:56 ` Paul Koning
2011-07-02  2:08   ` Joel Brobecker
2011-07-05 13:57     ` Paul Koning
2011-07-05 15: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