From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4231 invoked by alias); 1 Jul 2011 19:38:02 -0000 Received: (qmail 4139 invoked by uid 22791); 1 Jul 2011 19:38:01 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ausxipps301.us.dell.com (HELO ausxipps301.us.dell.com) (143.166.148.223) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Jul 2011 19:37:46 +0000 X-Loopcount0: from 10.152.240.141 From: Paul Koning Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Undefined symbol while executing Python Date: Fri, 01 Jul 2011 19:38:00 -0000 Message-Id: <674EAAD3-EF0C-451B-BC73-5D39F33E6780@dell.com> To: gdb@sourceware.org Mime-Version: 1.0 (Apple Message framework v1084) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00001.txt.bz2 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 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=3Di686-pc-linux-gnu --target=3Dmips64el-= pss-netbsdelf". For bug reporting instructions, please see: . (gdb) python import itertools Traceback (most recent call last): File "", line 1, in ? ImportError: /usr/lib/python2.4/lib-dynload/itertoolsmodule.so: undefined s= ymbol: PyObject_SelfIter Error while executing Python code. (gdb) quit Any ideas what's wrong or how to fix this? paul