public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/11051] New: Undefined Python linker messages
@ 2009-12-03 20:31 johndmcmaster at gmail dot com
  2010-02-23 17:48 ` [Bug python/11051] " pmuldoon at redhat dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: johndmcmaster at gmail dot com @ 2009-12-03 20:31 UTC (permalink / raw)
  To: gdb-prs

I get a number of linker messages along the line of "undefined reference to
`PyUnicodeUCS2_Decode'"  I saw someone had a similar issue for Samba
(http://lists.samba.org/archive/samba/2008-June/141536.html) indicating this may
be due to a bad Python install, but it got no replies.  I'm not that familar
with Python, but I noticed that while in /usr/lib/libpython2.4.so  there is no
PyUnicodeUCS2_Decode, there is a PyUnicodeUCS4_Decode.
Please let me know what other info you need.

GDB: 7.0
GCC: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)
OS: CentOS 5.3
Python: Python 2.4.6

Relevant output:
[mcmaster@gespenst gdb-7.0]$ make
...
gcc -g -O2      \
                -o gdb gdb.o libgdb.a \
                   ../readline/libreadline.a ../opcodes/libopcodes.a
../bfd/libbfd.a  ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a   
-lncurses -lz -lm     -lpython2.4 -lexpat ../libiberty/libiberty.a 
gnulib/libgnu.a -ldl -rdynamic
libgdb.a(py-cmd.o): In function `cmdpy_completer':
/home/mcmaster/document/software/GNU/GDB/gdb-7.0/gdb/./python/py-cmd.c:197:
undefined reference to `PyUnicodeUCS2_Decode'
/home/mcmaster/document/software/GNU/GDB/gdb-7.0/gdb/./python/py-cmd.c:200:
undefined reference to `PyUnicodeUCS2_Decode'
libgdb.a(py-cmd.o): In function `cmdpy_function':
/home/mcmaster/document/software/GNU/GDB/gdb-7.0/gdb/./python/py-cmd.c:138:
undefined reference to `PyUnicodeUCS2_Decode'
libgdb.a(py-frame.o): In function `frapy_name':
/home/mcmaster/document/software/GNU/GDB/gdb-7.0/gdb/./python/py-frame.c:132:
undefined reference to `PyUnicodeUCS2_Decode'
libgdb.a(py-frame.o): In function `gdbpy_frame_stop_reason_string':
/home/mcmaster/document/software/GNU/GDB/gdb-7.0/gdb/./python/py-frame.c:407:
undefined reference to `PyUnicodeUCS2_Decode'
libgdb.a(py-type.o):/home/mcmaster/document/software/GNU/GDB/gdb-7.0/gdb/./python/py-type.c:519:
more undefined references to `PyUnicodeUCS2_Decode' follow
libgdb.a(py-utils.o): In function `unicode_to_encoded_python_string':
/home/mcmaster/document/software/GNU/GDB/gdb-7.0/gdb/./python/py-utils.c:117:
undefined reference to `PyUnicodeUCS2_AsEncodedString'
libgdb.a(py-utils.o): In function `unicode_to_encoded_string':
/home/mcmaster/document/software/GNU/GDB/gdb-7.0/gdb/./python/py-utils.c:96:
undefined reference to `PyUnicodeUCS2_AsEncodedString'
libgdb.a(py-utils.o): In function `python_string_to_unicode':
/home/mcmaster/document/software/GNU/GDB/gdb-7.0/gdb/./python/py-utils.c:73:
undefined reference to `PyUnicodeUCS2_FromEncodedObject'
libgdb.a(py-value.o): In function `valpy_string':
/home/mcmaster/document/software/GNU/GDB/gdb-7.0/gdb/./python/py-value.c:254:
undefined reference to `PyUnicodeUCS2_Decode'
libgdb.a(py-value.o): In function `valpy_str':
/home/mcmaster/document/software/GNU/GDB/gdb-7.0/gdb/./python/py-value.c:384:
undefined reference to `PyUnicodeUCS2_Decode'
collect2: ld returned 1 exit status
make[2]: *** [gdb] Error 1
make[2]: Leaving directory `/home/mcmaster/document/software/GNU/GDB/gdb-7.0/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/mcmaster/document/software/GNU/GDB/gdb-7.0'
make: *** [all] Error 2

-- 
           Summary: Undefined Python linker messages
           Product: gdb
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: johndmcmaster at gmail dot com
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11051

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2010-06-30 17:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-03 20:31 [Bug python/11051] New: Undefined Python linker messages johndmcmaster at gmail dot com
2010-02-23 17:48 ` [Bug python/11051] " pmuldoon at redhat dot com
2010-03-22 12:51 ` zilla at kayari dot org
2010-03-22 12:55 ` zilla at kayari dot org
2010-03-22 13:11 ` zilla at kayari dot org
2010-03-22 14:52 ` zilla at kayari dot org
2010-03-22 15:04 ` johndmcmaster at gmail dot com
2010-06-30  9:17 ` pmuldoon at redhat dot com
2010-06-30 17:35 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).