Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@localhost:~# gcc test.c -o test -I/usr/include/python3.6m
- /tmp/ccMvwOBf.o: In function `__Pyx_PyObject_GetAttrStr':
- test.c:(.text+0x61): undefined reference to `PyObject_GetAttr'
- /tmp/ccMvwOBf.o: In function `PyInit_test':
- test.c:(.text+0x108): undefined reference to `PyTuple_New'
- test.c:(.text+0x15c): undefined reference to `PyBytes_FromStringAndSize'
- test.c:(.text+0x1b0): undefined reference to `PyUnicode_FromStringAndSize'
- test.c:(.text+0x204): undefined reference to `PyModule_Create2'
- test.c:(.text+0x256): undefined reference to `PyModule_GetDict'
- test.c:(.text+0x2b6): undefined reference to `PyImport_AddModule'
- test.c:(.text+0x305): undefined reference to `PyImport_AddModule'
- test.c:(.text+0x365): undefined reference to `PyObject_SetAttrString'
- test.c:(.text+0x3e7): undefined reference to `PyObject_SetAttrString'
- test.c:(.text+0x417): undefined reference to `PyImport_GetModuleDict'
- test.c:(.text+0x465): undefined reference to `PyDict_GetItemString'
- test.c:(.text+0x484): undefined reference to `PyDict_SetItemString'
- test.c:(.text+0x55a): undefined reference to `PyDict_New'
- test.c:(.text+0x5b2): undefined reference to `PyDict_SetItem'
- test.c:(.text+0x6f7): undefined reference to `PyErr_Occurred'
- test.c:(.text+0x703): undefined reference to `PyExc_ImportError'
- test.c:(.text+0x712): undefined reference to `PyErr_SetString'
- /tmp/ccMvwOBf.o: In function `__Pyx_CLineForTraceback':
- test.c:(.text+0x747): undefined reference to `_PyObject_GetDictPtr'
- test.c:(.text+0x774): undefined reference to `PyDict_GetItem'
- test.c:(.text+0x794): undefined reference to `PyErr_Fetch'
- test.c:(.text+0x7c4): undefined reference to `PyObject_Not'
- test.c:(.text+0x7cf): undefined reference to `_Py_FalseStruct'
- test.c:(.text+0x7d8): undefined reference to `_Py_TrueStruct'
- test.c:(.text+0x838): undefined reference to `PyErr_Restore'
- test.c:(.text+0x85b): undefined reference to `_Py_FalseStruct'
- test.c:(.text+0x866): undefined reference to `PyObject_SetAttr'
- test.c:(.text+0x874): undefined reference to `PyObject_Not'
- /tmp/ccMvwOBf.o: In function `__pyx_insert_code_object':
- test.c:(.text+0xa91): undefined reference to `PyMem_Malloc'
- test.c:(.text+0xbf7): undefined reference to `PyMem_Realloc'
- /tmp/ccMvwOBf.o: In function `__Pyx_CreateCodeObjectForTraceback':
- test.c:(.text+0xd0c): undefined reference to `PyUnicode_FromString'
- test.c:(.text+0xd43): undefined reference to `PyUnicode_FromFormat'
- test.c:(.text+0xd55): undefined reference to `PyUnicode_FromString'
- test.c:(.text+0xdcb): undefined reference to `PyCode_New'
- /tmp/ccMvwOBf.o: In function `__Pyx_AddTraceback':
- test.c:(.text+0xf98): undefined reference to `PyThreadState_Get'
- test.c:(.text+0xfaf): undefined reference to `PyFrame_New'
- test.c:(.text+0xfd0): undefined reference to `PyTraceBack_Here'
- /tmp/ccMvwOBf.o: In function `__Pyx_main':
- test.c:(.text+0x109d): undefined reference to `Py_SetProgramName'
- test.c:(.text+0x10a2): undefined reference to `Py_Initialize'
- test.c:(.text+0x10c0): undefined reference to `PySys_SetArgv'
- test.c:(.text+0x10e0): undefined reference to `PyErr_Occurred'
- test.c:(.text+0x10ea): undefined reference to `PyErr_Print'
- test.c:(.text+0x1140): undefined reference to `Py_Finalize'
- /tmp/ccMvwOBf.o: In function `__Pyx_Print':
- test.c:(.text+0x1649): undefined reference to `PyObject_GetAttr'
- test.c:(.text+0x1676): undefined reference to `PyDict_New'
- test.c:(.text+0x16ae): undefined reference to `PyDict_SetItem'
- test.c:(.text+0x16d8): undefined reference to `PyUnicode_FromStringAndSize'
- test.c:(.text+0x170a): undefined reference to `PyDict_SetItem'
- test.c:(.text+0x17be): undefined reference to `PyDict_New'
- test.c:(.text+0x17f5): undefined reference to `PyUnicode_FromStringAndSize'
- test.c:(.text+0x1830): undefined reference to `PyDict_SetItem'
- test.c:(.text+0x18d9): undefined reference to `PyObject_Call'
- /tmp/ccMvwOBf.o: In function `__Pyx_PrintOne':
- test.c:(.text+0x1a13): undefined reference to `PyTuple_Pack'
- /tmp/ccMvwOBf.o: In function `__Pyx_check_binary_version':
- test.c:(.text+0x1ace): undefined reference to `PyOS_snprintf'
- test.c:(.text+0x1ad3): undefined reference to `Py_GetVersion'
- test.c:(.text+0x1af9): undefined reference to `PyOS_snprintf'
- test.c:(.text+0x1b58): undefined reference to `PyOS_snprintf'
- test.c:(.text+0x1b71): undefined reference to `PyErr_WarnEx'
- /tmp/ccMvwOBf.o: In function `__Pyx_InitStrings':
- test.c:(.text+0x1bdd): undefined reference to `PyUnicode_InternFromString'
- test.c:(.text+0x1c22): undefined reference to `PyUnicode_Decode'
- test.c:(.text+0x1c4d): undefined reference to `PyUnicode_FromStringAndSize'
- test.c:(.text+0x1c78): undefined reference to `PyBytes_FromStringAndSize'
- test.c:(.text+0x1ca3): undefined reference to `PyObject_Hash'
- test.c:(.text+0x1cae): undefined reference to `PyErr_Clear'
- collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement