Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-10

Compiling sources obtained via SVN

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

brian

I assume there's an expectation that the sources downloaded from trunk should compile on all platforms?

I've just updated to 19505, and attempting to build on Linux Mint 9 64-bit causes a few problems.

The first problem I see is that there are actually two makefiles in the fpc directory, Makefile dated 31st Aug 2011 and Makefile.fpc dated 13th Aug 2011.

However, unless I'm missing some switch or other, doing a

make distclean

followed by

make -f Makefile build

generates a LARGE number of unresolved references.

With apologies to anyone still on dial-up, the error messages are posted below.

I do have v2.4.2-0 installed on my machine, this was from installing the combined FPC and Lazarus .DEBs from sourceforge, but presumably the make should be working with the files in the subversion tree?

Brian.

<...>

/data2/sources/subversion/fpc/packages/gdbint/units/x86_64-linux/gdbint.o: In function `GDBINT$_$TGDBINTERFACE_$__$$_GDB__INIT': gdbint.pp:(.text+0xfde): undefined reference to
`deprecated_create_breakpoint_hook'
/data2/sources/subversion/fpc/packages/gdbint/units/x86_64-linux/gdbint.o: In function `GDBINT$_$TGDBINTERFACE_$__$$_GDB_DONE': gdbint.pp:(.text+0x103f): undefined reference to
`deprecated_create_breakpoint_hook'
/usr/lib64/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x83d): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x866): undefined reference to `PyObject_CallFunctionObjArgs' /usr/lib64/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x886): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x8e2): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x8e7): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x90f): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x917): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(varobj.o): In function `value_get_print_value': (.text+0x1e87): undefined reference to `PyObject_HasAttr' /usr/lib64/libgdb.a(varobj.o): In function `value_get_print_value': (.text+0x1eae): undefined reference to `PyObject_HasAttr' /usr/lib64/libgdb.a(varobj.o): In function `value_get_print_value': (.text+0x1ffd): undefined reference to `PyString_AsString' /usr/lib64/libgdb.a(varobj.o): In function `value_get_print_value': (.text+0x200d): undefined reference to `PyString_Size' /usr/lib64/libgdb.a(varobj.o): In function `install_new_value': (.text+0x2549): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(varobj.o): In function `install_new_value': (.text+0x2864): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(varobj.o): In function `install_new_value': (.text+0x28ce): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(varobj.o): In function `install_new_value': (.text+0x28d3): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(varobj.o): In function `varobj_set_visualizer': (.text+0x382c): undefined reference to `PyImport_AddModule' /usr/lib64/libgdb.a(varobj.o): In function `varobj_set_visualizer': (.text+0x3834): undefined reference to `PyModule_GetDict' /usr/lib64/libgdb.a(varobj.o): In function `varobj_set_visualizer': (.text+0x3859): undefined reference to `PyRun_StringFlags' /usr/lib64/libgdb.a(varobj.o): In function
`update_dynamic_varobj_children':
(.text+0x3947): undefined reference to `PyObject_HasAttr' /usr/lib64/libgdb.a(varobj.o): In function
`update_dynamic_varobj_children':
(.text+0x3a64): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(varobj.o): In function
`update_dynamic_varobj_children':
(.text+0x3b78): undefined reference to `PyIter_Next' /usr/lib64/libgdb.a(varobj.o): In function
`update_dynamic_varobj_children':
(.text+0x3c57): undefined reference to `PyObject_CallMethodObjArgs' /usr/lib64/libgdb.a(varobj.o): In function
`update_dynamic_varobj_children':
(.text+0x3cb1): undefined reference to `PyObject_GetIter' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x1a9): undefined reference to `Py_Initialize' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x1ae): undefined reference to `PyEval_InitThreads' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x1c7): undefined reference to `Py_InitModule4_64' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x1e0): undefined reference to `PyModule_AddStringConstant' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x1f6): undefined reference to `PyModule_AddStringConstant' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x20c): undefined reference to `PyModule_AddStringConstant' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x23d): undefined reference to `PyRun_SimpleStringFlags' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x249): undefined reference to `PyRun_SimpleStringFlags' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x25d): undefined reference to `PyString_FromString' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x26e): undefined reference to `PyString_FromString' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x27f): undefined reference to `PyString_FromString' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x290): undefined reference to `PyString_FromString' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x2a3): undefined reference to `PyRun_SimpleStringFlags' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x2aa): undefined reference to `PyThreadState_Swap' /usr/lib64/libgdb.a(python.o): In function `gdbpy_flush': (.text+0x2d3): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(python.o): In function `gdbpy_flush': (.text+0x2d9): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(python.o): In function `gdbpy_write': (.text+0x304): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(python.o): In function `gdbpy_write': (.text+0x322): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(python.o): In function `gdbpy_write': (.text+0x328): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parse_and_eval': (.text+0x355): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parse_and_eval': (.text+0x3e8): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parse_and_eval': (.text+0x3f3): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parse_and_eval': (.text+0x3fa): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(python.o): In function `gdbpy_get_current_objfile': (.text+0x43b): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(python.o): In function `gdbpy_get_current_objfile': (.text+0x441): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(python.o): In function `gdbpy_objfiles': (.text+0x459): undefined reference to `PyList_New' /usr/lib64/libgdb.a(python.o): In function `gdbpy_objfiles': (.text+0x487): undefined reference to `PyList_Append' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x4ea): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x5cc): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x5d8): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x609): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x614): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x61b): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x638): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x644): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x653): undefined reference to `PyLong_FromLong' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x687): undefined reference to `PyString_Decode' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x69c): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x6a2): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x6b5): undefined reference to `PyLong_FromUnsignedLong' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x6ca): undefined reference to `_Py_ZeroStruct' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x6de): undefined reference to `_Py_TrueStruct' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x6f3): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(python.o): In function `gdbpy_parameter': (.text+0x6ff): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(python.o): In function `execute_gdb_command': (.text+0x717): undefined reference to `PyBool_Type' /usr/lib64/libgdb.a(python.o): In function `execute_gdb_command': (.text+0x739): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(python.o): In function `execute_gdb_command': (.text+0x7d8): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(python.o): In function `execute_gdb_command': (.text+0x7e2): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(python.o): In function `execute_gdb_command': (.text+0x801): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(python.o): In function `execute_gdb_command': (.text+0x80c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(python.o): In function `execute_gdb_command': (.text+0x813): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(python.o): In function `execute_gdb_command': (.text+0x821): undefined reference to `PyObject_IsTrue' /usr/lib64/libgdb.a(python.o): In function `ensure_python_env': (.text+0x8d7): undefined reference to `PyGILState_Ensure' /usr/lib64/libgdb.a(python.o): In function `gdbpy_new_objfile': (.text+0xa0e): undefined reference to `PyRun_SimpleFileExFlags' /usr/lib64/libgdb.a(python.o): In function `python_command': (.text+0xc16): undefined reference to `PyRun_SimpleStringFlags' /usr/lib64/libgdb.a(python.o): In function
`eval_python_from_control_command':
(.text+0xd09): undefined reference to `PyRun_SimpleStringFlags' /usr/lib64/libgdb.a(python.o): In function `source_python_script': (.text+0xd8a): undefined reference to `PyGILState_Ensure' /usr/lib64/libgdb.a(python.o): In function `source_python_script': (.text+0xd9b): undefined reference to `PyRun_SimpleFileExFlags' /usr/lib64/libgdb.a(python.o): In function `restore_python_env': (.text+0xdc7): undefined reference to `PyGILState_Release' /usr/lib64/libgdb.a(python.o): In function `_initialize_python': (.text+0x2b5): undefined reference to `PyEval_ReleaseLock' /usr/lib64/libgdb.a(python.o): In function `gdbpy_print_stack': (.text+0x89b): undefined reference to `PyErr_Clear' /usr/lib64/libgdb.a(python.o): In function `gdbpy_print_stack': (.text+0x8a1): undefined reference to `PyErr_Print' /usr/lib64/libgdb.a(python.o): In function `source_python_script': (.text+0xdbc): undefined reference to `PyGILState_Release' /usr/lib64/libgdb.a(py-cmd.o): In function `gdbpy_initialize_commands': (.text+0x14): undefined reference to `PyType_Ready' /usr/lib64/libgdb.a(py-cmd.o): In function `gdbpy_initialize_commands': (.text+0x34): undefined reference to `PyModule_AddIntConstant' /usr/lib64/libgdb.a(py-cmd.o): In function `gdbpy_initialize_commands': (.text+0x4f): undefined reference to `PyModule_AddIntConstant' /usr/lib64/libgdb.a(py-cmd.o): In function `gdbpy_initialize_commands': (.text+0x6d): undefined reference to `PyModule_AddIntConstant' /usr/lib64/libgdb.a(py-cmd.o): In function `gdbpy_initialize_commands': (.text+0x8b): undefined reference to `PyModule_AddIntConstant' /usr/lib64/libgdb.a(py-cmd.o): In function `gdbpy_initialize_commands': (.text+0xa9): undefined reference to `PyModule_AddIntConstant' /usr/lib64/libgdb.a(py-cmd.o):(.text+0xc7): more undefined references to `PyModule_AddIntConstant' follow
/usr/lib64/libgdb.a(py-cmd.o): In function `gdbpy_initialize_commands': (.text+0x1af): undefined reference to `PyModule_AddObject' /usr/lib64/libgdb.a(py-cmd.o): In function `gdbpy_initialize_commands': (.text+0x1b9): undefined reference to `PyString_FromString' /usr/lib64/libgdb.a(py-cmd.o): In function `gdbpy_initialize_commands': (.text+0x1ca): undefined reference to `PyString_FromString' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_dont_repeat': (.text+0x1fc): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_dont_repeat': (.text+0x202): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x262): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x26c): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x2ba): undefined reference to `PyArg_ParseTupleAndKeywords' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x37b): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x383): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x510): undefined reference to `PyObject_IsTrue' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x5e8): undefined reference to `PyObject_HasAttr' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x68f): undefined reference to `PyObject_HasAttr' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x740): undefined reference to `PyObject_GetAttr' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x7e1): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x7ee): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x870): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x87b): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_init': (.text+0x882): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_completer': (.text+0x913): undefined reference to `PyObject_HasAttr' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_completer': (.text+0x93b): undefined reference to `PyUnicodeUCS4_Decode' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_completer': (.text+0x967): undefined reference to `PyUnicodeUCS4_Decode' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_completer': (.text+0x98d): undefined reference to `PyObject_CallMethodObjArgs' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_completer': (.text+0x9d4): undefined reference to `PySequence_Check' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_completer': (.text+0xa55): undefined reference to `PySequence_Size' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_completer': (.text+0xa89): undefined reference to `PyErr_Clear' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_completer': (.text+0xa9e): undefined reference to `PySequence_GetItem' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_completer': (.text+0xaec): undefined reference to `PyInt_AsLong' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_completer': (.text+0xb19): undefined reference to `PyErr_Clear' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_function': (.text+0xc47): undefined reference to `PyObject_HasAttr' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_function': (.text+0xc7b): undefined reference to `PyUnicodeUCS4_Decode' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_function': (.text+0xc8f): undefined reference to `_Py_ZeroStruct' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_function': (.text+0xc94): undefined reference to `_Py_TrueStruct' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_function': (.text+0xcb6): undefined reference to `PyObject_CallMethodObjArgs' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_function': (.text+0xdbd): undefined reference to `PyErr_Fetch' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_function': (.text+0xde0): undefined reference to `PyErr_Restore' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_function': (.text+0xdfc): undefined reference to `PyString_AsString' /usr/lib64/libgdb.a(py-cmd.o): In function `cmdpy_function': (.text+0xe37): undefined reference to `PyErr_Restore' /usr/lib64/libgdb.a(py-cmd.o):(.data+0x138): undefined reference to `PyType_GenericNew'
/usr/lib64/libgdb.a(py-frame.o): In function `gdbpy_initialize_frames': (.text+0xa): undefined reference to `PyType_Ready' /usr/lib64/libgdb.a(py-frame.o): In function `gdbpy_initialize_frames': (.text+0x25): undefined reference to `PyModule_AddIntConstant' /usr/lib64/libgdb.a(py-frame.o): In function `gdbpy_initialize_frames': (.text+0x3b): undefined reference to `PyModule_AddIntConstant' /usr/lib64/libgdb.a(py-frame.o): In function `gdbpy_initialize_frames': (.text+0x51): undefined reference to `PyModule_AddIntConstant' /usr/lib64/libgdb.a(py-frame.o): In function `gdbpy_initialize_frames': (.text+0x67): undefined reference to `PyModule_AddIntConstant' /usr/lib64/libgdb.a(py-frame.o): In function `gdbpy_initialize_frames': (.text+0x7a): undefined reference to `PyModule_AddIntConstant' /usr/lib64/libgdb.a(py-frame.o):(.text+0x90): more undefined references to `PyModule_AddIntConstant' follow
/usr/lib64/libgdb.a(py-frame.o): In function `frapy_read_var': (.text+0x199): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_read_var': (.text+0x284): undefined reference to `PyExc_TypeError' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_read_var': (.text+0x28c): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_read_var': (.text+0x34d): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_read_var': (.text+0x353): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_read_var': (.text+0x36f): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_read_var': (.text+0x377): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_read_var': (.text+0x383): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_read_var': (.text+0x3b0): undefined reference to `PyExc_ValueError' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_read_var': (.text+0x3ba): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_is_valid': (.text+0x3ef): undefined reference to `_Py_TrueStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_is_valid': (.text+0x3f6): undefined reference to `_Py_TrueStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_is_valid': (.text+0x401): undefined reference to `_Py_ZeroStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_is_valid': (.text+0x408): undefined reference to `_Py_ZeroStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frame_info_to_frame_object': (.text+0x42f): undefined reference to `_PyObject_New' /usr/lib64/libgdb.a(py-frame.o): In function `frame_info_to_frame_object': (.text+0x503): undefined reference to `PyExc_MemoryError' /usr/lib64/libgdb.a(py-frame.o): In function `frame_info_to_frame_object': (.text+0x50d): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_newer': (.text+0x551): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_newer': (.text+0x5c9): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_newer': (.text+0x5d4): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_newer': (.text+0x5db): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_older': (.text+0x631): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_older': (.text+0x6a9): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_older': (.text+0x6b4): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_older': (.text+0x6bb): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_pc': (.text+0x74c): undefined reference to `PyLong_FromUnsignedLongLong' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_pc': (.text+0x771): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_pc': (.text+0x77c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_pc': (.text+0x783): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_unwind_stop_reason': (.text+0x813): undefined reference to `PyInt_FromLong' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_unwind_stop_reason': (.text+0x831): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_unwind_stop_reason': (.text+0x83c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_unwind_stop_reason': (.text+0x843): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_type': (.text+0x8bb): undefined reference to `PyInt_FromLong' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_type': (.text+0x8d9): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_type': (.text+0x8e4): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_type': (.text+0x8eb): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_name': (.text+0x9a9): undefined reference to `PyUnicodeUCS4_Decode' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_name': (.text+0x9c9): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_name': (.text+0x9d4): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_name': (.text+0x9db): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_name': (.text+0x9e9): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_name': (.text+0x9f3): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_richcompare': (.text+0xa3f): undefined reference to `PyType_IsSubtype' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_richcompare': (.text+0xa54): undefined reference to `_Py_NotImplementedStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_richcompare': (.text+0xa5a): undefined reference to `_Py_NotImplementedStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_richcompare': (.text+0xad4): undefined reference to `_Py_ZeroStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_richcompare': (.text+0xadb): undefined reference to `_Py_ZeroStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_richcompare': (.text+0xae9): undefined reference to `_Py_TrueStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_richcompare': (.text+0xaf0): undefined reference to `_Py_TrueStruct' /usr/lib64/libgdb.a(py-frame.o): In function `frapy_str': (.text+0xb4d): undefined reference to `PyString_FromString' /usr/lib64/libgdb.a(py-frame.o): In function
`gdbpy_frame_stop_reason_string':
(.text+0xb86): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(py-frame.o): In function
`gdbpy_frame_stop_reason_string':
(.text+0xbbf): undefined reference to `PyUnicodeUCS4_Decode' /usr/lib64/libgdb.a(py-frame.o): In function
`gdbpy_frame_stop_reason_string':
(.text+0xbd3): undefined reference to `PyExc_ValueError' /usr/lib64/libgdb.a(py-frame.o): In function
`gdbpy_frame_stop_reason_string':
(.text+0xbdd): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-frame.o): In function `gdbpy_selected_frame': (.text+0xc70): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-frame.o): In function `gdbpy_selected_frame': (.text+0xc7b): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-frame.o): In function `gdbpy_selected_frame': (.text+0xc82): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-frame.o): In function `gdbpy_initialize_frames': (.text+0x10a): undefined reference to `PyModule_AddObject' /usr/lib64/libgdb.a(py-frame.o):(.data+0x138): undefined reference to `PyType_GenericNew'
/usr/lib64/libgdb.a(py-function.o): In function
`gdbpy_initialize_functions':
(.text+0xa): undefined reference to `PyType_Ready' /usr/lib64/libgdb.a(py-function.o): In function `fnpy_init': (.text+0x59): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(py-function.o): In function `fnpy_init': (.text+0x7d): undefined reference to `PyObject_HasAttrString' /usr/lib64/libgdb.a(py-function.o): In function `fnpy_init': (.text+0xc9): undefined reference to `PyObject_GetAttrString' /usr/lib64/libgdb.a(py-function.o): In function `fnpy_call': (.text+0x122): undefined reference to `PyTuple_New' /usr/lib64/libgdb.a(py-function.o): In function `fnpy_call': (.text+0x15a): undefined reference to `PyTuple_SetItem' /usr/lib64/libgdb.a(py-function.o): In function `fnpy_call': (.text+0x16c): undefined reference to `PyObject_GetAttrString' /usr/lib64/libgdb.a(py-function.o): In function `fnpy_call': (.text+0x185): undefined reference to `PyObject_Call' /usr/lib64/libgdb.a(py-function.o): In function
`gdbpy_initialize_functions':
(.text+0x30): undefined reference to `PyModule_AddObject' /usr/lib64/libgdb.a(py-function.o):(.data+0x138): undefined reference to `PyType_GenericNew'
/usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_extract_lazy_string':
(.text+0x30): undefined reference to `PyObject_GetAttrString' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_extract_lazy_string':
(.text+0x42): undefined reference to `PyObject_GetAttrString' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_extract_lazy_string':
(.text+0x54): undefined reference to `PyObject_GetAttrString' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_extract_lazy_string':
(.text+0x66): undefined reference to `PyObject_GetAttrString' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_extract_lazy_string':
(.text+0xac): undefined reference to `PyLong_AsLong' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_extract_lazy_string':
(.text+0xbe): undefined reference to `PyLong_AsUnsignedLongLong' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_extract_lazy_string':
(.text+0xc7): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_extract_lazy_string':
(.text+0xdc): undefined reference to `PyString_AsString' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_extract_lazy_string':
(.text+0x264): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_extract_lazy_string':
(.text+0x26f): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_extract_lazy_string':
(.text+0x276): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_is_lazy_string': (.text+0x3ec): undefined reference to `PyType_IsSubtype' /usr/lib64/libgdb.a(py-lazy-string.o): In function `stpy_get_encoding': (.text+0x423): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-lazy-string.o): In function `stpy_get_encoding': (.text+0x429): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_initialize_lazy_string':
(.text+0x46a): undefined reference to `PyType_Ready' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_create_lazy_string_object':
(.text+0x4bd): undefined reference to `_PyObject_New' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_create_lazy_string_object':
(.text+0x523): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_create_lazy_string_object':
(.text+0x530): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_create_lazy_string_object':
(.text+0x543): undefined reference to `PyExc_MemoryError' /usr/lib64/libgdb.a(py-lazy-string.o): In function `gdbpy_create_lazy_string_object':
(.text+0x550): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-lazy-string.o): In function `stpy_get_length': (.text+0x405): undefined reference to `PyLong_FromLong' /usr/lib64/libgdb.a(py-lazy-string.o): In function `stpy_get_encoding': (.text+0x41a): undefined reference to `PyString_FromString' /usr/lib64/libgdb.a(py-lazy-string.o): In function `stpy_get_address': (.text+0x435): undefined reference to `PyLong_FromUnsignedLongLong' /usr/lib64/libgdb.a(py-objfile.o): In function `gdbpy_initialize_objfile': (.text+0x6d): undefined reference to `PyType_Ready' /usr/lib64/libgdb.a(py-objfile.o): In function `objfpy_set_printers': (.text+0x10b): undefined reference to `PyExc_TypeError' /usr/lib64/libgdb.a(py-objfile.o): In function `objfpy_set_printers': (.text+0x115): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-objfile.o): In function `objfpy_set_printers': (.text+0x123): undefined reference to `PyExc_TypeError' /usr/lib64/libgdb.a(py-objfile.o): In function `objfpy_set_printers': (.text+0x12d): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-objfile.o): In function `objfpy_get_filename': (.text+0x1a3): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-objfile.o): In function `objfpy_get_filename': (.text+0x1a9): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-objfile.o): In function `objfpy_new': (.text+0x1df): undefined reference to `PyList_New' /usr/lib64/libgdb.a(py-objfile.o): In function
`objfile_to_objfile_object':
(.text+0x2ce): undefined reference to `_PyObject_New' /usr/lib64/libgdb.a(py-objfile.o): In function
`objfile_to_objfile_object':
(.text+0x2e3): undefined reference to `PyList_New' /usr/lib64/libgdb.a(py-objfile.o): In function `gdbpy_initialize_objfile': (.text+0x93): undefined reference to `PyModule_AddObject' /usr/lib64/libgdb.a(py-objfile.o): In function `objfpy_get_filename': (.text+0x193): undefined reference to `PyString_Decode' /usr/lib64/libgdb.a(py-prettyprint.o): In function `py_restore_tstate': (.text+0x3): undefined reference to `_PyThreadState_Current' /usr/lib64/libgdb.a(py-prettyprint.o): In function `search_pp_list': (.text+0x21): undefined reference to `PyList_Size' /usr/lib64/libgdb.a(py-prettyprint.o): In function `search_pp_list': (.text+0x48): undefined reference to `PyList_GetItem' /usr/lib64/libgdb.a(py-prettyprint.o): In function `search_pp_list': (.text+0x5c): undefined reference to `PyObject_CallFunctionObjArgs' /usr/lib64/libgdb.a(py-prettyprint.o): In function `search_pp_list': (.text+0x67): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-prettyprint.o): In function `search_pp_list': (.text+0x7f): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-prettyprint.o): In function `search_pp_list': (.text+0x88): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-prettyprint.o): In function `search_pp_list': (.text+0x97): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-prettyprint.o): In function `search_pp_list': (.text+0x9d): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-prettyprint.o):(.text+0x130): more undefined references to `_Py_NoneStruct' follow
/usr/lib64/libgdb.a(py-prettyprint.o): In function `find_pretty_printer': (.text+0x185): undefined reference to `PyObject_HasAttrString' /usr/lib64/libgdb.a(py-prettyprint.o): In function `find_pretty_printer': (.text+0x190): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-prettyprint.o): In function `find_pretty_printer': (.text+0x196): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-prettyprint.o): In function `find_pretty_printer': (.text+0x1b1): undefined reference to `PyErr_Clear' /usr/lib64/libgdb.a(py-prettyprint.o): In function `find_pretty_printer': (.text+0x1fd): undefined reference to `PyObject_GetAttrString' /usr/lib64/libgdb.a(py-prettyprint.o): In function `gdbpy_default_visualizer':
(.text+0x244): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(py-prettyprint.o): In function `gdbpy_default_visualizer':
(.text+0x279): undefined reference to `PyExc_TypeError' /usr/lib64/libgdb.a(py-prettyprint.o): In function `gdbpy_default_visualizer':
(.text+0x283): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-prettyprint.o): In function `gdbpy_get_varobj_pretty_printer':
(.text+0x301): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-prettyprint.o): In function `gdbpy_get_varobj_pretty_printer':
(.text+0x30c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-prettyprint.o): In function `gdbpy_get_varobj_pretty_printer':
(.text+0x313): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-prettyprint.o): In function `pretty_print_one_value':
(.text+0x3c2): undefined reference to `PyObject_CallMethodObjArgs' /usr/lib64/libgdb.a(py-prettyprint.o): In function `pretty_print_one_value':
(.text+0x3f7): undefined reference to `PyErr_Occurred' /usr/lib64/libgdb.a(py-prettyprint.o): In function `gdbpy_get_display_hint':
(.text+0x4ab): undefined reference to `PyObject_HasAttr' /usr/lib64/libgdb.a(py-prettyprint.o): In function `gdbpy_get_display_hint':
(.text+0x4d7): undefined reference to `PyObject_CallMethodObjArgs' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x5e9): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x681): undefined reference to `PyString_AsString' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x68e): undefined reference to `PyString_Size' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x748): undefined reference to `PyObject_HasAttr' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x7a7): undefined reference to `PyObject_CallMethodObjArgs' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x7c8): undefined reference to `PyObject_GetIter' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x7fb): undefined reference to `PyString_FromString' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x80e): undefined reference to `PyTuple_New' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x857): undefined reference to `PyCode_New' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x893): undefined reference to `PyDict_New' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x8ab): undefined reference to `_PyThreadState_Current' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x8c5): undefined reference to `PyFrame_New' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x970): undefined reference to `PyIter_Next' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0x99b): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0xb24): undefined reference to `PyErr_Occurred' /usr/lib64/libgdb.a(py-prettyprint.o): In function `apply_val_pretty_printer':
(.text+0xeb1): undefined reference to `PyErr_Occurred' /usr/lib64/libgdb.a(py-type.o): In function `gdbpy_initialize_types': (.text+0x5a): undefined reference to `PyType_Ready' /usr/lib64/libgdb.a(py-type.o): In function `gdbpy_initialize_types': (.text+0x68): undefined reference to `PyType_Ready' /usr/lib64/libgdb.a(py-type.o): In function `gdbpy_initialize_types': (.text+0x9f): undefined reference to `PyModule_AddIntConstant' /usr/lib64/libgdb.a(py-type.o): In function `gdbpy_initialize_types': (.text+0xca): undefined reference to `PyModule_AddObject' /usr/lib64/libgdb.a(py-type.o): In function `typy_get_tag': (.text+0x113): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-type.o): In function `typy_get_tag': (.text+0x119): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-type.o): In function `typy_get_sizeof': (.text+0x179): undefined reference to `PyLong_FromLong' /usr/lib64/libgdb.a(py-type.o): In function `typy_lookup_typename': (.text+0x2fe): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-type.o): In function `typy_lookup_typename': (.text+0x309): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_lookup_typename': (.text+0x310): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-type.o): In function `typy_range': (.text+0x49c): undefined reference to `PyLong_FromLong' /usr/lib64/libgdb.a(py-type.o): In function `typy_range': (.text+0x4b0): undefined reference to `PyLong_FromLong' /usr/lib64/libgdb.a(py-type.o): In function `typy_range': (.text+0x4c6): undefined reference to `PyTuple_New' /usr/lib64/libgdb.a(py-type.o): In function `typy_range': (.text+0x4df): undefined reference to `PyTuple_SetItem' /usr/lib64/libgdb.a(py-type.o): In function `typy_range': (.text+0x4f3): undefined reference to `PyTuple_SetItem' /usr/lib64/libgdb.a(py-type.o): In function `typy_range': (.text+0x5ab): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_range': (.text+0x5b7): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-type.o): In function `type_object_to_type': (.text+0x706): undefined reference to `PyType_IsSubtype' /usr/lib64/libgdb.a(py-type.o): In function `typy_str': (.text+0x7eb): undefined reference to `PyUnicodeUCS4_Decode' /usr/lib64/libgdb.a(py-type.o): In function `typy_str': (.text+0x831): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-type.o): In function `typy_str': (.text+0x83c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_str': (.text+0x843): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-type.o): In function `type_to_type_object': (.text+0x867): undefined reference to `_PyObject_New' /usr/lib64/libgdb.a(py-type.o): In function `typy_volatile': (.text+0x981): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-type.o): In function `typy_volatile': (.text+0x98c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_volatile': (.text+0x993): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-type.o): In function `typy_unqualified': (.text+0xa31): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-type.o): In function `typy_unqualified': (.text+0xa3c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_unqualified': (.text+0xa43): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-type.o): In function `typy_template_argument': (.text+0xa6c): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(py-type.o): In function `typy_template_argument': (.text+0xb03): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_template_argument': (.text+0xb0f): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-type.o): In function `typy_template_argument': (.text+0xb5d): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_template_argument': (.text+0xb67): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-type.o): In function `typy_template_argument': (.text+0xb7b): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_template_argument': (.text+0xb85): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-type.o): In function `typy_template_argument': (.text+0xb97): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_template_argument': (.text+0xb9c): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-type.o): In function `typy_target': (.text+0xbd3): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_target': (.text+0xbdd): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-type.o): In function `typy_reference': (.text+0xc91): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-type.o): In function `typy_reference': (.text+0xc9c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_reference': (.text+0xca3): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-type.o): In function `typy_pointer': (.text+0xd31): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-type.o): In function `typy_pointer': (.text+0xd3c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_pointer': (.text+0xd43): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xd65): undefined reference to `PyList_New' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xd82): undefined reference to `_Py_TrueStruct' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xd91): undefined reference to `PyDict_New' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xdd8): undefined reference to `PyString_FromString' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xdf4): undefined reference to `PyObject_SetAttrString' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xe05): undefined reference to `_Py_ZeroStruct' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xe27): undefined reference to `PyObject_SetAttrString' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xe38): undefined reference to `_Py_ZeroStruct' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xe55): undefined reference to `PyObject_SetAttrString' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xe74): undefined reference to `PyLong_FromLong' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xe90): undefined reference to `PyObject_SetAttrString' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xecf): undefined reference to `PyObject_SetAttrString' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xee4): undefined reference to `PyList_Append' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xf0b): undefined reference to `_PyObject_New' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xf2d): undefined reference to `PyLong_FromLong' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xf45): undefined reference to `PyObject_SetAttrString' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xfcb): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xfd1): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0xff8): undefined reference to `_Py_ZeroStruct' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0x1013): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-type.o): In function `typy_fields': (.text+0x1019): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-type.o): In function `typy_const': (.text+0x10f1): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-type.o): In function `typy_const': (.text+0x10fc): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-type.o): In function `typy_const': (.text+0x1103): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-type.o): In function `gdbpy_lookup_type': (.text+0x1135): undefined reference to `PyArg_ParseTupleAndKeywords' /usr/lib64/libgdb.a(py-type.o): In function `gdbpy_initialize_types': (.text+0xe9): undefined reference to `PyModule_AddObject' /usr/lib64/libgdb.a(py-type.o): In function `typy_get_tag': (.text+0x102): undefined reference to `PyString_FromString' /usr/lib64/libgdb.a(py-type.o): In function `typy_get_code': (.text+0x19c): undefined reference to `PyInt_FromLong' /usr/lib64/libgdb.a(py-utils.o): In function `unicode_to_encoded_string': (.text+0xc8): undefined reference to `PyUnicodeUCS4_AsEncodedString' /usr/lib64/libgdb.a(py-utils.o): In function `unicode_to_encoded_string': (.text+0xda): undefined reference to `PyString_AsString' /usr/lib64/libgdb.a(py-utils.o): In function `python_string_to_unicode': (.text+0x1a4): undefined reference to `PyExc_TypeError' /usr/lib64/libgdb.a(py-utils.o): In function `python_string_to_unicode': (.text+0x1ac): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-utils.o): In function `target_string_to_unicode': (.text+0x8e): undefined reference to `PyUnicodeUCS4_Decode' /usr/lib64/libgdb.a(py-utils.o): In function
`unicode_to_target_python_string':
(.text+0xb3): undefined reference to `PyUnicodeUCS4_AsEncodedString' /usr/lib64/libgdb.a(py-utils.o): In function `python_string_to_unicode': (.text+0x176): undefined reference to `PyUnicodeUCS4_FromEncodedObject' /usr/lib64/libgdb.a(py-value.o): In function `valpy_get_type': (.text+0x3e): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-value.o): In function `valpy_get_type': (.text+0x45): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-value.o): In function `valpy_get_is_optimized_out': (.text+0x62): undefined reference to `_Py_ZeroStruct' /usr/lib64/libgdb.a(py-value.o): In function `valpy_get_is_optimized_out': (.text+0x69): undefined reference to `_Py_ZeroStruct' /usr/lib64/libgdb.a(py-value.o): In function `valpy_get_is_optimized_out': (.text+0x79): undefined reference to `_Py_TrueStruct' /usr/lib64/libgdb.a(py-value.o): In function `valpy_get_is_optimized_out': (.text+0x80): undefined reference to `_Py_TrueStruct' /usr/lib64/libgdb.a(py-value.o): In function `valpy_string': (.text+0xf1): undefined reference to `PyArg_ParseTupleAndKeywords' /usr/lib64/libgdb.a(py-value.o): In function `valpy_string': (.text+0x1b7): undefined reference to `PyUnicodeUCS4_Decode' /usr/lib64/libgdb.a(py-value.o): In function `valpy_string': (.text+0x1f1): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `valpy_string': (.text+0x1fc): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_string': (.text+0x203): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `valpy_lazy_string': (.text+0x25a): undefined reference to `PyArg_ParseTupleAndKeywords' /usr/lib64/libgdb.a(py-value.o): In function `valpy_length': (.text+0x2d7): undefined reference to `PyExc_NotImplementedError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_length': (.text+0x2e1): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-value.o): In function `valpy_setitem': (.text+0x318): undefined reference to `PyExc_NotImplementedError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_setitem': (.text+0x322): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `valpy_float': (.text+0x3bf): undefined reference to `PyFloat_FromDouble' /usr/lib64/libgdb.a(py-value.o): In function `valpy_float': (.text+0x3e1): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `valpy_float': (.text+0x3ec): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_float': (.text+0x3f3): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `valpy_float': (.text+0x403): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_float': (.text+0x40d): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-value.o): In function `valpy_long': (.text+0x4a9): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_long': (.text+0x4b3): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-value.o): In function `valpy_long': (.text+0x4cc): undefined reference to `PyLong_FromLongLong' /usr/lib64/libgdb.a(py-value.o): In function `valpy_long': (.text+0x4f1): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `valpy_long': (.text+0x4fc): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_long': (.text+0x503): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `valpy_int': (.text+0x5a5): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_int': (.text+0x5af): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-value.o): In function `valpy_int': (.text+0x5cc): undefined reference to `PyInt_FromLong' /usr/lib64/libgdb.a(py-value.o): In function `valpy_int': (.text+0x5f1): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `valpy_int': (.text+0x5fc): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_int': (.text+0x603): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `valpy_nonzero': (.text+0x671): undefined reference to `PyExc_TypeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_nonzero': (.text+0x679): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-value.o): In function `valpy_str': (.text+0x7ee): undefined reference to `PyUnicodeUCS4_Decode' /usr/lib64/libgdb.a(py-value.o): In function `valpy_str': (.text+0x821): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `valpy_str': (.text+0x82c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_str': (.text+0x833): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `gdbpy_initialize_values': (.text+0x93a): undefined reference to `PyType_Ready' /usr/lib64/libgdb.a(py-value.o): In function `gdbpy_initialize_values': (.text+0x95c): undefined reference to `PyModule_AddObject' /usr/lib64/libgdb.a(py-value.o): In function `value_object_to_value': (.text+0x996): undefined reference to `PyType_IsSubtype' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xa12): undefined reference to `PyBool_Type' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xa3c): undefined reference to `PyFloat_Type' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xa43): undefined reference to `PyFloat_Type' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xa48): undefined reference to `PyType_IsSubtype' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xa5a): undefined reference to `PyFloat_AsDouble' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xa65): undefined reference to `PyErr_Occurred' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xab6): undefined reference to `PyInt_AsLong' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xabe): undefined reference to `PyErr_Occurred' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xaf6): undefined reference to `PyLong_AsLongLong' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xafe): undefined reference to `PyErr_Occurred' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xb56): undefined reference to `PyType_IsSubtype' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xb7c): undefined reference to `PyObject_IsTrue' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xc22): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xc2d): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xc36): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xc53): undefined reference to `PyString_FromString' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xc64): undefined reference to `PyObject_CallMethodObjArgs' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xc7f): undefined reference to `PyObject_Str' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xc87): undefined reference to `PyString_AsString' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xca2): undefined reference to `PyExc_TypeError' /usr/lib64/libgdb.a(py-value.o): In function `convert_value_from_python': (.text+0xcaf): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `valpy_new': (.text+0xd0d): undefined reference to `PyTuple_Size' /usr/lib64/libgdb.a(py-value.o): In function `valpy_new': (.text+0xd3d): undefined reference to `PyTuple_GetItem' /usr/lib64/libgdb.a(py-value.o): In function `valpy_new': (.text+0xdc4): undefined reference to `PyExc_TypeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_new': (.text+0xdce): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-value.o): In function `valpy_new': (.text+0xdec): undefined reference to `PyExc_MemoryError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_new': (.text+0xdf4): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-value.o): In function `valpy_richcompare': (.text+0xe31): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-value.o): In function `valpy_richcompare': (.text+0xebd): undefined reference to `PyExc_NotImplementedError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_richcompare': (.text+0xec7): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-value.o): In function `valpy_richcompare': (.text+0xee9): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `valpy_richcompare': (.text+0xef4): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_richcompare': (.text+0xefb): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `valpy_richcompare': (.text+0xf25): undefined reference to `PyExc_NotImplementedError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_richcompare': (.text+0xf2f): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-value.o): In function `valpy_richcompare': (.text+0xf54): undefined reference to `_Py_ZeroStruct' /usr/lib64/libgdb.a(py-value.o): In function `valpy_richcompare': (.text+0xf71): undefined reference to `_Py_TrueStruct' /usr/lib64/libgdb.a(py-value.o): In function `value_to_value_object': (.text+0x1057): undefined reference to `_PyObject_New' /usr/lib64/libgdb.a(py-value.o): In function `valpy_get_address': (.text+0x1169): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-value.o): In function `valpy_get_address': (.text+0x1170): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-value.o): In function `valpy_dereference': (.text+0x1201): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `valpy_dereference': (.text+0x120c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_dereference': (.text+0x1213): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `valpy_cast': (.text+0x1239): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(py-value.o): In function `valpy_cast': (.text+0x12f1): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `valpy_cast': (.text+0x12fc): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_cast': (.text+0x1303): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `valpy_cast': (.text+0x1310): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_cast': (.text+0x131a): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-value.o): In function `valpy_getitem': (.text+0x1471): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `valpy_getitem': (.text+0x147c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_getitem': (.text+0x1483): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `valpy_binop': (.text+0x18b0): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `valpy_binop': (.text+0x18bb): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_binop': (.text+0x18c2): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `valpy_power': (.text+0x1937): undefined reference to `_Py_NoneStruct' /usr/lib64/libgdb.a(py-value.o): In function `valpy_power': (.text+0x195b): undefined reference to `PyExc_NotImplementedError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_power': (.text+0x1965): undefined reference to `PyErr_SetString' /usr/lib64/libgdb.a(py-value.o): In function `valpy_invert': (.text+0x1a41): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `valpy_invert': (.text+0x1a4c): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_invert': (.text+0x1a53): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `valpy_negative': (.text+0x1af1): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `valpy_negative': (.text+0x1afc): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `valpy_negative': (.text+0x1b03): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(py-value.o): In function `gdbpy_history': (.text+0x1b95): undefined reference to `PyArg_ParseTuple' /usr/lib64/libgdb.a(py-value.o): In function `gdbpy_history': (.text+0x1c28): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib64/libgdb.a(py-value.o): In function `gdbpy_history': (.text+0x1c33): undefined reference to `PyExc_RuntimeError' /usr/lib64/libgdb.a(py-value.o): In function `gdbpy_history': (.text+0x1c3a): undefined reference to `PyErr_Format' /usr/lib64/libgdb.a(dfp.o): In function `set_decnumber_context': (.text+0x164): undefined reference to `decContextDefault' /usr/lib64/libgdb.a(dfp.o): In function `set_decnumber_context': (.text+0x17e): undefined reference to `decContextDefault' /usr/lib64/libgdb.a(dfp.o): In function `set_decnumber_context': (.text+0x196): undefined reference to `decContextDefault' /usr/lib64/libgdb.a(dfp.o): In function `decimal_from_number': (.text+0x21a): undefined reference to `decimal32FromNumber' /usr/lib64/libgdb.a(dfp.o): In function `decimal_from_number': (.text+0x22a): undefined reference to `decimal128FromNumber' /usr/lib64/libgdb.a(dfp.o): In function `decimal_from_number': (.text+0x242): undefined reference to `decimal64FromNumber' /usr/lib64/libgdb.a(dfp.o): In function `decimal_check_errors': (.text+0x3a1): undefined reference to `decContextStatusToString' /usr/lib64/libgdb.a(dfp.o): In function `decimal_compare': (.text+0x4bb): undefined reference to `decNumberCompare' /usr/lib64/libgdb.a(dfp.o): In function `decimal_binop': (.text+0x7e2): undefined reference to `decNumberPower' /usr/lib64/libgdb.a(dfp.o): In function `decimal_binop': (.text+0x872): undefined reference to `decNumberAdd' /usr/lib64/libgdb.a(dfp.o): In function `decimal_binop': (.text+0x892): undefined reference to `decNumberSubtract' /usr/lib64/libgdb.a(dfp.o): In function `decimal_binop': (.text+0x8b2): undefined reference to `decNumberMultiply' /usr/lib64/libgdb.a(dfp.o): In function `decimal_binop': (.text+0x8d2): undefined reference to `decNumberDivide' /usr/lib64/libgdb.a(dfp.o): In function `decimal_from_integral': (.text+0x97d): undefined reference to `decNumberFromUInt32' /usr/lib64/libgdb.a(dfp.o): In function `decimal_from_integral': (.text+0xa26): undefined reference to `decNumberFromInt32' /usr/lib64/libgdb.a(dfp.o): In function `decimal_from_string': (.text+0xadf): undefined reference to `decimal32FromString' /usr/lib64/libgdb.a(dfp.o): In function `decimal_from_string': (.text+0xbaf): undefined reference to `decimal128FromString' /usr/lib64/libgdb.a(dfp.o): In function `decimal_from_string': (.text+0xbcf): undefined reference to `decimal64FromString' /usr/lib64/libgdb.a(dfp.o): In function `decimal_to_string': (.text+0xd03): undefined reference to `decimal64ToString' /usr/lib64/libgdb.a(dfp.o): In function `decimal_to_string': (.text+0xd17): undefined reference to `decimal32ToString' /usr/lib64/libgdb.a(dfp.o): In function `decimal_to_string': (.text+0xd37): undefined reference to `decimal128ToString' /usr/lib64/libgdb.a(dfp.o): In function `decimal_to_number': (.text+0x38): undefined reference to `decimal32ToNumber' /usr/lib64/libgdb.a(dfp.o): In function `decimal_to_number': (.text+0x48): undefined reference to `decimal128ToNumber' /usr/lib64/libgdb.a(dfp.o): In function `decimal_to_number': (.text+0x58): undefined reference to `decimal64ToNumber' /usr/lib64/libgdb.a(dwarf2read.o): In function `dwarf2_read_section': (.text+0x2210): undefined reference to `inflateInit_' /usr/lib64/libgdb.a(dwarf2read.o): In function `dwarf2_read_section': (.text+0x224e): undefined reference to `inflate'
/usr/lib64/libgdb.a(dwarf2read.o): In function `dwarf2_read_section': (.text+0x2262): undefined reference to `inflateReset' /usr/lib64/libgdb.a(dwarf2read.o): In function `dwarf2_read_section': (.text+0x2275): undefined reference to `inflateEnd' /usr/lib64/libbfd.a(compress.o): In function
`bfd_uncompress_section_contents':
/build/buildd/binutils-2.20.1/builddir-single/bfd/../../bfd/compress.c:96: undefined reference to `inflateInit_'
/build/buildd/binutils-2.20.1/builddir-single/bfd/../../bfd/compress.c:103: undefined reference to `inflate'
/build/buildd/binutils-2.20.1/builddir-single/bfd/../../bfd/compress.c:106: undefined reference to `inflateReset'
/build/buildd/binutils-2.20.1/builddir-single/bfd/../../bfd/compress.c:108: undefined reference to `inflateEnd'
fp.pas(552,1) Error: Error while linking
fp.pas(552,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make[4]: *** [fp] Error 1
make[4]: Leaving directory `/data2/sources/subversion/fpc/ide' make[3]: *** [buildfp] Error 2
make[3]: Leaving directory `/data2/sources/subversion/fpc/ide' make[2]: *** [gdb] Error 2
make[2]: Leaving directory `/data2/sources/subversion/fpc/ide' make[1]: *** [ide_all] Error 2
make[1]: Leaving directory `/data2/sources/subversion/fpc' make: *** [build-stamp.x86_64-linux] Error 2

Sven Barth
to brian
brian wrote
The first problem I see is that there are actually two makefiles in the fpc directory, Makefile dated 31st Aug 2011 and Makefile.fpc dated 13th Aug 2011.

This is normal. The "Makefile.fpc" basically contain the important parts of the makefile (which units are used on which system etc.) and are used to generate the "Makefile" using the utility "fpcmake" which is found in "utils/fpcm".

make -f Makefile build

No need to use "-f". "make" defaults to "Makefile", "makefile" and some others.

[snip]

Show quoted text 28 lines
/usr/lib64/libgdb.a(dwarf2read.o): In function `dwarf2_read_section': (.text+0x224e): undefined reference to `inflate' /usr/lib64/libgdb.a(dwarf2read.o): In function `dwarf2_read_section': (.text+0x2262): undefined reference to `inflateReset' /usr/lib64/libgdb.a(dwarf2read.o): In function `dwarf2_read_section': (.text+0x2275): undefined reference to `inflateEnd' /usr/lib64/libbfd.a(compress.o): In function `bfd_uncompress_section_contents': /build/buildd/binutils-2.20.1/builddir-single/bfd/../../bfd/compress.c:96: undefined reference to `inflateInit_' /build/buildd/binutils-2.20.1/builddir-single/bfd/../../bfd/compress.c:103: undefined reference to `inflate' /build/buildd/binutils-2.20.1/builddir-single/bfd/../../bfd/compress.c:106: undefined reference to `inflateReset' /build/buildd/binutils-2.20.1/builddir-single/bfd/../../bfd/compress.c:108: undefined reference to `inflateEnd' fp.pas(552,1) Error: Error while linking fp.pas(552,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[4]: *** [fp] Error 1 make[4]: Leaving directory `/data2/sources/subversion/fpc/ide' make[3]: *** [buildfp] Error 2 make[3]: Leaving directory `/data2/sources/subversion/fpc/ide' make[2]: *** [gdb] Error 2 make[2]: Leaving directory `/data2/sources/subversion/fpc/ide' make[1]: *** [ide_all] Error 2 make[1]: Leaving directory `/data2/sources/subversion/fpc' make: *** [build-stamp.x86_64-linux] Error 2

This seems to be related to building the textmode IDE. If you don't need the textmode IDE you can try the following workaround: Open the "Makefile" in the base directory and search for "IDE=1". Remove the "1" so that it reads "IDE=". Save the file and try again. This should stop the building (and thus its linking) of the textmode IDE.

Perhaps a "NOIDE" option should be added to the base makefile...

Regards,
Sven

Mark Morgan Lloyd
to brian: I assume there's an expectation that the sources downloaded from trunk should compile on…
brian wrote 42 lines
I assume there's an expectation that the sources downloaded from trunk should compile on all platforms? I've just updated to 19505, and attempting to build on Linux Mint 9 64-bit causes a few problems. The first problem I see is that there are actually two makefiles in the fpc directory, Makefile dated 31st Aug 2011 and Makefile.fpc dated 13th Aug 2011. However, unless I'm missing some switch or other, doing a make distclean followed by make -f Makefile build generates a LARGE number of unresolved references. With apologies to anyone still on dial-up, the error messages are posted below. I do have v2.4.2-0 installed on my machine, this was from installing the combined FPC and Lazarus .DEBs from sourceforge, but presumably the make should be working with the files in the subversion tree? Brian. <...> /data2/sources/subversion/fpc/packages/gdbint/units/x86_64-linux/gdbint.o: In function `GDBINT$_$TGDBINTERFACE_$__$$_GDB__INIT': gdbint.pp:(.text+0xfde): undefined reference to `deprecated_create_breakpoint_hook' /data2/sources/subversion/fpc/packages/gdbint/units/x86_64-linux/gdbint.o: In function `GDBINT$_$TGDBINTERFACE_$__$$_GDB_DONE': gdbint.pp:(.text+0x103f): undefined reference to `deprecated_create_breakpoint_hook' /usr/lib64/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x83d): undefined reference to `_Py_NoneStruct'

So either sort out your libgdb, which is not part of FPC and needs to be copied into the build directory, or build with

make distclean
make NOGDB=1 all

I think that NOGDB is right, but I'm working from memory here. In general I build without libgdb at any sign of problems since it's only used in the fp (text) IDE, however I've successfully built it on all platforms here except ARM (not tested on x64 since I don't have one).

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]
Mark Morgan Lloyd
to Sven Barth: This is normal. The "Makefile.fpc" basically contain the important parts of the makefile…
Sven Barth wrote 7 lines
This seems to be related to building the textmode IDE. If you don't need the textmode IDE you can try the following workaround: Open the "Makefile" in the base directory and search for "IDE=1". Remove the "1" so that it reads "IDE=". Save the file and try again. This should stop the building (and thus its linking) of the textmode IDE. Perhaps a "NOIDE" option should be added to the base makefile...

I'm fairly sure that somebody did something about this recently, after problems were reported building on some platforms.

I don't know how many people rely on the IDE and in particular on the debugger, even I have taken to using Lazarus for this. I think possibly that the time has come that without an explicit option to include it the debugger (i.e. calls to libgdb) should be excluded by default.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]
Pierre Free Pascal
to brian: I assume there's an expectation that the sources downloaded from trunk should compile on…
Show quoted text 8 lines
In function `GDBINT$_$TGDBINTERFACE_$__$$_GDB__INIT': gdbint.pp:(.text+0xfde): undefined reference to `deprecated_create_breakpoint_hook' /data2/sources/subversion/fpc/packages/gdbint/units/x86_64-linux/gdbint.o: In function `GDBINT$_$TGDBINTERFACE_$__$$_GDB_DONE': gdbint.pp:(.text+0x103f): undefined reference to `deprecated_create_breakpoint_hook' /usr/lib64/libgdb.a(varobj.o): In function `construct_visualizer':

The problem is that you are using a system install GDb library /usr/lib64/libgdb.a

This will most probably fail, as packages/gdbint will probably not find out
the correct option that were used to generate this library. The absence of this particular symbol `deprecated_create_breakpoint_hook' probably means that your libgdb is older and still has `create_breakpoint_hook' symbol instead.

But there are other problems that might appear as
the library can be generated with different configure options that need different libraries
(like using --with-python option )

The best way to generate a Free Pascal IDE is
to rebuild gdb from source (best would be to use the latest port to your system or GDB 7.3 official GNU sources). Then use packages/gbint/gen-gdblib-inc.sh
by copying that script to build/gdb directory and executing it from there.
This generates copy-libs.sh script that can be used to copied the needed (at least the ones the script finds) library to a destination directory that is the required argument to that script. ./copy-libs.sh /path-to-trunk-svn/libgdb/OS_TARGET/CPU_TARGET/ where you would replace OS_TARGET by linux
CPU_TARGET by x86_64
and /path-to-trunk by the real directory of the svn fpc trunk checkout (would be fpcsrc sub-directory if you checked out fpcbuild).

It is probably an error in the Makefile to search
for libgdb.a also in system directories as it leads to more troubles than anything else...

Pierre Muller