You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, dear fpthink
The following are the command prompts, would be really appreciated it if you could help.
I use boost1.73 and python3.8, I generate the libply_c.so. When I ld the libply_c.so, I get the warning,
(base) root@5095d02b5a00:/workspace/SPNet-main/lib/ply_c/build# ld libply_c.so
ld: warning: cannot find entry symbol _start; not setting start address
And I can generate the pointops_cuda.cpython-38-x86_64-linux-gnu.so file, When I ld pointops_cuda.cpython-38-x86_64-linux-gnu.so, the error occurs.
ld: warning: cannot find entry symbol _start; not setting start address
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_InternFromString'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyInstanceMethod_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyDict_DelItemString'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_Py_Dealloc'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromLong'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyModule_Create2'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsVoidPtr'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_NotImplementedError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromSsize_t'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_SetAttrString'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyType_IsSubtype'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_Fetch'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyException_SetTraceback'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_RuntimeError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyComplex_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyDict_Copy'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_PyThreadState_UncheckedGet'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyEval_RestoreThread'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyDict_Size'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_MemoryError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyStaticMethod_New'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_DecodeUTF8'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyErr_Print'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyUnicode_FromString'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyBytes_FromString'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyBaseObject_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyNumber_Check'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySlice_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyList_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyModule_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThread_tss_create'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_HasAttrString'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_GetBuffer'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyTuple_Pack'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyBytes_AsString'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyStructSequence_New'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_GetContext'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `_PyObject_NextNotImplemented'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyList_SetItem'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_PyType_Lookup'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThreadState_Clear'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyMemoryView_FromMemory'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_Clear'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyArg_ParseTupleAndKeywords'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyCallable_Check'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyNumber_Xor'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_New'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyMem_Calloc'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsUnsignedLongLong'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyErr_ExceptionMatches'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyBuffer_Release'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyBytes_Size'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyNumber_Or'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsSsize_t'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySequence_Size'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_TypeError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyComplex_RealAsDouble'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyNumber_Index'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsUnsignedLong'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyModule_New'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyEval_InitThreads'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyNumber_Long'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyType_Ready'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyGILState_Check'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyFloat_FromDouble'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_IsTrue'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyStructSequence_InitType'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySet_New'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_DeprecationWarning'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyTuple_GetItem'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyBytes_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_PyObject_GetDictPtr'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_Size'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_Malloc'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_InternInPlace'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsLongLong'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyTuple_SetItem'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyBool_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThread_tss_get'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_Restore'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyErr_WarnEx'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyCapsule_SetName'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyErr_WarnExplicit'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_Call'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThread_tss_alloc'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySequence_List'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyFrozenSet_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromSize_t'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyList_Size'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyTuple_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCFunction_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_GetIter'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyGILState_GetThisThreadState'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_GetItem'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyBytes_AsStringAndSize'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyUnicode_AsEncodedString'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyMethod_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyTuple_New'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_AsUTF8'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyImport_AddModule'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_CallFunctionObjArgs'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySlice_Unpack'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_ImportError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_AttributeError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySequence_Fast'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_Occurred'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThreadState_DeleteCurrent'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySequence_Tuple'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyWeakref_NewRef'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyComplex_ImagAsDouble'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyUnicode_AsUTF8String'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyEval_GetBuiltins'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyBytes_FromStringAndSize'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_ValueError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_FromFormat'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyNumber_And'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_Py_FalseStruct'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_GetName'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_SetItemString'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyImport_ImportModule'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_OverflowError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyComplex_AsCComplex'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_BufferError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyTuple_GetSlice'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySlice_AdjustIndices'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyGILState_Ensure'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyEval_AcquireThread'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_SetString'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_CallObject'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThread_tss_set'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyList_GetItem'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_IsInstance'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyList_Append'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyMem_Free'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThreadState_Get'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyNumber_Invert'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_FromStringAndSize'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyType_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromDouble'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyArg_ParseTuple'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThreadState_New'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyEval_GetFrame'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_Repr'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyProperty_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyFrame_GetLineNumber'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_NormalizeException'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_Merge'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromUnsignedLongLong'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_ClearWeakRefs'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyDict_Next'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_IsSubclass'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySet_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_GetPointer'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_Py_NoneStruct'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyInstanceMethod_New'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyDict_New'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_SetPointer'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_UserWarning'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_Join'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_RichCompareBool'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyGILState_Release'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyErr_NewException'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySet_Add'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyModule_AddObject'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySequence_GetItem'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_Py_NotImplementedStruct'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_GetItem'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyFrame_FastToLocals'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_RuntimeWarning'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyType_GenericNew'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_SetItem'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_Contains'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_SystemError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_Items'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `Py_BuildValue'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyComplex_FromDoubles'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyDict_GetItemString'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyNumber_Float'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyBool_FromLong'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyLong_AsLong'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_Exception'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_Py_TrueStruct'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyFloat_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_IndexError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_AsFileDescriptor'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsLongLongAndOverflow'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsLongAndOverflow'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyComplex_FromCComplex'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyFloat_AsDouble'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromLongLong'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyIter_Next'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyEval_SaveThread'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_SetContext'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_StopIteration'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `Py_GetVersion'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySequence_Check'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyType_GenericAlloc'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_GC_UnTrack'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromVoidPtr'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyCapsule_Import'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_CallMethod'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_GetAttrString'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyList_New'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyModule_GetName'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_Str'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_Format'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_SetAttr'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `_Py_EllipsisObject'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCFunction_NewEx'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromUnsignedLong'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyStaticMethod_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_AsUTF8AndSize'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyTuple_Size'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyCode_Addr2Line'
root@5095d02b5a00:/workspace/SPNet-main/lib/pointops/build/lib.linux-x86_64-3.8#
root@5095d02b5a00:/workspace/SPNet-main/lib/pointops/build/lib.linux-x86_64-3.8# ld pointops_cuda.cpython-38-x86_64-linux-gnu.so
ld: warning: cannot find entry symbol _start; not setting start address
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_InternFromString'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyInstanceMethod_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyDict_DelItemString'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_Py_Dealloc'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromLong'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyModule_Create2'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsVoidPtr'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_NotImplementedError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromSsize_t'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_SetAttrString'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyType_IsSubtype'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_Fetch'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyException_SetTraceback'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_RuntimeError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyComplex_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyDict_Copy'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_PyThreadState_UncheckedGet'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyEval_RestoreThread'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyDict_Size'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_MemoryError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyStaticMethod_New'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_DecodeUTF8'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyErr_Print'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyUnicode_FromString'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyBytes_FromString'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyBaseObject_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyNumber_Check'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySlice_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyList_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyModule_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThread_tss_create'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_HasAttrString'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_GetBuffer'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyTuple_Pack'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyBytes_AsString'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyStructSequence_New'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_GetContext'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `_PyObject_NextNotImplemented'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyList_SetItem'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_PyType_Lookup'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThreadState_Clear'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyMemoryView_FromMemory'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_Clear'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyArg_ParseTupleAndKeywords'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyCallable_Check'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyNumber_Xor'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_New'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyMem_Calloc'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsUnsignedLongLong'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyErr_ExceptionMatches'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyBuffer_Release'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyBytes_Size'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyNumber_Or'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsSsize_t'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySequence_Size'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_TypeError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyComplex_RealAsDouble'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyNumber_Index'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsUnsignedLong'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyModule_New'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyEval_InitThreads'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyNumber_Long'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyType_Ready'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyGILState_Check'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyFloat_FromDouble'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_IsTrue'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyStructSequence_InitType'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySet_New'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_DeprecationWarning'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyTuple_GetItem'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyBytes_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_PyObject_GetDictPtr'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_Size'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_Malloc'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_InternInPlace'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsLongLong'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyTuple_SetItem'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyBool_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThread_tss_get'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_Restore'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyErr_WarnEx'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyCapsule_SetName'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyErr_WarnExplicit'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_Call'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThread_tss_alloc'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySequence_List'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyFrozenSet_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromSize_t'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyList_Size'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyTuple_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCFunction_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_GetIter'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyGILState_GetThisThreadState'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_GetItem'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyBytes_AsStringAndSize'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyUnicode_AsEncodedString'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyMethod_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyTuple_New'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_AsUTF8'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyImport_AddModule'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_CallFunctionObjArgs'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySlice_Unpack'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_ImportError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_AttributeError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySequence_Fast'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_Occurred'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThreadState_DeleteCurrent'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySequence_Tuple'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyWeakref_NewRef'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyComplex_ImagAsDouble'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyUnicode_AsUTF8String'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyEval_GetBuiltins'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyBytes_FromStringAndSize'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_ValueError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_FromFormat'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyNumber_And'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_Py_FalseStruct'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_GetName'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_SetItemString'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyImport_ImportModule'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_OverflowError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyComplex_AsCComplex'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_BufferError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyTuple_GetSlice'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySlice_AdjustIndices'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyGILState_Ensure'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyEval_AcquireThread'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_SetString'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_CallObject'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThread_tss_set'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyList_GetItem'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_IsInstance'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyList_Append'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyMem_Free'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThreadState_Get'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyNumber_Invert'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_FromStringAndSize'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyType_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromDouble'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyArg_ParseTuple'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyThreadState_New'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyEval_GetFrame'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_Repr'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyProperty_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyFrame_GetLineNumber'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_NormalizeException'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_Merge'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromUnsignedLongLong'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_ClearWeakRefs'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyDict_Next'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_IsSubclass'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySet_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_GetPointer'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_Py_NoneStruct'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyInstanceMethod_New'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyDict_New'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_SetPointer'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_UserWarning'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_Join'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_RichCompareBool'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyGILState_Release'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyErr_NewException'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySet_Add'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyModule_AddObject'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySequence_GetItem'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_Py_NotImplementedStruct'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_GetItem'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyFrame_FastToLocals'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_RuntimeWarning'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyType_GenericNew'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_SetItem'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_Contains'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_SystemError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyDict_Items'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `Py_BuildValue'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyComplex_FromDoubles'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyDict_GetItemString'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyNumber_Float'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyBool_FromLong'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyLong_AsLong'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_Exception'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `_Py_TrueStruct'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyFloat_Type'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyExc_IndexError'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_AsFileDescriptor'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsLongLongAndOverflow'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_AsLongAndOverflow'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyComplex_FromCComplex'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyFloat_AsDouble'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromLongLong'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyIter_Next'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyEval_SaveThread'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCapsule_SetContext'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyExc_StopIteration'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `Py_GetVersion'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PySequence_Check'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyType_GenericAlloc'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_GC_UnTrack'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromVoidPtr'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyCapsule_Import'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_CallMethod'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_GetAttrString'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyList_New'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyModule_GetName'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyObject_Str'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyErr_Format'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyObject_SetAttr'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `_Py_EllipsisObject'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyCFunction_NewEx'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyLong_FromUnsignedLong'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyStaticMethod_Type'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyUnicode_AsUTF8AndSize'
ld: pointops_cuda.cpython-38-x86_64-linux-gnu.so: undefined reference to `PyTuple_Size'
ld: /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so: undefined reference to `PyCode_Addr2Line'
Best regards
ziwenjie
The text was updated successfully, but these errors were encountered:
Hi, dear fpthink
The following are the command prompts, would be really appreciated it if you could help.
I use boost1.73 and python3.8, I generate the libply_c.so. When I ld the libply_c.so, I get the warning,
And I can generate the pointops_cuda.cpython-38-x86_64-linux-gnu.so file, When I ld pointops_cuda.cpython-38-x86_64-linux-gnu.so, the error occurs.
Best regards
ziwenjie
The text was updated successfully, but these errors were encountered: