/usr/bin/g++ -m32 -o symmake gdbintfc.o symhelp.o ../mipslx.O/dbglibs.a /usr/lib/gdb/libgdb.a /usr/lib/gdb/libbfd.a /usr/lib/gdb/libiberty.a /usr/lib/gdb/libopcodes.a -L -Wl,-Bstatic -Wl,-Bdynamic -lhistory -lreadline -ldl -lm --lstdc++ -lncurses -lz -rdynamic /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_flush': (.text+0x14): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_flush': (.text+0x1a): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_write': (.text+0x4c): undefined reference to `PyArg_ParseTuple' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_write': (.text+0x74): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_write': (.text+0x7a): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_target_wide_charset': (.text+0xce): undefined reference to `PyUnicodeUCS4_Decode' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_target_charset': (.text+0x11e): undefined reference to `PyUnicodeUCS4_Decode' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_post_event': (.text+0x14d): undefined reference to `PyArg_ParseTuple' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_post_event': (.text+0x167): undefined reference to `PyCallable_Check' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_post_event': (.text+0x1a9): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_post_event': (.text+0x1af): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_post_event': (.text+0x1c1): undefined reference to `PyExc_RuntimeError' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_post_event': (.text+0x1d1): undefined reference to `PyErr_SetString' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_post_event': (.text+0x206): undefined reference to `PyExc_IOError' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_post_event': (.text+0x20e): undefined reference to `PyErr_SetFromErrno' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_parse_and_eval': (.text+0x23d): undefined reference to `PyArg_ParseTuple' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_parse_and_eval': (.text+0x2cc): undefined reference to `PyExc_RuntimeError' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_parse_and_eval': (.text+0x2e0): undefined reference to `PyErr_Format' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_parse_and_eval': (.text+0x2f1): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_decode_line': (.text+0x329): undefined reference to `PyArg_ParseTuple' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_decode_line': (.text+0x462): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_decode_line': (.text+0x46d): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_decode_line': (.text+0x49e): undefined reference to `PyExc_RuntimeError' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_decode_line': (.text+0x4b2): undefined reference to `PyErr_Format' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_decode_line': (.text+0x4e4): undefined reference to `PyTuple_New' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_decode_line': (.text+0x518): undefined reference to `PyTuple_SetItem' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_decode_line': (.text+0x651): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_solib_address': (.text+0x682): undefined reference to `PyArg_ParseTuple' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_solib_address': (.text+0x6dc): undefined reference to `PyString_Decode' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_solib_address': (.text+0x6f4): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_solib_address': (.text+0x6fd): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_get_current_objfile': (.text+0x732): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_get_current_objfile': (.text+0x738): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_objfiles': (.text+0x750): undefined reference to `PyList_New' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_objfiles': (.text+0x770): undefined reference to `PyList_Append' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_progspaces': (.text+0x7c0): undefined reference to `PyList_New' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_progspaces': (.text+0x7e0): undefined reference to `PyList_Append' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_cli': (.text+0x85a): undefined reference to `PyExc_RuntimeError' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_cli': (.text+0x880): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `gdbpy_cli': (.text+0x890): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(python.o): In function `execute_gdb_command': (.text+0x8d3): undefined reference to `PyBool_Type' /usr/lib/gdb/libgdb.a(python.o): In function `execute_gdb_command': - -- ------ (.text+0x489): undefined reference to `PyErr_SetString' /usr/lib/gdb/libgdb.a(py-param.o): In function `parmpy_init': (.text+0x883): undefined reference to `PyExc_RuntimeError' /usr/lib/gdb/libgdb.a(py-param.o): In function `parmpy_init': (.text+0x897): undefined reference to `PyErr_Format' /usr/lib/gdb/libgdb.a(py-param.o): In function `parmpy_init': (.text+0x8a4): undefined reference to `PyExc_KeyboardInterrupt' /usr/lib/gdb/libgdb.a(py-param.o): In function `set_attr': (.text+0x8e0): undefined reference to `PyString_AsString' /usr/lib/gdb/libgdb.a(py-param.o): In function `set_attr': (.text+0x924): undefined reference to `PyExc_RuntimeError' /usr/lib/gdb/libgdb.a(py-param.o): In function `set_attr': (.text+0x92c): undefined reference to `PyErr_SetString' /usr/lib/gdb/libgdb.a(py-param.o): In function `set_attr': (.text+0x976): undefined reference to `PyBool_Type' /usr/lib/gdb/libgdb.a(py-param.o): In function `set_attr': (.text+0x982): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(py-param.o): In function `set_attr': (.text+0x9ad): undefined reference to `PyInt_AsLong' /usr/lib/gdb/libgdb.a(py-param.o): In function `set_attr': (.text+0xa32): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(py-param.o): In function `set_attr': (.text+0xa54): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(py-param.o): In function `set_attr': - -- --- /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_from_number': (.text+0x1ff): undefined reference to `decimal32FromNumber' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_from_number': (.text+0x21f): undefined reference to `decimal128FromNumber' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_from_number': (.text+0x23f): undefined reference to `decimal64FromNumber' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_check_errors': (.text+0x36f): undefined reference to `decContextStatusToString' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_compare': (.text+0x464): undefined reference to `decNumberCompare' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_binop': (.text+0x6ee): undefined reference to `decNumberPower' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_binop': (.text+0x76e): undefined reference to `decNumberAdd' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_binop': (.text+0x78e): undefined reference to `decNumberSubtract' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_binop': (.text+0x7ae): undefined reference to `decNumberMultiply' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_binop': (.text+0x7ce): undefined reference to `decNumberDivide' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_from_integral': (.text+0x86e): undefined reference to `decNumberFromUInt32' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_from_integral': (.text+0x8e6): undefined reference to `decNumberFromInt32' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_from_string': (.text+0x99d): undefined reference to `decimal32FromString' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_from_string': (.text+0xa1d): undefined reference to `decimal128FromString' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_from_string': (.text+0xa45): undefined reference to `decimal64FromString' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_to_string': (.text+0xb8d): undefined reference to `decimal64ToString' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_to_string': (.text+0xba3): undefined reference to `decimal32ToString' /usr/lib/gdb/libgdb.a(dfp.o): In function `decimal_to_string': (.text+0xbcb): undefined reference to `decimal128ToString' /usr/lib/gdb/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x898): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x8c3): undefined reference to `PyObject_CallFunctionObjArgs' /usr/lib/gdb/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x8da): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x924): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x92b): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x94a): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(varobj.o): In function `construct_visualizer': (.text+0x952): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(varobj.o): In function `value_get_print_value': (.text+0x1dfb): undefined reference to `PyObject_HasAttr' /usr/lib/gdb/libgdb.a(varobj.o): In function `value_get_print_value': (.text+0x1e1e): undefined reference to `PyObject_HasAttr' /usr/lib/gdb/libgdb.a(varobj.o): In function `value_get_print_value': (.text+0x1f5f): undefined reference to `PyString_AsString' /usr/lib/gdb/libgdb.a(varobj.o): In function `value_get_print_value': (.text+0x1f69): undefined reference to `PyString_Size' /usr/lib/gdb/libgdb.a(varobj.o): In function `install_new_value': (.text+0x24ca): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(varobj.o): In function `install_new_value': (.text+0x278f): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(varobj.o): In function `install_new_value': (.text+0x27f2): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(varobj.o): In function `install_new_value': (.text+0x27f9): undefined reference to `_Py_NoneStruct' /usr/lib/gdb/libgdb.a(varobj.o): In function `varobj_set_visualizer': (.text+0x386a): undefined reference to `PyImport_AddModule' /usr/lib/gdb/libgdb.a(varobj.o): In function `varobj_set_visualizer': (.text+0x3872): undefined reference to `PyModule_GetDict' /usr/lib/gdb/libgdb.a(varobj.o): In function `varobj_set_visualizer': (.text+0x38a2): undefined reference to `PyRun_StringFlags' /usr/lib/gdb/libgdb.a(varobj.o): In function `update_dynamic_varobj_children': (.text+0x3965): undefined reference to `PyObject_HasAttr' /usr/lib/gdb/libgdb.a(varobj.o): In function `update_dynamic_varobj_children': (.text+0x3a7c): undefined reference to `PyArg_ParseTuple' /usr/lib/gdb/libgdb.a(varobj.o): In function `update_dynamic_varobj_children': (.text+0x3b6f): undefined reference to `PyIter_Next' /usr/lib/gdb/libgdb.a(varobj.o): In function `update_dynamic_varobj_children': (.text+0x3c4d): undefined reference to `PyObject_CallMethodObjArgs' /usr/lib/gdb/libgdb.a(varobj.o): In function `update_dynamic_varobj_children': (.text+0x3c95): undefined reference to `PyObject_GetIter' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_use_dtd': (.text+0x86e): undefined reference to `XML_SetParamEntityParsing' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_use_dtd': (.text+0x880): undefined reference to `XML_SetExternalEntityRefHandler' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_use_dtd': (.text+0x892): undefined reference to `XML_UseForeignDTD' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_use_dtd': (.text+0x8a4): undefined reference to `XML_ErrorString' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity': (.text+0x910): undefined reference to `XML_ExternalEntityParserCreate' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity': (.text+0x92a): undefined reference to `XML_SetElementHandler' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity': (.text+0x942): undefined reference to `XML_SetDoctypeDeclHandler' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity': (.text+0x952): undefined reference to `XML_SetXmlDeclHandler' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity': (.text+0x962): undefined reference to `XML_SetDefaultHandler' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity': (.text+0x972): undefined reference to `XML_SetUserData' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity': (.text+0x992): undefined reference to `XML_Parse' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity': (.text+0x99c): undefined reference to `XML_ParserFree' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_cleanup': (.text+0xa02): undefined reference to `XML_ParserFree' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_error': (.text+0xa80): undefined reference to `XML_GetCurrentLineNumber' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_debug': (.text+0xc88): undefined reference to `XML_GetCurrentLineNumber' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_parse': (.text+0xd79): undefined reference to `XML_Parse' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_parse': (.text+0xe56): undefined reference to `XML_GetErrorCode' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_parse': (.text+0xe5e): undefined reference to `XML_ErrorString' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_create_parser_and_cleanup': (.text+0xf35): undefined reference to `XML_ParserCreateNS' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_create_parser_and_cleanup': (.text+0xf57): undefined reference to `XML_SetUserData' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_create_parser_and_cleanup': (.text+0xf71): undefined reference to `XML_SetElementHandler' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_create_parser_and_cleanup': (.text+0xf83): undefined reference to `XML_SetCharacterDataHandler' /usr/lib/gdb/libgdb.a(xml-support.o): In function `xml_process_xincludes': (.text+0x1112): undefined reference to `XML_SetCharacterDataHandler' /usr/lib/gdb/libgdb.a(xml-support.o): In function `xml_process_xincludes': (.text+0x1124): undefined reference to `XML_SetDefaultHandler' /usr/lib/gdb/libgdb.a(xml-support.o): In function `xml_process_xincludes': (.text+0x1136): undefined reference to `XML_SetXmlDeclHandler' /usr/lib/gdb/libgdb.a(xml-support.o): In function `xml_process_xincludes': (.text+0x1154): undefined reference to `XML_SetDoctypeDeclHandler' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_end_element_wrapper': (.text+0x169a): undefined reference to `XML_StopParser' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_end_element_wrapper': (.text+0x16eb): undefined reference to `XML_DefaultCurrent' /usr/lib/gdb/libgdb.a(xml-support.o): In function `gdb_xml_start_element_wrapper': make: *** [lxplat] Error 1
Looks like there were simple a few dependencies of gdb (python/xml) missing here when linking, but is libgdb even still a thing?