D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-opencl-2019.1.2-5.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.x6uX5N + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf pyopencl-2019.1.2 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/pyopencl-2019.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyopencl-2019.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -vrf pyopencl.egg-info removed 'pyopencl.egg-info/SOURCES.txt' removed 'pyopencl.egg-info/PKG-INFO' removed 'pyopencl.egg-info/not-zip-safe' removed 'pyopencl.egg-info/dependency_links.txt' removed 'pyopencl.egg-info/top_level.txt' removed 'pyopencl.egg-info/requires.txt' removed directory 'pyopencl.egg-info' + rm -vf examples/download-examples-from-wiki.py removed 'examples/download-examples-from-wiki.py' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bvp5he + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pyopencl-2019.1.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 configure.py --cl-enable-gl + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/cltypes.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/version.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/bitonic_sort.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/algorithm.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/scan.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/elementwise.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/reduction.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/clmath.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/_cluda.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/_buffers.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/ipython_ext.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/invoker.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/_mymako.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/__init__.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/clrandom.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/bitonic_sort_templates.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/tools.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/array.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/capture_call.py -> build/lib.linux-x86_64-cpython-310/pyopencl copying pyopencl/cache.py -> build/lib.linux-x86_64-cpython-310/pyopencl creating build/lib.linux-x86_64-cpython-310/pyopencl/compyte copying pyopencl/compyte/__init__.py -> build/lib.linux-x86_64-cpython-310/pyopencl/compyte copying pyopencl/compyte/array.py -> build/lib.linux-x86_64-cpython-310/pyopencl/compyte copying pyopencl/compyte/dtypes.py -> build/lib.linux-x86_64-cpython-310/pyopencl/compyte creating build/lib.linux-x86_64-cpython-310/pyopencl/characterize copying pyopencl/characterize/performance.py -> build/lib.linux-x86_64-cpython-310/pyopencl/characterize copying pyopencl/characterize/__init__.py -> build/lib.linux-x86_64-cpython-310/pyopencl/characterize creating build/lib.linux-x86_64-cpython-310/pyopencl/compyte/ndarray copying pyopencl/compyte/ndarray/gen_reduction.py -> build/lib.linux-x86_64-cpython-310/pyopencl/compyte/ndarray copying pyopencl/compyte/ndarray/gen_elemwise.py -> build/lib.linux-x86_64-cpython-310/pyopencl/compyte/ndarray copying pyopencl/compyte/ndarray/setup_opencl.py -> build/lib.linux-x86_64-cpython-310/pyopencl/compyte/ndarray copying pyopencl/compyte/ndarray/test_gpu_ndarray.py -> build/lib.linux-x86_64-cpython-310/pyopencl/compyte/ndarray copying pyopencl/compyte/ndarray/__init__.py -> build/lib.linux-x86_64-cpython-310/pyopencl/compyte/ndarray copying pyopencl/compyte/ndarray/test_gpu_elemwise.py -> build/lib.linux-x86_64-cpython-310/pyopencl/compyte/ndarray running egg_info creating pyopencl.egg-info writing pyopencl.egg-info/PKG-INFO writing dependency_links to pyopencl.egg-info/dependency_links.txt writing requirements to pyopencl.egg-info/requires.txt writing top-level names to pyopencl.egg-info/top_level.txt writing manifest file 'pyopencl.egg-info/SOURCES.txt' reading manifest file 'pyopencl.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.h' warning: no files found matching 'doc/_static/*.css' warning: no files found matching 'doc/_templates/*.html' warning: no files found matching '*.py.in' adding license file 'LICENSE' writing manifest file 'pyopencl.egg-info/SOURCES.txt' /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning: Installing 'pyopencl.cl' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'pyopencl.cl' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'pyopencl.cl' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'pyopencl.cl' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) creating build/lib.linux-x86_64-cpython-310/pyopencl/cl copying pyopencl/cl/pyopencl-airy.cl -> build/lib.linux-x86_64-cpython-310/pyopencl/cl copying pyopencl/cl/pyopencl-bessel-j-complex.cl -> build/lib.linux-x86_64-cpython-310/pyopencl/cl copying pyopencl/cl/pyopencl-bessel-j.cl -> build/lib.linux-x86_64-cpython-310/pyopencl/cl copying pyopencl/cl/pyopencl-bessel-y.cl -> build/lib.linux-x86_64-cpython-310/pyopencl/cl copying pyopencl/cl/pyopencl-complex.h -> build/lib.linux-x86_64-cpython-310/pyopencl/cl copying pyopencl/cl/pyopencl-eval-tbl.cl -> build/lib.linux-x86_64-cpython-310/pyopencl/cl copying pyopencl/cl/pyopencl-hankel-complex.cl -> build/lib.linux-x86_64-cpython-310/pyopencl/cl copying pyopencl/cl/pyopencl-ranluxcl.cl -> build/lib.linux-x86_64-cpython-310/pyopencl/cl creating build/lib.linux-x86_64-cpython-310/pyopencl/cl/pyopencl-random123 copying pyopencl/cl/pyopencl-random123/array.h -> build/lib.linux-x86_64-cpython-310/pyopencl/cl/pyopencl-random123 copying pyopencl/cl/pyopencl-random123/openclfeatures.h -> build/lib.linux-x86_64-cpython-310/pyopencl/cl/pyopencl-random123 copying pyopencl/cl/pyopencl-random123/philox.cl -> build/lib.linux-x86_64-cpython-310/pyopencl/cl/pyopencl-random123 copying pyopencl/cl/pyopencl-random123/threefry.cl -> build/lib.linux-x86_64-cpython-310/pyopencl/cl/pyopencl-random123 running build_ext creating tmp gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -I/usr/include/python3.10 -c /tmp/tmpviw93xac.cpp -o tmp/tmpviw93xac.o -std=gnu++14 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -I/usr/include/python3.10 -c /tmp/tmpu4azj1fm.cpp -o tmp/tmpu4azj1fm.o -fvisibility=hidden building 'pyopencl._cl' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/src gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -DHAVE_GL=1 -Ipybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib64/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -c src/bitlog.cpp -o build/temp.linux-x86_64-cpython-310/src/bitlog.o -fvisibility=hidden -DVERSION_INFO=\"2019.1.2\" -std=gnu++14 -fvisibility=hidden gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -DHAVE_GL=1 -Ipybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib64/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -c src/wrap_cl.cpp -o build/temp.linux-x86_64-cpython-310/src/wrap_cl.o -fvisibility=hidden -DVERSION_INFO=\"2019.1.2\" -std=gnu++14 -fvisibility=hidden In file included from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1960, from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5, from src/wrap_cl.hpp:87, from src/wrap_cl.cpp:29: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -DHAVE_GL=1 -Ipybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib64/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -c src/wrap_cl_part_1.cpp -o build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o -fvisibility=hidden -DVERSION_INFO=\"2019.1.2\" -std=gnu++14 -fvisibility=hidden In file included from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1960, from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5, from src/wrap_cl.hpp:87, from src/wrap_cl_part_1.cpp:30: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -DHAVE_GL=1 -Ipybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib64/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -c src/wrap_cl_part_2.cpp -o build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o -fvisibility=hidden -DVERSION_INFO=\"2019.1.2\" -std=gnu++14 -fvisibility=hidden In file included from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1960, from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5, from src/wrap_cl.hpp:87, from src/wrap_cl_part_2.cpp:30: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -DHAVE_GL=1 -Ipybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib64/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -c src/wrap_constants.cpp -o build/temp.linux-x86_64-cpython-310/src/wrap_constants.o -fvisibility=hidden -DVERSION_INFO=\"2019.1.2\" -std=gnu++14 -fvisibility=hidden In file included from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1960, from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5, from src/wrap_cl.hpp:87, from src/wrap_constants.cpp:30: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -DHAVE_GL=1 -Ipybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib64/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -c src/wrap_mempool.cpp -o build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o -fvisibility=hidden -DVERSION_INFO=\"2019.1.2\" -std=gnu++14 -fvisibility=hidden In file included from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1960, from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5, from src/wrap_cl.hpp:87, from src/wrap_mempool.cpp:37: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ g++ -shared -Wl,--as-needed -Wl,-z,relro -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables build/temp.linux-x86_64-cpython-310/src/bitlog.o build/temp.linux-x86_64-cpython-310/src/wrap_cl.o build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o build/temp.linux-x86_64-cpython-310/src/wrap_constants.o build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o -L/usr/lib64 -lOpenCL -o build/lib.linux-x86_64-cpython-310/pyopencl/_cl.cpython-310-x86_64-linux-gnu.so -Wl,--no-as-needed /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::string_caster, std::allocator >, false>::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:370: undefined reference to `PyUnicode_AsUTF8AndSize' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `bool pybind11::detail::string_caster, std::allocator >, false>::load_bytes(std::enable_if::value, pybind11::handle>::type)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:432: undefined reference to `PyBytes_AsString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:434: undefined reference to `PyBytes_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::string_caster, std::allocator >, false>::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:372: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `PyInit__cl': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.cpp:54: undefined reference to `Py_GetVersion' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::module_::create_extension_module(char const*, char const*, PyModuleDef*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:1118: undefined reference to `PyModule_Create2' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `PyInit__cl': /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1480: undefined reference to `PyImport_ImportModule' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `_import_array': /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1486: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1493: undefined reference to `PyCapsule_Type' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1498: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `PyInit__cl': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.cpp:54: undefined reference to `PyExc_ImportError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.cpp:54: undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `PyInit__cl': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::module_::create_extension_module(char const*, char const*, PyModuleDef*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:1125: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `_import_array': /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1507: undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1507: undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `PyInit__cl': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.cpp:49: undefined reference to `PyErr_Print' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `import_numpy_helper': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.cpp:49: undefined reference to `PyExc_ImportError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.cpp:49: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `_import_array': /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1494: undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1494: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `PyInit__cl': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `_import_array': /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1513: undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1513: undefined reference to `PyErr_Format' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1536: undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1536: undefined reference to `PyErr_Format' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1525: undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1525: undefined reference to `PyErr_Format' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1501: undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1501: undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1489: undefined reference to `PyExc_AttributeError' /usr/bin/ld: /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h:1489: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::all_type_info_populate(_typeobject*, std::vector >&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11_static_get': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:48: undefined reference to `PyProperty_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11_static_set': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:54: undefined reference to `PyProperty_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cast_error::set_error() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:858: undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:858: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::type_error::set_error() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:854: undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:854: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11_meta_getattro': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:161: undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:162: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:166: undefined reference to `PyType_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::capsule::capsule(void const*, void (*)(void*))::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1450: undefined reference to `PyCapsule_GetContext' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1451: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)::{lambda(void*)#1}::_FUN(void*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11_object_init': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:357: undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:357: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `PyInit__cl': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.cpp:54: undefined reference to `PyExc_ImportError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.cpp:54: undefined reference to `PyExc_ImportError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.cpp:54: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::error_already_set::restore()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:358: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::translate_exception(std::__exception_ptr::exception_ptr)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:297: undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:297: undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:294: undefined reference to `PyExc_OverflowError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:294: undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:293: undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:293: undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:292: undefined reference to `PyExc_IndexError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:292: undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:291: undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:291: undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:290: undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:290: undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:289: undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:289: undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:288: undefined reference to `PyExc_MemoryError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:288: undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:295: undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:295: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::raise_from(_object*, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:408: undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:409: undefined reference to `PyErr_NormalizeException' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:411: undefined reference to `PyException_SetTraceback' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:417: undefined reference to `PyErr_SetString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:419: undefined reference to `PyErr_Fetch' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:420: undefined reference to `PyErr_NormalizeException' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:422: undefined reference to `PyException_SetCause' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:423: undefined reference to `PyException_SetContext' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:424: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::raise_from(_object*, char const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::accessor::~accessor()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::instance::deallocate_layout()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:427: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::error_string[abi:cxx11]()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:438: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::str::raw_str(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1137: undefined reference to `PyObject_Str' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::error_string[abi:cxx11]()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:453: undefined reference to `PyErr_NormalizeException' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:457: undefined reference to `PyException_SetTraceback' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:472: undefined reference to `PyFrame_GetCode' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:477: undefined reference to `PyFrame_GetLineNumber' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::error_string[abi:cxx11]()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::error_string[abi:cxx11]()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:439: undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:439: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::error_string[abi:cxx11]()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::error_already_set::error_already_set()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:347: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::str::operator std::__cxx11::basic_string, std::allocator >() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1118: undefined reference to `PyUnicode_AsUTF8String' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1124: undefined reference to `PyBytes_AsStringAndSize' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::str::operator std::__cxx11::basic_string, std::allocator >() const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::make_static_property_type()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:62: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:68: undefined reference to `PyType_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::make_static_property_type()': /usr/include/python3.10/object.h:472: undefined reference to `PyProperty_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::make_static_property_type()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:84: undefined reference to `PyType_Ready' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::str::str(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::setattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::make_static_property_type()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::make_default_metaclass()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:238: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:244: undefined reference to `PyType_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:267: undefined reference to `PyType_Ready' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::str::str(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::setattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::make_default_metaclass()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::make_object_base_type(_typeobject*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:444: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::make_object_base_type(_typeobject*)': /usr/include/python3.10/object.h:472: undefined reference to `PyBaseObject_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::make_object_base_type(_typeobject*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:472: undefined reference to `PyType_Ready' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::str::str(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::setattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::make_object_base_type(_typeobject*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::destruct(pybind11::detail::function_record*, bool)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::function_call::~function_call()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::str::raw_str(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1137: undefined reference to `PyObject_Str' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::str pybind11::str::format(pybind11::handle&) const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `bool pybind11::detail::object_api::contains(pybind11::str&) const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::get_internals()::gil_scoped_acquire_local::gil_scoped_acquire_local()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:321: undefined reference to `PyGILState_Ensure' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::str::str(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::get_internals()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:327: undefined reference to `PyEval_GetBuiltins' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::accessor_policies::generic_item::get(pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:664: undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::get_internals()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:328: undefined reference to `PyCapsule_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::accessor_policies::generic_item::get(pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:664: undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::internals** pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::get_internals()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::get_internals()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:350: undefined reference to `PyThreadState_Get' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:351: undefined reference to `PyThread_tss_alloc' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:351: undefined reference to `PyThread_tss_create' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:354: undefined reference to `PyThread_tss_set' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::capsule::capsule(void const*, char const*, void (*)(_object*))': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1436: undefined reference to `PyCapsule_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::accessor_policies::generic_item::set(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:670: undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::get_internals()::gil_scoped_acquire_local::~gil_scoped_acquire_local()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:322: undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::get_internals()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::internals** pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::get_internals()::gil_scoped_acquire_local::~gil_scoped_acquire_local()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:322: undefined reference to `PyGILState_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::gil_scoped_acquire::gil_scoped_acquire()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:54: undefined reference to `PyThread_tss_get' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::get_thread_state_unchecked()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:513: undefined reference to `_PyThreadState_UncheckedGet' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::gil_scoped_acquire::gil_scoped_acquire()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:78: undefined reference to `PyEval_AcquireThread' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:62: undefined reference to `PyGILState_GetThisThreadState' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:66: undefined reference to `PyThreadState_New' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:72: undefined reference to `PyThread_tss_set' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::gil_scoped_acquire::dec_ref()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:101: undefined reference to `PyThreadState_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:104: undefined reference to `PyThread_tss_set' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:103: undefined reference to `PyThreadState_DeleteCurrent' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::gil_scoped_acquire::~gil_scoped_acquire()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:121: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::error_already_set::~error_already_set()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::error_already_set::~error_already_set()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11_meta_setattro': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:125: undefined reference to `_PyType_Lookup' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:149: undefined reference to `PyType_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:133: undefined reference to `PyObject_IsInstance' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:134: undefined reference to `PyObject_IsInstance' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize(pybind11::detail::all_type_info_get_cache(_typeobject*)::{lambda(pybind11::handle)#1}&&, void (*)(pybind11::handle))::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::clear_patients(_object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::local_internals::shared_loader_life_support_data::shared_loader_life_support_data()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:396: undefined reference to `PyThread_tss_alloc' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/internals.h:396: undefined reference to `PyThread_tss_create' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::loader_life_support::get_stack_top()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:48: undefined reference to `PyThread_tss_get' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::loader_life_support::set_stack_top(pybind11::detail::loader_life_support*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:51: undefined reference to `PyThread_tss_set' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::loader_life_support::~loader_life_support()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::repr(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1825: undefined reference to `PyObject_Repr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:424: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)': /usr/include/python3.10/object.h:247: undefined reference to `PyCFunction_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::capsule::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1431: undefined reference to `PyCapsule_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::capsule::capsule(void const*, char const*, void (*)(_object*))': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1436: undefined reference to `PyCapsule_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::capsule::capsule(void const*, void (*)(void*))': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1449: undefined reference to `PyCapsule_New' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1458: undefined reference to `PyCapsule_SetContext' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::hasattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:473: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:473: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:467: undefined reference to `PyCMethod_New' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:467: undefined reference to `PyCMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyCFunction_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:439: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:545: undefined reference to `PyInstanceMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:467: undefined reference to `PyCMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::capsule::set_pointer(void const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1491: undefined reference to `PyCapsule_SetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:467: undefined reference to `PyCMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::capsule::set_pointer(void const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1491: undefined reference to `PyCapsule_SetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::initialize_generic(std::unique_ptr&&, char const*, std::type_info const* const*, unsigned long)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::capsule::set_pointer(void const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1492: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1492: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11_meta_dealloc': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:230: undefined reference to `PyType_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::all_type_info_get_cache(_typeobject*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::weakref::weakref(pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1380: undefined reference to `PyWeakref_NewRef' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::all_type_info_get_cache(_typeobject*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:601: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:613: undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:613: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::dict::size() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1538: undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::loader_life_support::get_stack_top()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:48: undefined reference to `PyThread_tss_get' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::loader_life_support::set_stack_top(pybind11::detail::loader_life_support*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:51: undefined reference to `PyThread_tss_set' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::loader_life_support::get_stack_top()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:48: undefined reference to `PyThread_tss_get' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::loader_life_support::set_stack_top(pybind11::detail::loader_life_support*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:51: undefined reference to `PyThread_tss_set' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::dict_getitemstring(_object*, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:550: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:555: undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::loader_life_support::get_stack_top()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:48: undefined reference to `PyThread_tss_get' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::loader_life_support::set_stack_top(pybind11::detail::loader_life_support*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:51: undefined reference to `PyThread_tss_set' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::loader_life_support::get_stack_top()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:48: undefined reference to `PyThread_tss_get' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::loader_life_support::set_stack_top(pybind11::detail::loader_life_support*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:51: undefined reference to `PyThread_tss_set' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::dict_getitemstring(_object*, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:557: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:698: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_NotImplementedStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::dict::dict()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1529: undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::tuple::tuple(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::tuple::tuple(int)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::dict_getitemstring(_object*, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:550: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:555: undefined reference to `PyDict_GetItemWithError' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:749: undefined reference to `PyDict_Copy' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:752: undefined reference to `PyDict_DelItemString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:759: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::object::object(pybind11::handle, pybind11::object::borrowed_t)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:301: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:492: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:492: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::dict_getitemstring(_object*, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:557: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::tuple::size() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1509: undefined reference to `PyTuple_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::repr(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1825: undefined reference to `PyObject_Repr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::tuple::size() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1509: undefined reference to `PyTuple_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::dict::size() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1538: undefined reference to `PyDict_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::iterator_policies::dict_readonly::increment()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:842: undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::str::str(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::repr(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1825: undefined reference to `PyObject_Repr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::iterator_policies::dict_readonly::increment()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:842: undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:991: undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:991: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `void pybind11::detail::accessor_policies::tuple_item::set(pybind11::handle, unsigned long const&, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:725: undefined reference to `PyTuple_SetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:999: undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:999: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:910: undefined reference to `PyExc_SystemError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:910: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::cpp_function::dispatcher(_object*, _object*, _object*)': /usr/include/python3.10/object.h:567: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::traverse_offset_bases(void*, pybind11::detail::type_info const*, pybind11::detail::instance*, bool (*)(void*, pybind11::detail::instance*))': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::instance::allocate_layout()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:412: undefined reference to `PyMem_Calloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11_meta_call': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:174: undefined reference to `PyType_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:185: undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:185: undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11_meta_call': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::clear_instance(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:406: undefined reference to `PyObject_ClearWeakRefs' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:408: undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o: in function `pybind11::detail::clear_instance(_object*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `bool pybind11::detail::pyobject_caster::load(pybind11::handle, bool) [clone .constprop.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::string_caster, std::allocator >, false>::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:370: undefined reference to `PyUnicode_AsUTF8AndSize' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `bool pybind11::detail::string_caster, std::allocator >, false>::load_bytes(std::enable_if::value, pybind11::handle>::type)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:432: undefined reference to `PyBytes_AsString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:434: undefined reference to `PyBytes_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::string_caster, std::allocator >, false>::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:372: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::sequence::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1558: undefined reference to `PySequence_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster& pybind11::detail::load_type(pybind11::detail::type_caster&, pybind11::handle const&) [clone .isra.0]': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `unsigned long pybind11::detail::as_unsigned(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1315: undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1316: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster& pybind11::detail::load_type(pybind11::detail::type_caster&, pybind11::handle const&) [clone .isra.0]': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `bool pybind11::detail::argument_loader::load_impl_sequence<0ul, 1ul>(pybind11::detail::function_call&, std::integer_sequence) [clone .isra.0]': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::all_type_info_populate(_typeobject*, std::vector >&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl_expose_part_1(pybind11::module_&)::{lambda()#1}&&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl_expose_part_1(pybind11::module_&)::{lambda()#1}&&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, unsigned long, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, unsigned long, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, long, unsigned long, unsigned long, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, long, unsigned long, unsigned long, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, pybind11::object, bool), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, pybind11::object, bool), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pybind11::object, unsigned long, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pybind11::object, unsigned long, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pybind11::object (&)(long, bool), char const (&) [450], pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pybind11::object (&)(long, bool), char const (&) [450], pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pybind11::object (&)(long, bool), char const (&) [450], pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_property_readonly(char const*, pybind11::object (pyopencl::memory_object::* const&)()) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_property_readonly(char const*, long ( const&)(pyopencl::memory_object_holder const&), char const (&) [176]) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, void (&)(pyopencl::command_queue&), pybind11::arg const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, void (&)(pyopencl::command_queue&), pybind11::arg const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, void (&)(pyopencl::command_queue&, pybind11::object), pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, void (&)(pyopencl::command_queue&, pybind11::object), pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&), pybind11::arg const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&), pybind11::arg const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pybind11::object), pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pybind11::object), pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned long, pybind11::object)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned long, pybind11::object)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl_expose_part_1(pybind11::module_&)::{lambda(pyopencl::memory_object_holder const&, pyopencl::memory_object_holder const&)#5}&&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl_expose_part_1(pybind11::module_&)::{lambda(pyopencl::memory_object_holder const&, pyopencl::memory_object_holder const&)#5}&&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl_expose_part_1(pybind11::module_&)::{lambda(pyopencl::memory_object_holder const&, pyopencl::memory_object_holder const&)#4}&&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl_expose_part_1(pybind11::module_&)::{lambda(pyopencl::memory_object_holder const&, pyopencl::memory_object_holder const&)#4}&&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg>(pybind11::class_&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg>(pybind11::class_&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def::execute >, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_ >&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pybind11::object, pybind11::object, pybind11::object)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::class_ >&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def::execute >, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_ >&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pybind11::object, pybind11::object, pybind11::object)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::class_ >&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::event const&, pyopencl::event const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::event const&, pyopencl::event const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, bool (*&&)(pyopencl::command_queue const&, pyopencl::command_queue const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, bool (*&&)(pyopencl::command_queue const&, pyopencl::command_queue const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def::execute >, pybind11::arg, pybind11::arg_v, pybind11::arg_v, 0>(pybind11::class_ >&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, pyopencl::device const*, pybind11::object)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::class_ >&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def::execute >, pybind11::arg, pybind11::arg_v, pybind11::arg_v, 0>(pybind11::class_ >&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, pyopencl::device const*, pybind11::object)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::class_ >&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, bool (*&&)(pyopencl::context const&, pyopencl::context const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, bool (*&&)(pyopencl::context const&, pyopencl::context const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::device const&, pyopencl::device const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::device const&, pyopencl::device const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::platform const&, pyopencl::platform const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::platform const&, pyopencl::platform const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl::buffer* (pyopencl::buffer::*&&)(pybind11::slice) const) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl::buffer* (pyopencl::buffer::*&&)(pybind11::slice) const) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::user_event::*&&)(int)) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::user_event::*&&)(int)) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl_expose_part_1(pybind11::module_&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, unsigned int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl_expose_part_1(pybind11::module_&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, bool&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl_expose_part_1(pybind11::module_&)': /usr/include/python3.10/object.h:567: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, bool&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl_expose_part_1(pybind11::module_&)': /usr/include/python3.10/object.h:567: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, bool&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl_expose_part_1(pybind11::module_&)': /usr/include/python3.10/object.h:567: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, pybind11::object&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, char const (&) [2], char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl_expose_part_1(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl_expose_part_1(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl_expose_part_1(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl_expose_part_1(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, pybind11::object&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl_expose_part_1(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: more undefined references to `PyErr_Clear' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned long, pybind11::object)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned long, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned long, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned long, pybind11::object)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned long, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned long, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg>(pybind11::class_&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context&, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::create_context_inner(pybind11::object, pybind11::object, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:1231: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::create_context_inner(pybind11::object, pybind11::object, pybind11::object) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize::execute >, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_ >&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pybind11::object, pybind11::object, pybind11::object)#1}, void, pybind11::detail::value_and_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_ >&&, void (*)(pybind11::detail::value_and_holder&, pybind11::object, pybind11::object, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize::execute >, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_ >&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pybind11::object, pybind11::object, pybind11::object)#1}, void, pybind11::detail::value_and_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_ >&&, void (*)(pybind11::detail::value_and_holder&, pybind11::object, pybind11::object, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::nanny_event::get_ward() const': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::memory_object::hostbuf()': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::reference_cast_error::set_error() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:859: undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:859: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11_traverse': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:507: undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11_get_dict': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:484: undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:486: undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11_clear': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:514: undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11_clear': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pybind11::list (*&)(), pybind11::list (*)(), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pybind11::tuple (*&)(), pybind11::tuple (*)(), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11_set_dict': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:498: undefined reference to `_PyObject_GetDictPtr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11_set_dict': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11_set_dict': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:494: undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:494: undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::buffer_info::~buffer_info()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/buffer_info.h:111: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::{lambda(pybind11::handle)#1}&&, void (*)(pybind11::handle))::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl_expose_part_1(pybind11::module_&) [clone .cold]': /usr/include/python3.10/object.h:567: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.10/object.h:567: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.10/object.h:567: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.10/object.h:567: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.10/object.h:567: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:567: more undefined references to `_Py_TrueStruct' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (*&)(pybind11::object), void (*)(pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::buffer_info::~buffer_info()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/buffer_info.h:111: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::~iterator()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::list::list(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1578: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::accessor::~accessor()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: more undefined references to `PyBuffer_Release' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::hasattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:473: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_::add_object(char const*, pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:1089: undefined reference to `PyModule_AddObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::list::list(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1578: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::unique_ptr::~unique_ptr()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::array::~array()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_record::~type_record()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::accessor::get_cache() const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::len(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1801: undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iter(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1836: undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::tuple(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1502: undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::tuple(pybind11::object&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1502: undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::hasattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:473: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_info* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster_generic::try_load_foreign_module_local(pybind11::handle)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_info* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_::import(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:1063: undefined reference to `PyImport_ImportModule' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::tuple(int)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::run_python_gc()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::buffer::getitem(pybind11::slice) const': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2122: undefined reference to `PySlice_Unpack' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2122: undefined reference to `PySlice_AdjustIndices' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::create_buffer_py(pyopencl::context&, unsigned long, unsigned long, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2160: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::create_buffer_py(pyopencl::context&, unsigned long, unsigned long, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2162: undefined reference to `PyExc_UserWarning' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2162: undefined reference to `PyErr_WarnEx' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::accessor::operator pybind11::object() const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, bool&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, pybind11::none&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::_Tuple_impl<1ul, pybind11::detail::type_caster, pybind11::detail::type_caster, pybind11::detail::type_caster >::~_Tuple_impl()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::_Tuple_impl<0ul, pybind11::detail::type_caster, pybind11::detail::type_caster, pybind11::detail::type_caster, pybind11::detail::type_caster >::~_Tuple_impl()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `bool pybind11::detail::object_api >::contains(char const* const&) const': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `unsigned long pybind11::detail::as_unsigned(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1315: undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `unsigned long pybind11::detail::as_unsigned(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1316: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::command_queue::command_queue(pyopencl::context const&, pyopencl::device const*, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:1329: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pybind11::object (*&)(long, bool), pybind11::object (*)(long, bool), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, char const (&) [450], pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::event::set_callback(int, pybind11::object)::{lambda()#1}::operator()() const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:139: undefined reference to `PyThread_tss_set' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::~gil_scoped_release()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:160: undefined reference to `PyThread_tss_set' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:157: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::str::str(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::generic_type::def_property_static_impl(char const*, pybind11::handle, pybind11::handle, pybind11::detail::function_record*)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::setattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::generic_type::def_property_static_impl(char const*, pybind11::handle, pybind11::handle, pybind11::detail::function_record*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:1251: undefined reference to `PyProperty_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:1251: undefined reference to `PyProperty_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::generic_type::def_property_static_impl(char const*, pybind11::handle, pybind11::handle, pybind11::detail::function_record*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::make_new_python_type(pybind11::detail::type_record const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:597: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::make_new_python_type(pybind11::detail::type_record const&)': /usr/include/python3.10/object.h:247: undefined reference to `PyModule_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::hasattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:473: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:473: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:473: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::size() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1509: undefined reference to `PyTuple_Size' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1509: undefined reference to `PyTuple_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::make_new_python_type(pybind11::detail::type_record const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:689: undefined reference to `PyType_Ready' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::setattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::make_new_python_type(pybind11::detail::type_record const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:628: undefined reference to `PyObject_Malloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::str::raw_str(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1137: undefined reference to `PyObject_Str' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::make_new_python_type(pybind11::detail::type_record const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:602: undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster_generic::src_and_type(void const*, std::type_info const&, std::type_info const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:788: undefined reference to `PyExc_TypeError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:788: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `void pybind11::list::append<_object*>(_object*&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_property_readonly(char const*, long ( const&)(pyopencl::event const&), char const (&) [178])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::event* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [452])': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::event* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [452])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::event* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [452])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def_static(char const*, pyopencl::command_queue* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [460])': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def_static(char const*, pyopencl::command_queue* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [460])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def_static(char const*, pyopencl::command_queue* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [460])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def_static(char const*, pyopencl::context* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [454])': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def_static(char const*, pyopencl::context* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [454])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def_static(char const*, pyopencl::context* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [454])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::device* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [456])': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::device* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [456])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::device* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [456])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::platform* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [458])': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::platform* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [458])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::platform* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [458])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11_getbuffer': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:555: undefined reference to `PyExc_BufferError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:555: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11_getbuffer': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11_getbuffer': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:547: undefined reference to `PyExc_BufferError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:547: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::generic_type::mark_parents_nonsimple(_typeobject*) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:1933: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::weakref::weakref(pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1380: undefined reference to `PyWeakref_NewRef' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster_generic::cast(void const*, pybind11::return_value_policy, pybind11::handle, pybind11::detail::type_info const*, void* (*)(void const*), void* (*)(void const*), void const*)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::list::list(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1578: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `void pybind11::list::append(pybind11::object&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::get_platforms()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (long))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `void pybind11::list::append(long&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `void pybind11::list::append(unsigned long&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::device::get_info(unsigned int) const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `void pybind11::list::append(unsigned long&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::device::get_info(unsigned int) const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::memory_object_holder::get_info(unsigned int) const': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iter(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1836: undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::list::list(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1578: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `void pybind11::list::append(pybind11::object&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::device::create_sub_devices(pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::list::list(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1578: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `void pybind11::list::append(pybind11::object&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::platform::get_devices(unsigned long)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::list::list(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1578: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::event::get_info(unsigned int) const': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::list::list(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1578: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `void pybind11::list::append(pybind11::object&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::context::get_info(unsigned int) const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::list::list(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1578: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (long))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `void pybind11::list::append(pybind11::tuple&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::context::get_info(unsigned int) const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::command_queue::get_info(unsigned int) const': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::hasattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:473: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::list::size() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1581: undefined reference to `PyList_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::capsule::capsule(void const*, char const*, void (*)(_object*))': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1436: undefined reference to `PyCapsule_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::setattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::generic_type::initialize(pybind11::detail::type_record const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::list::size() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1581: undefined reference to `PyList_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::list_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:698: undefined reference to `PyList_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::~gil_scoped_release()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:157: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::~gil_scoped_release()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:157: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::~gil_scoped_release()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:157: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `bool pybind11::detail::object_api >::contains(char const (&) [9]) const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::add_class_method(pybind11::object&, char const*, pybind11::cpp_function const&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::setattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::add_class_method(pybind11::object&, char const*, pybind11::cpp_function const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::platform::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::platform::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::list (pyopencl::platform::*&&)(unsigned long), pybind11::arg_v const&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::list (pyopencl::platform::*&&)(unsigned long), pybind11::arg_v const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::platform::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::platform::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::device::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::device::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::device::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::device::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::list (pyopencl::device::*&&)(pybind11::object))': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::list (pyopencl::device::*&&)(pybind11::object))': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, pybind11::object (pyopencl::context::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, pybind11::object (pyopencl::context::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, long (pyopencl::context::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, long (pyopencl::context::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, pybind11::object (pyopencl::command_queue::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, pybind11::object (pyopencl::command_queue::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, void (pyopencl::command_queue::*&&)())': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, void (pyopencl::command_queue::*&&)())': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, long (pyopencl::command_queue::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_ >& pybind11::class_ >::def(char const*, long (pyopencl::command_queue::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::event::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::event::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::event::*&&)())': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::event::*&&)())': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::event::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::event::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::memory_object_holder::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::memory_object_holder::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (&)(pybind11::object, pybind11::object, pybind11::object, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (&)(pybind11::object, pybind11::object, pybind11::object, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::memory_object_holder::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::memory_object_holder::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::memory_object::*&&)())': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::memory_object::*&&)())': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl::buffer* (pyopencl::buffer::*&&)(unsigned long, unsigned long, unsigned long) const, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl::buffer* (pyopencl::buffer::*&&)(unsigned long, unsigned long, unsigned long) const, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::loader_life_support::get_stack_top()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:48: undefined reference to `PyThread_tss_get' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `bool pybind11::detail::type_caster_generic::load_impl(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:705: undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:767: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:724: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `bool pybind11::detail::type_caster_generic::load_impl(pybind11::handle, bool)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize::execute >, pybind11::arg, pybind11::arg_v, pybind11::arg_v, 0>(pybind11::class_ >&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, pyopencl::device const*, pybind11::object)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context const&, pyopencl::device const*, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(pybind11::class_ >&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context const&, pyopencl::device const*, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, unsigned long, pybind11::object), pyopencl::event* (*)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, unsigned long, pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pyopencl::event* (*)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, pybind11::object, bool), pyopencl::event* (*)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, pybind11::object, bool), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::slice::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1392: undefined reference to `PySlice_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pyopencl::buffer* (pyopencl::buffer::*)(pybind11::slice) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::buffer const*, pybind11::slice)#1}, pyopencl::buffer*, pyopencl::buffer const*, pybind11::slice, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(pyopencl::buffer* (pyopencl::buffer::*)(pybind11::slice) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::buffer const*, pybind11::slice)#1}&&, pyopencl::buffer* (*)(pyopencl::buffer const*, pybind11::slice), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, pybind11::object, unsigned long, pybind11::object), pyopencl::event* (*)(pyopencl::command_queue&, pybind11::object, unsigned long, pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (long))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, pybind11::object), pyopencl::event* (*)(pyopencl::command_queue&, pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pybind11::object (pyopencl::nanny_event::*)() const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::nanny_event const*)#1}, pybind11::object, pyopencl::nanny_event const*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(pybind11::object (pyopencl::nanny_event::*)() const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::nanny_event const*)#1}&&, pybind11::object (*)(pyopencl::nanny_event const*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (long))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (pyopencl::event::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::event*)#1}, void, pyopencl::event*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::event::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::event*)#1}&&, void (*)(pyopencl::event*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (pyopencl::event::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::event*)#1}, void, pyopencl::event*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::event::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::event*)#1}&&, void (*)(pyopencl::event*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (long))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (pyopencl::command_queue::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::command_queue*)#1}, void, pyopencl::command_queue*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::command_queue::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::command_queue*)#1}&&, void (*)(pyopencl::command_queue*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (pyopencl::command_queue::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::command_queue*)#1}, void, pyopencl::command_queue*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::command_queue::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::command_queue*)#1}&&, void (*)(pyopencl::command_queue*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (long))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pybind11::list (pyopencl::device::*)(pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::device*, pybind11::object)#1}, pybind11::list, pyopencl::device*, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(pybind11::list (pyopencl::device::*)(pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::device*, pybind11::object)#1}&&, pybind11::list (*)(pyopencl::device*, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (long))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pybind11::list (pyopencl::platform::*)(unsigned long), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&)::{lambda(pyopencl::platform*, unsigned long)#1}, pybind11::list, pyopencl::platform*, unsigned long, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg_v>(pybind11::cpp_function::initialize(pybind11::list (pyopencl::platform::*)(unsigned long), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&)::{lambda(pyopencl::platform*, unsigned long)#1}&&, pybind11::list (*)(pyopencl::platform*, unsigned long), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::parse_context_properties(pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:1163: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::tuple(pybind11::object&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1502: undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::len(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1801: undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::module_::import(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:1063: undefined reference to `PyImport_ImportModule' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::tuple::tuple(pybind11::object&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1502: undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::parse_context_properties(pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::len(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1801: undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iter(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1836: undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::~gil_scoped_release()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:157: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::wait_for_events(pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_fill_buffer(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, unsigned long, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2534: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_fill_buffer(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, unsigned long, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_copy_buffer_rect(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2494: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_copy_buffer_rect(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2498: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_copy_buffer_rect(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2499: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_copy_buffer_rect(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_write_buffer_rect(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2441: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_write_buffer_rect(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2445: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_write_buffer_rect(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2446: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_write_buffer_rect(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_read_buffer_rect(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2385: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_read_buffer_rect(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2389: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_read_buffer_rect(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2390: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_read_buffer_rect(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_copy_buffer(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, long, unsigned long, unsigned long, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2339: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_copy_buffer(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, long, unsigned long, unsigned long, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_write_buffer(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2295: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::~gil_scoped_release()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:157: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_write_buffer(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, pybind11::object, bool)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_read_buffer(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2252: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::gil_scoped_release::~gil_scoped_release()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:157: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_read_buffer(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, unsigned long, pybind11::object, bool)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_barrier_with_wait_list(pyopencl::command_queue&, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:1808: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_barrier_with_wait_list(pyopencl::command_queue&, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_marker_with_wait_list(pyopencl::command_queue&, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:1795: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_marker_with_wait_list(pyopencl::command_queue&, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_migrate_mem_objects(pyopencl::command_queue&, pybind11::object, unsigned long, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:1999: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_migrate_mem_objects(pyopencl::command_queue&, pybind11::object, unsigned long, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::len(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1801: undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iter(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1836: undefined reference to `PyObject_GetIter' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pyopencl::enqueue_wait_for_events(pyopencl::command_queue&, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (*&)(pyopencl::command_queue&), void (*)(pyopencl::command_queue&), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (pyopencl::memory_object::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_object*)#1}, void, pyopencl::memory_object*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::memory_object::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_object*)#1}&&, void (*)(pyopencl::memory_object*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (pyopencl::memory_object::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_object*)#1}, void, pyopencl::memory_object*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::memory_object::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_object*)#1}&&, void (*)(pyopencl::memory_object*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (*&)(pyopencl::command_queue&, pybind11::object), void (*)(pyopencl::command_queue&, pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `unsigned long pybind11::detail::as_unsigned(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1315: undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `unsigned long pybind11::detail::as_unsigned(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1316: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pybind11::object (pyopencl::memory_object_holder::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_object_holder const*, unsigned int)#1}, pybind11::object, pyopencl::memory_object_holder const*, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(pybind11::object (pyopencl::memory_object_holder::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_object_holder const*, unsigned int)#1}&&, pybind11::object (*)(pyopencl::memory_object_holder const*, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pybind11::object (pyopencl::event::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::event const*, unsigned int)#1}, pybind11::object, pyopencl::event const*, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(pybind11::object (pyopencl::event::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::event const*, unsigned int)#1}&&, pybind11::object (*)(pyopencl::event const*, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pybind11::object (pyopencl::command_queue::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::command_queue const*, unsigned int)#1}, pybind11::object, pyopencl::command_queue const*, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(pybind11::object (pyopencl::command_queue::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::command_queue const*, unsigned int)#1}&&, pybind11::object (*)(pyopencl::command_queue const*, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pybind11::object (pyopencl::context::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::context const*, unsigned int)#1}, pybind11::object, pyopencl::context const*, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(pybind11::object (pyopencl::context::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::context const*, unsigned int)#1}&&, pybind11::object (*)(pyopencl::context const*, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(pybind11::object (pyopencl::device::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::device const*, unsigned int)#1}, pybind11::object, pyopencl::device const*, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(pybind11::object (pyopencl::device::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::device const*, unsigned int)#1}&&, pybind11::object (*)(pyopencl::device const*, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (pyopencl::user_event::*)(int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::user_event*, int)#1}, void, pyopencl::user_event*, int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::user_event::*)(int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::user_event*, int)#1}&&, void (*)(pyopencl::user_event*, int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (pyopencl::user_event::*)(int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::user_event*, int)#1}, void, pyopencl::user_event*, int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::user_event::*)(int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::user_event*, int)#1}&&, void (*)(pyopencl::user_event*, int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (pyopencl::event::*)(int, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::event*, int, pybind11::object)#1}, void, pyopencl::event*, int, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::event::*)(int, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::event*, int, pybind11::object)#1}&&, void (*)(pyopencl::event*, int, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::cpp_function::initialize(void (pyopencl::event::*)(int, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::event*, int, pybind11::object)#1}, void, pyopencl::event*, int, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::event::*)(int, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::event*, int, pybind11::object)#1}&&, void (*)(pyopencl::event*, int, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_1.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::image_desc_dummy_getter(_cl_image_desc&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object::operator=(pybind11::object&&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `bool pybind11::detail::pyobject_caster::load(pybind11::handle, bool) [clone .constprop.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::string_caster, std::allocator >, false>::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:370: undefined reference to `PyUnicode_AsUTF8AndSize' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `bool pybind11::detail::string_caster, std::allocator >, false>::load_bytes(std::enable_if::value, pybind11::handle>::type)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:432: undefined reference to `PyBytes_AsString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:434: undefined reference to `PyBytes_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::string_caster, std::allocator >, false>::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:372: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `bool pybind11::detail::argument_loader::load_impl_sequence<0ul, 1ul>(pybind11::detail::function_call&, std::integer_sequence) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::len(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1801: undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::image_desc_set_shape(_cl_image_desc&, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::image_desc_set_pitches(_cl_image_desc&, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl_part_2.cpp:53: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple::tuple(pybind11::object&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1502: undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::image_desc_set_pitches(_cl_image_desc&, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple::tuple(pybind11::object&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1502: undefined reference to `PySequence_Tuple' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::image_desc_set_pitches(_cl_image_desc&, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster& pybind11::detail::load_type(pybind11::detail::type_caster&, pybind11::handle const&) [clone .isra.0]': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::all_type_info_populate(_typeobject*, std::vector >&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_property(char const*, pyopencl_expose_part_2(pybind11::module_&)::{lambda(cl_device_topology_amd&)#10} const&, pyopencl_expose_part_2(pybind11::module_&)::{lambda(cl_device_topology_amd&, unsigned int)#11} const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_property(char const*, pyopencl_expose_part_2(pybind11::module_&)::{lambda(cl_device_topology_amd&)#12} const&, pyopencl_expose_part_2(pybind11::module_&)::{lambda(cl_device_topology_amd&, signed char)#13} const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_desc>& pybind11::class_<_cl_image_desc>::def_property(char const*, pybind11::object (* const&)(_cl_image_desc&), pybind11::cpp_function const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_desc>& pybind11::class_<_cl_image_desc>::def_property(char const*, pybind11::object (* const&)(_cl_image_desc&), pybind11::cpp_function const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_desc>& pybind11::class_<_cl_image_desc>::def_property(char const*, pybind11::object (* const&)(_cl_image_desc&), pybind11::cpp_function const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pybind11::object (&)(pybind11::object, unsigned int, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pybind11::object (&)(pybind11::object, unsigned int, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pybind11::object, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pybind11::object, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, bool (*&&)()) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, bool (*&&)()) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::kernel&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::kernel&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_property_readonly(char const*, unsigned long (pyopencl::local_memory::* const&)() const) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_property_readonly(char const*, long ( const&)(pyopencl::kernel const&), char const (&) [179]) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, void (&)(pyopencl::platform&)) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, void (&)(pyopencl::platform&)) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def, std::allocator > const&)>(char const*, pyopencl::program* (&)(pyopencl::context&, std::__cxx11::basic_string, std::allocator > const&)) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def, std::allocator > const&)>(char const*, pyopencl::program* (&)(pyopencl::context&, std::__cxx11::basic_string, std::allocator > const&)) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_property_readonly(char const*, long ( const&)(pyopencl::program const&), char const (&) [180]) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_property_readonly(char const*, long ( const&)(pyopencl::sampler const&), char const (&) [180]) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pybind11::sequence, unsigned long, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pybind11::sequence, unsigned long, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::svm_arg_wrapper&, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::svm_arg_wrapper&, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, unsigned int, unsigned long, pyopencl::svm_arg_wrapper&, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, unsigned int, unsigned long, pyopencl::svm_arg_wrapper&, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::svm_arg_wrapper&, pybind11::object, pybind11::object, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::svm_arg_wrapper&, pybind11::object, pybind11::object, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, unsigned int, pyopencl::svm_arg_wrapper&, pyopencl::svm_arg_wrapper&, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, unsigned int, pyopencl::svm_arg_wrapper&, pyopencl::svm_arg_wrapper&, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::object (&)(std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::object (&)(std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def, pyopencl::memory_object_holder&, unsigned long, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::object (&)(std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def, pyopencl::memory_object_holder&, unsigned long, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::object (&)(std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::image&, pybind11::object, pybind11::object, pybind11::object, unsigned long, unsigned long, pybind11::object, bool), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::module_& pybind11::module_::def(char const*, pyopencl::event* (&)(pyopencl::command_queue&, pyopencl::image&, pybind11::object, pybind11::object, pybind11::object, unsigned long, unsigned long, pybind11::object, bool), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_format>& pybind11::class_<_cl_image_format>::def_property_readonly(char const*, unsigned int (* const&)(_cl_image_format const&)) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, signed char, signed char, signed char)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, signed char, signed char, signed char)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, int, unsigned int, unsigned int)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, int, unsigned int, unsigned int)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, pybind11::sequence, pybind11::sequence)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, pybind11::sequence, pybind11::sequence)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def, std::allocator > const&)#4}, pybind11::detail::void_type (*)(), pyopencl::program* (pyopencl::context&, std::__cxx11::basic_string, std::allocator > const&), pybind11::detail::void_type ()>::execute, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, std::__cxx11::basic_string, std::allocator > const&)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def, std::allocator > const&)#4}, pybind11::detail::void_type (*)(), pyopencl::program* (pyopencl::context&, std::__cxx11::basic_string, std::allocator > const&), pybind11::detail::void_type ()>::execute, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, std::__cxx11::basic_string, std::allocator > const&)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_format>& pybind11::class_<_cl_image_format>::def::execute>(pybind11::class_<_cl_image_format>&) &&::{lambda(pybind11::detail::value_and_holder&, unsigned int, unsigned int)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_<_cl_image_format>&&, pybind11::detail::is_new_style_constructor const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_format>& pybind11::class_<_cl_image_format>::def::execute>(pybind11::class_<_cl_image_format>&) &&::{lambda(pybind11::detail::value_and_holder&, unsigned int, unsigned int)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_<_cl_image_format>&&, pybind11::detail::is_new_style_constructor const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, _cl_image_desc&, pybind11::object)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, _cl_image_desc&, pybind11::object)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, pybind11::sequence, pybind11::sequence, pybind11::object)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, pybind11::sequence, pybind11::sequence, pybind11::object)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, 0>(pybind11::class_&, pybind11::arg const&)::{lambda(pybind11::detail::value_and_holder&, unsigned long)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, 0>(pybind11::class_&, pybind11::arg const&)::{lambda(pybind11::detail::value_and_holder&, unsigned long)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::kernel const&, pyopencl::kernel const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::kernel const&, pyopencl::kernel const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def, std::allocator > const&>::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::program const&, std::__cxx11::basic_string, std::allocator > const&)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def, std::allocator > const&>::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::program const&, std::__cxx11::basic_string, std::allocator > const&)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::program const&, pyopencl::program const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::program const&, pyopencl::program const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::sampler const&, pyopencl::sampler const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::sampler const&, pyopencl::sampler const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, bool, unsigned int, unsigned int)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, bool, unsigned int, unsigned int)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, pybind11::sequence)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, pybind11::sequence)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::svm_allocation const&, pyopencl::svm_allocation const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (*&&)(pyopencl::svm_allocation const&, pyopencl::svm_allocation const&), pybind11::is_operator const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def, unsigned long, unsigned int, unsigned long>::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, std::shared_ptr, unsigned long, unsigned int, unsigned long)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def, unsigned long, unsigned int, unsigned long>::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, std::shared_ptr, unsigned long, unsigned int, unsigned long)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pybind11::object)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pybind11::object)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_desc>& pybind11::class_<_cl_image_desc>::def::execute, , 0>(pybind11::class_<_cl_image_desc>&)::{lambda(pybind11::detail::value_and_holder&)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_<_cl_image_desc>&&, pybind11::detail::is_new_style_constructor const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_desc>& pybind11::class_<_cl_image_desc>::def::execute, , 0>(pybind11::class_<_cl_image_desc>&)::{lambda(pybind11::detail::value_and_holder&)#1}, pybind11::detail::is_new_style_constructor>(char const*, pybind11::class_<_cl_image_desc>&&, pybind11::detail::is_new_style_constructor const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::gl_texture::*&&)(unsigned int)) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::gl_texture::*&&)(unsigned int)) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl::event* (pyopencl::memory_map::*&&)(pyopencl::command_queue*, pybind11::object), pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl::event* (pyopencl::memory_map::*&&)(pyopencl::command_queue*, pybind11::object), pybind11::arg_v const&, pybind11::arg_v const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object::object(pybind11::handle, pybind11::object::borrowed_t)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:301: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, decltype(nullptr)&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, char const (&) [2], char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, char const (&) [1], char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, pybind11::list&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, char const (&) [1], char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, char const (&) [1], char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl_expose_part_2(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, pybind11::list&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl_expose_part_2(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: more undefined references to `PyErr_Clear' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize, std::allocator > const&)#4}, pybind11::detail::void_type (*)(), pyopencl::program* (pyopencl::context&, std::__cxx11::basic_string, std::allocator > const&), pybind11::detail::void_type ()>::execute, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, std::__cxx11::basic_string, std::allocator > const&)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context&, std::__cxx11::basic_string, std::allocator > const&, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context&, std::__cxx11::basic_string, std::allocator > const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, _cl_image_desc&, pybind11::object)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, _cl_image_desc&, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, _cl_image_desc&, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::sequence::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1558: undefined reference to `PySequence_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1558: undefined reference to `PySequence_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, pybind11::sequence, pybind11::sequence, pybind11::object)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, pybind11::sequence, pybind11::sequence, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, pybind11::sequence, pybind11::sequence, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, pybind11::sequence, pybind11::sequence, pybind11::object)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, pybind11::sequence, pybind11::sequence, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context const&, unsigned long, _cl_image_format const&, pybind11::sequence, pybind11::sequence, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (signed char))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(signed char, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::sequence::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1558: undefined reference to `PySequence_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1558: undefined reference to `PySequence_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, pybind11::sequence, pybind11::sequence)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context&, pybind11::sequence, pybind11::sequence, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context&, pybind11::sequence, pybind11::sequence), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (signed char))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(signed char, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute>(pybind11::class_<_cl_image_format>&) &&::{lambda(pybind11::detail::value_and_holder&, unsigned int, unsigned int)#1}, void, pybind11::detail::value_and_holder&, unsigned int, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_<_cl_image_format>&&, void (*)(pybind11::detail::value_and_holder&, unsigned int, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl_expose_part_2(pybind11::module_&)::{lambda(cl_device_topology_amd&, unsigned int)#11} const&, void (*)(cl_device_topology_amd&, unsigned int))::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&) &&::{lambda(pybind11::detail::value_and_holder&, signed char, signed char, signed char)#1}, void, pybind11::detail::value_and_holder&, signed char, signed char, signed char, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, signed char, signed char, signed char), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl_expose_part_2(pybind11::module_&)::{lambda(cl_device_topology_amd&, signed char)#15} const&, void (*)(cl_device_topology_amd&, signed char))::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl_expose_part_2(pybind11::module_&)::{lambda(cl_device_topology_amd&, signed char)#17} const&, void (*)(cl_device_topology_amd&, signed char))::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl_expose_part_2(pybind11::module_&)::{lambda(cl_device_topology_amd&, signed char)#13} const&, void (*)(cl_device_topology_amd&, signed char))::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, int, unsigned int, unsigned int)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, int, unsigned int, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, int, unsigned int, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, int, unsigned int, unsigned int)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, int, unsigned int, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, int, unsigned int, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, int, unsigned int, unsigned int)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, int, unsigned int, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context&, unsigned long, unsigned int, int, unsigned int, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::value_error::set_error() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:853: undefined reference to `PyExc_ValueError' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:853: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, , 0>(pybind11::class_<_cl_image_desc>&)::{lambda(pybind11::detail::value_and_holder&)#1}, void, pybind11::detail::value_and_holder&, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_<_cl_image_desc>&&, void (*)(pybind11::detail::value_and_holder&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::str (*&)(pybind11::handle), pybind11::str (*)(pybind11::handle), pybind11::name const&, pybind11::is_method const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: more undefined references to `PyBuffer_Release' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::sequence::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1558: undefined reference to `PySequence_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::array::~array()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple pybind11::make_tuple<(pybind11::return_value_policy)1, pybind11::object&, pybind11::object, unsigned long&, unsigned long&>(pybind11::object&, pybind11::object&&, unsigned long&, unsigned long&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::setattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::int_::int_(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1325: undefined reference to `PyNumber_Long' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&)#25}&&, pybind11::int_ (*)(pybind11::object const&), pybind11::name const&, pybind11::is_method const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&)#24}&&, pybind11::int_ (*)(pybind11::object const&), pybind11::name const&, pybind11::is_method const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::object_api::operator&(pybind11::detail::object_api const&) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1911: undefined reference to `PyNumber_And' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::object_api::operator|(pybind11::detail::object_api const&) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1909: undefined reference to `PyNumber_Or' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::object_api::operator^(pybind11::detail::object_api const&) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1913: undefined reference to `PyNumber_Xor' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::object_api::operator~() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1899: undefined reference to `PyNumber_Invert' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&)#17}&&, pybind11::object (*)(pybind11::object const&), pybind11::name const&, pybind11::is_method const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::setattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::kernel::set_arg_buf(unsigned int, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:4324: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::dict::raw_dict(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1552: undefined reference to `PyDict_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1552: undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::iterator_policies::dict_readonly::increment()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:842: undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::str::raw_str(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1137: undefined reference to `PyObject_Str' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::int_::int_(int)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1334: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::accessor_policies::generic_item::get(pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:664: undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::handle)#3}::operator()[abi:cxx11](pybind11::handle) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:1742: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::iterator_policies::dict_readonly::increment()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:842: undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::str::raw_str(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1137: undefined reference to `PyObject_Str' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize, std::allocator >, pybind11::handle, pybind11::name>(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::handle)#3}&&, std::__cxx11::basic_string, std::allocator > (*)(pybind11::handle), pybind11::name const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::create_image_from_desc(pyopencl::context const&, unsigned long, _cl_image_format const&, _cl_image_desc&, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2867: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::create_image_from_desc(pyopencl::context const&, unsigned long, _cl_image_format const&, _cl_image_desc&, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2869: undefined reference to `PyExc_UserWarning' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2869: undefined reference to `PyErr_WarnEx' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pybind11::object)#1}, void, pybind11::detail::value_and_holder&, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::dict::dict()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1529: undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::iterator_policies::dict_readonly::increment()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:842: undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::int_::int_(int)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1334: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::accessor_policies::generic_item::get(pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:664: undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::accessor_policies::generic_item::set(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:670: undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::iterator_policies::dict_readonly::increment()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:842: undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::dict::raw_dict(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1552: undefined reference to `PyDict_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1552: undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::handle)#4}&&, pybind11::dict (*)(pybind11::handle), pybind11::name const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::dict::dict()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1529: undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::dict::raw_dict(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1552: undefined reference to `PyDict_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1552: undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::str::str(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `bool pybind11::dict::contains(pybind11::str&) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1544: undefined reference to `PyDict_Contains' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::accessor_policies::generic_item::set(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:670: undefined reference to `PyObject_SetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::enum_base::value(char const*, pybind11::object, char const*)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::enum_base::value(char const*, pybind11::object, char const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::str::raw_str(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1137: undefined reference to `PyObject_Str' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1137: undefined reference to `PyObject_Str' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::object_api::rich_compare(pybind11::detail::object_api const&, int) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1875: undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::dict::raw_dict(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1552: undefined reference to `PyDict_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1552: undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::iterator_policies::dict_readonly::increment()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:842: undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::int_::int_(int)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1334: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::accessor_policies::generic_item::get(pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:664: undefined reference to `PyObject_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::iterator_policies::dict_readonly::increment()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:842: undefined reference to `PyDict_Next' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::str::str(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::enum_name(pybind11::handle)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::str::raw_str(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1137: undefined reference to `PyObject_Str' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::enum_name(pybind11::handle)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#23}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#23}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#22}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#22}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#21}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#21}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#20}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#20}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#19}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#18}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#16}&&, pybind11::object (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#10}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#9}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#9}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#8}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#8}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#7}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#7}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#6}::operator()(pybind11::object const&, pybind11::object const&) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:1791: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#6}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#6}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#5}::operator()(pybind11::object const&, pybind11::object const&) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:1790: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#5}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&, pybind11::object const&)#5}&&, bool (*)(pybind11::object const&, pybind11::object const&), pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::list::list(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1578: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `void pybind11::list::append(unsigned long&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::kernel::get_work_group_info(unsigned int, pyopencl::device const&) const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::_Tuple_impl<2ul, pybind11::detail::type_caster, pybind11::detail::type_caster, pybind11::detail::type_caster, pybind11::detail::type_caster, pybind11::detail::type_caster, pybind11::detail::type_caster, pybind11::detail::type_caster >::~_Tuple_impl()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple pybind11::make_tuple<(pybind11::return_value_policy)1, pybind11::cpp_function, pybind11::none, pybind11::none, char const (&) [1]>(pybind11::cpp_function&&, pybind11::none&&, pybind11::none&&, char const (&) [1])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::object_api::operator()<(pybind11::return_value_policy)1, pybind11::cpp_function, pybind11::none, pybind11::none, char const (&) [1]>(pybind11::cpp_function&&, pybind11::none&&, pybind11::none&&, char const (&) [1]) const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, 0>(pybind11::class_&, pybind11::arg const&)::{lambda(pybind11::detail::value_and_holder&, unsigned long)#1}, void, pybind11::detail::value_and_holder&, unsigned long, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, unsigned long), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::len(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1801: undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::sequence::end() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1569: undefined reference to `PySequence_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::sequence_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:679: undefined reference to `PySequence_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::sampler::sampler(pyopencl::context const&, pybind11::sequence)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::create_image(pyopencl::context const&, unsigned long, _cl_image_format const&, pybind11::sequence, pybind11::sequence, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2721: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2730: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::sequence_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:679: undefined reference to `PySequence_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:679: undefined reference to `PySequence_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:679: undefined reference to `PySequence_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::create_image(pyopencl::context const&, unsigned long, _cl_image_format const&, pybind11::sequence, pybind11::sequence, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2810: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::sequence_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:679: undefined reference to `PySequence_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:679: undefined reference to `PySequence_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:679: undefined reference to `PySequence_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:679: undefined reference to `PySequence_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::create_image(pyopencl::context const&, unsigned long, _cl_image_format const&, pybind11::sequence, pybind11::sequence, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2777: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::sequence_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:679: undefined reference to `PySequence_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_property_static(char const*, pybind11::cpp_function const&, pybind11::cpp_function const&, pybind11::is_method const&, pybind11::return_value_policy const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_property_static(char const*, pybind11::cpp_function const&, pybind11::cpp_function const&, pybind11::is_method const&, pybind11::return_value_policy const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::kernel* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [453])': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::kernel* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [453])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::kernel* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [453])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::program* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [454])': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::program* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [454])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::program* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [454])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static, std::allocator > const&, pybind11::object), pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(char const*, pyopencl::program* (*&&)(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static, std::allocator > const&, pybind11::object), pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(char const*, pyopencl::program* (*&&)(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static, std::allocator > const&, pybind11::object), pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(char const*, pyopencl::program* (*&&)(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&, pybind11::object), pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static, std::allocator > const&), pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pyopencl::program* (&)(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static, std::allocator > const&), pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pyopencl::program* (&)(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static, std::allocator > const&), pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pyopencl::program* (&)(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&), pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::sampler* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [454])': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::setattr(pybind11::handle, pybind11::handle, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:513: undefined reference to `PyObject_SetAttr' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::sampler* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [454])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::staticmethod::staticmethod(pybind11::object const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1633: undefined reference to `PyStaticMethod_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def_static(char const*, pyopencl::sampler* (&)(long, bool), pybind11::arg const&, pybind11::arg_v const&, char const (&) [454])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_format>& pybind11::class_<_cl_image_format>::def_readwrite<_cl_image_format, unsigned int>(char const*, unsigned int _cl_image_format::*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_format>& pybind11::class_<_cl_image_format>::def_readwrite<_cl_image_format, unsigned int>(char const*, unsigned int _cl_image_format::*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_desc>& pybind11::class_<_cl_image_desc>::def_readwrite<_cl_image_desc, unsigned long>(char const*, unsigned long _cl_image_desc::*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_desc>& pybind11::class_<_cl_image_desc>::def_readwrite<_cl_image_desc, unsigned long>(char const*, unsigned long _cl_image_desc::*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_desc>& pybind11::class_<_cl_image_desc>::def_readwrite<_cl_image_desc, unsigned int>(char const*, unsigned int _cl_image_desc::*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_desc>& pybind11::class_<_cl_image_desc>::def_readwrite<_cl_image_desc, unsigned int>(char const*, unsigned int _cl_image_desc::*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `void pybind11::list::append(pybind11::object&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `void pybind11::list::append(unsigned long&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::program::get_info(unsigned int) const': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3898: undefined reference to `PyBytes_FromStringAndSize' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `void pybind11::list::append(pybind11::object&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::program::get_info(unsigned int) const': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl::kernel* (*&)(long, bool), pyopencl::kernel* (*)(long, bool), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg_v const&, char const (&) [453])::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::list::list(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1578: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `void pybind11::list::append<_cl_image_format&>(_cl_image_format&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::get_supported_image_formats(pyopencl::context const&, unsigned long, unsigned int)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::image::get_image_info(unsigned int) const': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl::sampler* (*&)(long, bool), pyopencl::sampler* (*)(long, bool), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg_v const&, char const (&) [454])::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::list::list(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1578: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `void pybind11::list::append(pybind11::object&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::create_kernels_in_program(pyopencl::program&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::enum_::value(char const*, pyopencl::program::program_kind_type, char const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::sampler::get_info(unsigned int) const': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::kernel::get_info(unsigned int) const': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl::program* (*&)(long, bool), pyopencl::program* (*)(long, bool), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg_v const&, char const (&) [454])::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::dict::dict()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1529: undefined reference to `PyDict_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyProperty_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object::object(pybind11::handle, pybind11::object::borrowed_t)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:301: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_desc>& pybind11::class_<_cl_image_desc>::def_property(char const*, pybind11::object (* const&)(_cl_image_desc&), void ( const&)(_cl_image_desc&, pybind11::object))': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_desc>& pybind11::class_<_cl_image_desc>::def_property(char const*, pybind11::object (* const&)(_cl_image_desc&), void ( const&)(_cl_image_desc&, pybind11::object))': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_desc>::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_<_cl_image_format>::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::svm_allocation::*&&)())': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::svm_allocation::*&&)())': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::svm_allocation::*&&)(pyopencl::command_queue&, pybind11::object), char const (&) [57])': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::svm_allocation::*&&)(pyopencl::command_queue&, pybind11::object), char const (&) [57])': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::svm_allocation::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::svm_allocation::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::sampler::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::sampler::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::sampler::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::sampler::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl::program::program_kind_type (pyopencl::program::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl::program::program_kind_type (pyopencl::program::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::program::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::program::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::program::*&&)(pyopencl::device const&, unsigned int) const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::program::*&&)(pyopencl::device const&, unsigned int) const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def, std::allocator >, pybind11::object), pybind11::arg_v, pybind11::arg_v>(char const*, void (pyopencl::program::*&&)(std::__cxx11::basic_string, std::allocator >, pybind11::object), pybind11::arg_v const&, pybind11::arg_v const&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def, std::allocator >, pybind11::object), pybind11::arg_v, pybind11::arg_v>(char const*, void (pyopencl::program::*&&)(std::__cxx11::basic_string, std::allocator >, pybind11::object), pybind11::arg_v const&, pybind11::arg_v const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def, std::allocator >, pybind11::object, pybind11::object), pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(char const*, void (pyopencl::program::*&&)(std::__cxx11::basic_string, std::allocator >, pybind11::object, pybind11::object), pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def, std::allocator >, pybind11::object, pybind11::object), pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(char const*, void (pyopencl::program::*&&)(std::__cxx11::basic_string, std::allocator >, pybind11::object, pybind11::object), pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::program::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::program::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::list (&)(pyopencl::program&))': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::list (&)(pyopencl::program&))': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::kernel::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::kernel::*&&)(unsigned int) const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::kernel::*&&)(unsigned int, pyopencl::device const&) const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::kernel::*&&)(unsigned int, pyopencl::device const&) const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::kernel::*&&)(unsigned int))': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::kernel::*&&)(unsigned int))': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::kernel::*&&)(unsigned int, pyopencl::svm_arg_wrapper const&))': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::kernel::*&&)(unsigned int, pyopencl::svm_arg_wrapper const&))': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::kernel::*&&)(unsigned int, pybind11::object))': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, void (pyopencl::kernel::*&&)(unsigned int, pybind11::object))': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::kernel::*&&)(unsigned int, unsigned int) const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::object (pyopencl::kernel::*&&)(unsigned int, unsigned int) const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::kernel::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, long (pyopencl::kernel::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::tuple (&)(pyopencl::memory_object_holder const&))': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_& pybind11::class_::def(char const*, pybind11::tuple (&)(pyopencl::memory_object_holder const&))': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::enum_::enum_<>(pybind11::handle const&, char const*)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::setattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::enum_::enum_<>(pybind11::handle const&, char const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple pybind11::make_tuple<(pybind11::return_value_policy)1, pybind11::object&, pybind11::str, pybind11::int_>(pybind11::object&, pybind11::str&&, pybind11::int_&&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::str::str(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::str::raw_str(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1137: undefined reference to `PyObject_Str' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&)#1}&&, pybind11::str (*)(pybind11::object const&), pybind11::name const&, pybind11::is_method const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::str::str(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::object const&)#1}&&, pybind11::str (*)(pybind11::object const&), pybind11::name const&, pybind11::is_method const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::str::str(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::str::raw_str(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1137: undefined reference to `PyObject_Str' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::str::str(char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1085: undefined reference to `PyUnicode_FromString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::detail::enum_base::init(bool, bool)::{lambda(pybind11::handle)#2}&&, pybind11::str (*)(pybind11::handle), pybind11::name const&, pybind11::is_method const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize, std::allocator > const&>::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::program const&, std::__cxx11::basic_string, std::allocator > const&)#1}, void, pybind11::detail::value_and_holder&, pyopencl::program const&, std::__cxx11::basic_string, std::allocator > const&, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::program const&, std::__cxx11::basic_string, std::allocator > const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::sequence::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1558: undefined reference to `PySequence_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, pybind11::sequence)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context const&, pybind11::sequence, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context const&, pybind11::sequence), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::object (*&)(_cl_image_desc&), pybind11::object (*)(_cl_image_desc&))::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, pybind11::object, pybind11::object), pyopencl::event* (*)(pyopencl::command_queue&, pybind11::object, pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::tuple (*&)(pyopencl::memory_object_holder const&), pybind11::tuple (*)(pyopencl::memory_object_holder const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, pyopencl::kernel&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pyopencl::event* (*)(pyopencl::command_queue&, pyopencl::kernel&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (long))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(void (*&)(pyopencl::platform&), void (*)(pyopencl::platform&), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (long))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::list (*&)(pyopencl::program&), pybind11::list (*)(pyopencl::program&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize, std::allocator > const&, pybind11::object), pyopencl::program*, pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&, pybind11::object, pybind11::name, pybind11::scope, pybind11::sibling, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v>(pyopencl::program* (*&)(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&, pybind11::object), pyopencl::program* (*)(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&, pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize, std::allocator >, pybind11::object, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(void (pyopencl::program::*)(std::__cxx11::basic_string, std::allocator >, pybind11::object, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pyopencl::program*, std::__cxx11::basic_string, std::allocator >, pybind11::object, pybind11::object)#1}, void, pyopencl::program*, std::__cxx11::basic_string, std::allocator >, pybind11::object, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::cpp_function::initialize, std::allocator >, pybind11::object, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(void (pyopencl::program::*)(std::__cxx11::basic_string, std::allocator >, pybind11::object, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pyopencl::program*, std::__cxx11::basic_string, std::allocator >, pybind11::object, pybind11::object)#1}&&, void (*)(pyopencl::program*, std::__cxx11::basic_string, std::allocator >, pybind11::object, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize, std::allocator >, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg_v, pybind11::arg_v>(void (pyopencl::program::*)(std::__cxx11::basic_string, std::allocator >, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pyopencl::program*, std::__cxx11::basic_string, std::allocator >, pybind11::object)#1}, void, pyopencl::program*, std::__cxx11::basic_string, std::allocator >, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg_v, pybind11::arg_v>(pybind11::cpp_function::initialize, std::allocator >, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg_v, pybind11::arg_v>(void (pyopencl::program::*)(std::__cxx11::basic_string, std::allocator >, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pyopencl::program*, std::__cxx11::basic_string, std::allocator >, pybind11::object)#1}&&, void (*)(pyopencl::program*, std::__cxx11::basic_string, std::allocator >, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize, std::allocator > const&), pyopencl::program*, pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&, pybind11::name, pybind11::scope, pybind11::sibling, pybind11::arg, pybind11::arg, pybind11::arg>(pyopencl::program* (*&)(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&), pyopencl::program* (*)(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (long))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::sequence::check_(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1558: undefined reference to `PySequence_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, pybind11::sequence, unsigned long, pybind11::object), pyopencl::event* (*)(pyopencl::command_queue&, pybind11::sequence, unsigned long, pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, pyopencl::svm_arg_wrapper&, pybind11::object), pyopencl::event* (*)(pyopencl::command_queue&, pyopencl::svm_arg_wrapper&, pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (long))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(void (pyopencl::svm_allocation::*)(pyopencl::command_queue&, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, char const (&) [57])::{lambda(pyopencl::svm_allocation*, pyopencl::command_queue&, pybind11::object)#1}, void, pyopencl::svm_allocation*, pyopencl::command_queue&, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, char [57]>(pybind11::cpp_function::initialize(void (pyopencl::svm_allocation::*)(pyopencl::command_queue&, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, char const (&) [57])::{lambda(pyopencl::svm_allocation*, pyopencl::command_queue&, pybind11::object)#1}&&, void (*)(pyopencl::svm_allocation*, pyopencl::command_queue&, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, char const (&) [57])::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(void (pyopencl::svm_allocation::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::svm_allocation*)#1}, void, pyopencl::svm_allocation*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::svm_allocation::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::svm_allocation*)#1}&&, void (*)(pyopencl::svm_allocation*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(void (pyopencl::svm_allocation::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::svm_allocation*)#1}, void, pyopencl::svm_allocation*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::svm_allocation::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::svm_allocation*)#1}&&, void (*)(pyopencl::svm_allocation*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (pyopencl::memory_map::*)(pyopencl::command_queue*, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pyopencl::memory_map*, pyopencl::command_queue*, pybind11::object)#1}, pyopencl::event*, pyopencl::memory_map*, pyopencl::command_queue*, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg_v, pybind11::arg_v>(pybind11::cpp_function::initialize(pyopencl::event* (pyopencl::memory_map::*)(pyopencl::command_queue*, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pyopencl::memory_map*, pyopencl::command_queue*, pybind11::object)#1}&&, pyopencl::event* (*)(pyopencl::memory_map*, pyopencl::command_queue*, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object), pyopencl::event* (*)(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, pyopencl::image&, pybind11::object, pybind11::object, pybind11::object, unsigned long, unsigned long, pybind11::object, bool), pyopencl::event* (*)(pyopencl::command_queue&, pyopencl::image&, pybind11::object, pybind11::object, pybind11::object, unsigned long, unsigned long, pybind11::object, bool), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(void (*&)(_cl_image_desc&, pyopencl::memory_object*), void (*)(_cl_image_desc&, pyopencl::memory_object*))::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::def_readwrite<_cl_image_desc, unsigned long>(char const*, unsigned long _cl_image_desc::*)::{lambda(_cl_image_desc&, unsigned long const&)#2}, void, _cl_image_desc&, unsigned long const&, pybind11::is_method>(pybind11::class_<_cl_image_desc>::def_readwrite<_cl_image_desc, unsigned long>(char const*, unsigned long _cl_image_desc::*)::{lambda(_cl_image_desc&, unsigned long const&)#2}&&, void (*)(_cl_image_desc&, unsigned long const&), pybind11::is_method const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(void (*&)(_cl_image_desc&, pybind11::object), void (*)(_cl_image_desc&, pybind11::object))::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::get_gl_context_info_khr(pybind11::object, unsigned int, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:4798: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::list::list(long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1578: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `void pybind11::list::append(pybind11::object&&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1588: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::get_gl_context_info_khr(pybind11::object, unsigned int, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::get_gl_context_info_khr(pybind11::object, unsigned int, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:4807: undefined reference to `PyExc_DeprecationWarning' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:4807: undefined reference to `PyErr_WarnEx' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::get_gl_context_info_khr(pybind11::object, unsigned int, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_nd_range_kernel(pyopencl::command_queue&, pyopencl::kernel&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:4527: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_nd_range_kernel(pyopencl::command_queue&, pyopencl::kernel&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:4536: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_nd_range_kernel(pyopencl::command_queue&, pyopencl::kernel&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_nd_range_kernel(pyopencl::command_queue&, pyopencl::kernel&, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:4563: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_svm_unmap(pyopencl::command_queue&, pyopencl::svm_arg_wrapper&, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3595: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_svm_unmap(pyopencl::command_queue&, pyopencl::svm_arg_wrapper&, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_svm_map(pyopencl::command_queue&, unsigned int, unsigned long, pyopencl::svm_arg_wrapper&, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3570: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_svm_map(pyopencl::command_queue&, unsigned int, unsigned long, pyopencl::svm_arg_wrapper&, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_svm_memfill(pyopencl::command_queue&, pyopencl::svm_arg_wrapper&, pybind11::object, pybind11::object, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3523: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_svm_memfill(pyopencl::command_queue&, pyopencl::svm_arg_wrapper&, pybind11::object, pybind11::object, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3542: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_svm_memfill(pyopencl::command_queue&, pyopencl::svm_arg_wrapper&, pybind11::object, pybind11::object, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_svm_memcpy(pyopencl::command_queue&, unsigned int, pyopencl::svm_arg_wrapper&, pyopencl::svm_arg_wrapper&, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3493: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_svm_memcpy(pyopencl::command_queue&, unsigned int, pyopencl::svm_arg_wrapper&, pyopencl::svm_arg_wrapper&, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::svm_allocation::enqueue_release(pyopencl::command_queue&, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3447: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::svm_allocation::enqueue_release(pyopencl::command_queue&, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::memory_map::release(pyopencl::command_queue*, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3188: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::memory_map::release(pyopencl::command_queue*, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::class_::dealloc(pybind11::detail::value_and_holder&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_fill_image(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3130: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_fill_image(pyopencl::command_queue&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_copy_buffer_to_image(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3103: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_copy_buffer_to_image(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_copy_image_to_buffer(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, unsigned long, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3074: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_copy_image_to_buffer(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, unsigned long, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_copy_image(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3044: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_copy_image(pyopencl::command_queue&, pyopencl::memory_object_holder&, pyopencl::memory_object_holder&, pybind11::object, pybind11::object, pybind11::object, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_write_image(pyopencl::command_queue&, pyopencl::image&, pybind11::object, pybind11::object, pybind11::object, unsigned long, unsigned long, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2998: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_write_image(pyopencl::command_queue&, pyopencl::image&, pybind11::object, pybind11::object, pybind11::object, unsigned long, unsigned long, pybind11::object, bool)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_read_image(pyopencl::command_queue&, pyopencl::image&, pybind11::object, pybind11::object, pybind11::object, unsigned long, unsigned long, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:2952: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_read_image(pyopencl::command_queue&, pyopencl::image&, pybind11::object, pybind11::object, pybind11::object, unsigned long, unsigned long, pybind11::object, bool)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_release_gl_objects(pyopencl::command_queue&, pybind11::object, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:4771: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_release_gl_objects(pyopencl::command_queue&, pybind11::object, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_acquire_gl_objects(pyopencl::command_queue&, pybind11::object, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:4770: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_acquire_gl_objects(pyopencl::command_queue&, pybind11::object, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_map_image(std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3304: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3305: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_map_image(std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:492: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:492: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_map_buffer(std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3222: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3223: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::sequence_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:679: undefined reference to `PySequence_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::get(_object*, int)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:520: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::sequence_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:679: undefined reference to `PySequence_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::create_program_with_binary(pyopencl::context&, pybind11::sequence, pybind11::sequence)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::create_program_with_binary(pyopencl::context&, pybind11::sequence, pybind11::sequence)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::py_buffer_wrapper::~py_buffer_wrapper()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:529: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::program::compile(std::__cxx11::basic_string, std::allocator >, pybind11::object, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3965: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::len(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1801: undefined reference to `PyObject_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:717: undefined reference to `PyTuple_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::program::compile(std::__cxx11::basic_string, std::allocator >, pybind11::object, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::gil_scoped_release::~gil_scoped_release()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:157: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::program::compile(std::__cxx11::basic_string, std::allocator >, pybind11::object, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::program::build(std::__cxx11::basic_string, std::allocator >, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3954: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::gil_scoped_release::gil_scoped_release(bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:136: undefined reference to `PyEval_SaveThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::gil_scoped_release::~gil_scoped_release()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/gil.h:157: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::program::build(std::__cxx11::basic_string, std::allocator >, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::create_program_with_built_in_kernels(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:4113: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::create_program_with_built_in_kernels(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::link_program(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:4175: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::link_program(pyopencl::context&, pybind11::object, std::__cxx11::basic_string, std::allocator > const&, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_svm_migratemem(pyopencl::command_queue&, pybind11::sequence, unsigned long, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:3621: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::iterator::advance()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1031: undefined reference to `PyIter_Next' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1032: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::sequence::end() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1569: undefined reference to `PySequence_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::object pybind11::detail::accessor_policies::sequence_item::get(pybind11::handle, unsigned long const&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:679: undefined reference to `PySequence_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::enqueue_svm_migratemem(pyopencl::command_queue&, pybind11::sequence, unsigned long, pybind11::object)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pyopencl::kernel::set_arg(unsigned int, pybind11::object)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_cl.hpp:4354: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (long))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, bool, unsigned int, unsigned int)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context const&, bool, unsigned int, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context const&, bool, unsigned int, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::context const&, bool, unsigned int, unsigned int)#1}, void, pybind11::detail::value_and_holder&, pyopencl::context const&, bool, unsigned int, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::context const&, bool, unsigned int, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::object (*&)(pybind11::object, unsigned int, pybind11::object), pybind11::object (*)(pybind11::object, unsigned int, pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(void (pyopencl::kernel::*)(unsigned int, pyopencl::svm_arg_wrapper const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::kernel*, unsigned int, pyopencl::svm_arg_wrapper const&)#1}, void, pyopencl::kernel*, unsigned int, pyopencl::svm_arg_wrapper const&, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::kernel::*)(unsigned int, pyopencl::svm_arg_wrapper const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::kernel*, unsigned int, pyopencl::svm_arg_wrapper const&)#1}&&, void (*)(pyopencl::kernel*, unsigned int, pyopencl::svm_arg_wrapper const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(void (pyopencl::kernel::*)(unsigned int, pyopencl::svm_arg_wrapper const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::kernel*, unsigned int, pyopencl::svm_arg_wrapper const&)#1}, void, pyopencl::kernel*, unsigned int, pyopencl::svm_arg_wrapper const&, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::kernel::*)(unsigned int, pyopencl::svm_arg_wrapper const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::kernel*, unsigned int, pyopencl::svm_arg_wrapper const&)#1}&&, void (*)(pyopencl::kernel*, unsigned int, pyopencl::svm_arg_wrapper const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(void (pyopencl::kernel::*)(unsigned int, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::kernel*, unsigned int, pybind11::object)#1}, void, pyopencl::kernel*, unsigned int, pybind11::object, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::kernel::*)(unsigned int, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::kernel*, unsigned int, pybind11::object)#1}&&, void (*)(pyopencl::kernel*, unsigned int, pybind11::object), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(void (pyopencl::kernel::*)(unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::kernel*, unsigned int)#1}, void, pyopencl::kernel*, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void (pyopencl::kernel::*)(unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::kernel*, unsigned int)#1}&&, void (*)(pyopencl::kernel*, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::object (pyopencl::kernel::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::kernel const*, unsigned int)#1}, pybind11::object, pyopencl::kernel const*, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(pybind11::object (pyopencl::kernel::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::kernel const*, unsigned int)#1}&&, pybind11::object (*)(pyopencl::kernel const*, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::object (pyopencl::program::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::program const*, unsigned int)#1}, pybind11::object, pyopencl::program const*, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(pybind11::object (pyopencl::program::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::program const*, unsigned int)#1}&&, pybind11::object (*)(pyopencl::program const*, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::enum_<>(pybind11::handle const&, char const*)::{lambda(pybind11::detail::value_and_holder&, unsigned int)#5}, void, pybind11::detail::value_and_holder&, unsigned int, pybind11::detail::is_new_style_constructor, pybind11::name, pybind11::is_method, pybind11::arg>(pybind11::enum_::enum_<>(pybind11::handle const&, char const*)::{lambda(pybind11::detail::value_and_holder&, unsigned int)#5}&&, void (*)(pybind11::detail::value_and_holder&, unsigned int), pybind11::detail::is_new_style_constructor const&, pybind11::name const&, pybind11::is_method const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::object (pyopencl::sampler::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::sampler const*, unsigned int)#1}, pybind11::object, pyopencl::sampler const*, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(pybind11::object (pyopencl::sampler::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::sampler const*, unsigned int)#1}&&, pybind11::object (*)(pyopencl::sampler const*, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, unsigned int, unsigned long, pyopencl::svm_arg_wrapper&, pybind11::object), pyopencl::event* (*)(pyopencl::command_queue&, unsigned int, unsigned long, pyopencl::svm_arg_wrapper&, pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pyopencl::event* (*&)(pyopencl::command_queue&, unsigned int, pyopencl::svm_arg_wrapper&, pyopencl::svm_arg_wrapper&, pybind11::object), pyopencl::event* (*)(pyopencl::command_queue&, unsigned int, pyopencl::svm_arg_wrapper&, pyopencl::svm_arg_wrapper&, pybind11::object), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::def_readwrite<_cl_image_format, unsigned int>(char const*, unsigned int _cl_image_format::*)::{lambda(_cl_image_format&, unsigned int const&)#2}, void, _cl_image_format&, unsigned int const&, pybind11::is_method>(pybind11::class_<_cl_image_format>::def_readwrite<_cl_image_format, unsigned int>(char const*, unsigned int _cl_image_format::*)::{lambda(_cl_image_format&, unsigned int const&)#2}&&, void (*)(_cl_image_format&, unsigned int const&), pybind11::is_method const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize(pybind11::object (pyopencl::image::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::image const*, unsigned int)#1}, pybind11::object, pyopencl::image const*, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(pybind11::object (pyopencl::image::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::image const*, unsigned int)#1}&&, pybind11::object (*)(pyopencl::image const*, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::def_readwrite<_cl_image_desc, unsigned int>(char const*, unsigned int _cl_image_desc::*)::{lambda(_cl_image_desc&, unsigned int const&)#2}, void, _cl_image_desc&, unsigned int const&, pybind11::is_method>(pybind11::class_<_cl_image_desc>::def_readwrite<_cl_image_desc, unsigned int>(char const*, unsigned int _cl_image_desc::*)::{lambda(_cl_image_desc&, unsigned int const&)#2}&&, void (*)(_cl_image_desc&, unsigned int const&), pybind11::is_method const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize::enum_<>(pybind11::handle const&, char const*)::{lambda(unsigned int)#1}, pybind11::detail::void_type (*)(), pyopencl::program::program_kind_type (unsigned int), pybind11::detail::void_type ()>::execute, pybind11::arg>(pybind11::class_&, pybind11::arg const&) &&::{lambda(pybind11::detail::value_and_holder&, unsigned int)#1}, void, pybind11::detail::value_and_holder&, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `bool pybind11::detail::type_caster_generic::load_impl, void> >(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:705: undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:767: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:724: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::object, std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool, pybind11::name, pybind11::scope, pybind11::sibling, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::object (*&)(std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::object (*)(std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize, pyopencl::memory_object_holder&, unsigned long, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::object, std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool, pybind11::name, pybind11::scope, pybind11::sibling, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v>(pybind11::object (*&)(std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::object (*)(std::shared_ptr, pyopencl::memory_object_holder&, unsigned long, unsigned long, pybind11::object, pybind11::object, pybind11::object, pybind11::object, pybind11::object, bool), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `bool pybind11::detail::type_caster_generic::load_impl, void> >(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:705: undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:767: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:724: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_cl_part_2.o: in function `pybind11::cpp_function::initialize, unsigned long, unsigned int, unsigned long>::execute, , 0>(pybind11::class_&)::{lambda(pybind11::detail::value_and_holder&, std::shared_ptr, unsigned long, unsigned int, unsigned long)#1}, void, pybind11::detail::value_and_holder&, std::shared_ptr, unsigned long, unsigned int, unsigned long, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, std::shared_ptr, unsigned long, unsigned int, unsigned long), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::string_caster, std::allocator >, false>::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:370: undefined reference to `PyUnicode_AsUTF8AndSize' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `bool pybind11::detail::string_caster, std::allocator >, false>::load_bytes(std::enable_if::value, pybind11::handle>::type)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:432: undefined reference to `PyBytes_AsString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:434: undefined reference to `PyBytes_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::string_caster, std::allocator >, false>::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:372: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::setattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `void pybind11::detail::accessor::operator=(int&&) && [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::all_type_info_populate(_typeobject*, std::vector >&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg, 0>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::value_and_holder&, char const*, int, char const*)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::class_& pybind11::class_::def::execute, pybind11::arg, pybind11::arg, pybind11::arg, 0>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::value_and_holder&, char const*, int, char const*)#1}, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(char const*, pybind11::class_&&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl::program* (pyopencl::error::*&&)() const) [clone .isra.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::class_& pybind11::class_::def(char const*, pyopencl::program* (pyopencl::error::*&&)() const) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::exception::~exception()': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::string_caster, std::allocator >, false>::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:370: undefined reference to `PyUnicode_AsUTF8AndSize' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `bool pybind11::detail::string_caster, std::allocator >, false>::load_bytes(std::enable_if::value, pybind11::handle>::type)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:432: undefined reference to `PyBytes_AsString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:434: undefined reference to `PyBytes_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::string_caster, std::allocator >, false>::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:372: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pyopencl_expose_constants(pybind11::module_&)::{lambda(std::__exception_ptr::exception_ptr)#1}::_FUN(std::__exception_ptr::exception_ptr) [clone .cold]': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_constants.cpp:115: undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `operator()': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_constants.cpp:117: undefined reference to `PyErr_SetObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_constants.cpp:119: undefined reference to `PyErr_SetObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/wrap_constants.cpp:121: undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::tuple::tuple(unsigned long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1506: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::simple_collector<(pybind11::return_value_policy)1>::call(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1227: undefined reference to `PyObject_CallObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `bool pybind11::detail::object_api >::contains(char const*&) const': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `bool pybind11::detail::object_api >::contains(char const*&) const': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:491: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::exception::exception(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:2224: undefined reference to `PyErr_NewException' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::hasattr(pybind11::handle, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:473: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::setattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:517: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::exception::exception(pybind11::handle, char const*, pybind11::handle)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::register_instance(pybind11::detail::instance*, void*, pybind11::detail::type_info const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::class_& pybind11::class_::def, std::allocator > const& (pyopencl::error::*)() const>(char const*, std::__cxx11::basic_string, std::allocator > const& (pyopencl::error::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::class_& pybind11::class_::def, std::allocator > const& (pyopencl::error::*)() const>(char const*, std::__cxx11::basic_string, std::allocator > const& (pyopencl::error::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::class_& pybind11::class_::def(char const*, int (pyopencl::error::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::class_& pybind11::class_::def(char const*, int (pyopencl::error::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::class_& pybind11::class_::def(char const*, char const* (std::runtime_error::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::class_& pybind11::class_::def(char const*, char const* (std::runtime_error::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (pyopencl::error::*&&)() const)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::class_& pybind11::class_::def(char const*, bool (pyopencl::error::*&&)() const)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::cpp_function::initialize(char const* (pyopencl::error::*)() const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::error const*)#1}, char const*, pyopencl::error const*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(char const* (pyopencl::error::*)() const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::error const*)#1}&&, char const* (*)(pyopencl::error const*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::type_caster::cast(bool, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:316: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::string_caster, std::allocator >, false>::decode_utfN(char const*, long)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:416: undefined reference to `PyUnicode_DecodeUTF8' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:467: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg, 0>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::value_and_holder&, char const*, int, char const*)#1}, void, pybind11::detail::value_and_holder&, char const*, int, char const*, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, char const*, int, char const*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:467: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::cpp_function::initialize::execute, pybind11::arg, pybind11::arg, pybind11::arg, 0>(pybind11::class_&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::value_and_holder&, char const*, int, char const*)#1}, void, pybind11::detail::value_and_holder&, char const*, int, char const*, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg, pybind11::arg>(pybind11::class_&&, void (*)(pybind11::detail::value_and_holder&, char const*, int, char const*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:155: undefined reference to `PyLong_AsLong' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_constants.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::string_caster, std::allocator >, false>::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:370: undefined reference to `PyUnicode_AsUTF8AndSize' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `bool pybind11::detail::string_caster, std::allocator >, false>::load_bytes(std::enable_if::value, pybind11::handle>::type)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:432: undefined reference to `PyBytes_AsString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:434: undefined reference to `PyBytes_Size' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::string_caster, std::allocator >, false>::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:372: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::all_type_info_populate(_typeobject*, std::vector >&) [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::class_, std::shared_ptr > >& pybind11::class_, std::shared_ptr > >::def_property_readonly::*)()>(char const*, unsigned int (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::* const&)()) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::get_function(pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:532: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:536: undefined reference to `PyMethod_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::capsule::name() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1497: undefined reference to `PyCapsule_GetName' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1481: undefined reference to `PyCapsule_GetPointer' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::class_, std::shared_ptr > >& pybind11::class_, std::shared_ptr > >::def_property_readonly::*)()>(char const*, unsigned int (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::* const&)()) [clone .constprop.0] [clone .isra.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::function_record* pybind11::capsule::get_pointer() const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1483: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::class_<(anonymous namespace)::cl_allocator_base>::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::class_<(anonymous namespace)::cl_deferred_allocator, (anonymous namespace)::cl_allocator_base>::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::class_<(anonymous namespace)::cl_immediate_allocator, (anonymous namespace)::cl_allocator_base>::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::class_, std::shared_ptr > >::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::class_<(anonymous namespace)::pooled_buffer, pyopencl::memory_object_holder>::init_instance(pybind11::detail::instance*, void const*)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::class_, std::shared_ptr > >& pybind11::class_, std::shared_ptr > >::def<(anonymous namespace)::pooled_buffer* (&)(std::shared_ptr >, unsigned long)>(char const*, (anonymous namespace)::pooled_buffer* (&)(std::shared_ptr >, unsigned long)) [clone .constprop.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::class_, std::shared_ptr > >& pybind11::class_, std::shared_ptr > >::def<(anonymous namespace)::pooled_buffer* (&)(std::shared_ptr >, unsigned long)>(char const*, (anonymous namespace)::pooled_buffer* (&)(std::shared_ptr >, unsigned long)) [clone .constprop.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::class_, std::shared_ptr > >& pybind11::class_, std::shared_ptr > >::def::*)()>(char const*, void (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::*&&)()) [clone .constprop.0]': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::class_, std::shared_ptr > >& pybind11::class_, std::shared_ptr > >::def::*)()>(char const*, void (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::*&&)()) [clone .constprop.0]': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pyopencl_expose_mempool(pybind11::module_&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pyopencl_expose_mempool(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pyopencl_expose_mempool(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pyopencl_expose_mempool(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pyopencl_expose_mempool(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pyopencl_expose_mempool(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pyopencl_expose_mempool(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_signed::value)&&((sizeof (int))<=(sizeof (long))), pybind11::handle>::type pybind11::detail::type_caster::cast(int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:190: undefined reference to `PyLong_FromSsize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::arg_v::arg_v(pybind11::arg&&, int&&, char const*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1058: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1059: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pyopencl_expose_mempool(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pyopencl_expose_mempool(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pyopencl_expose_mempool(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:505: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pyopencl_expose_mempool(pybind11::module_&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::getattr(pybind11::handle, char const*, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o:/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:508: more undefined references to `PyErr_Clear' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::error_scope::error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:897: undefined reference to `PyErr_Fetch' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::error_scope::~error_scope()': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/common.h:898: undefined reference to `PyErr_Restore' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize(void ((anonymous namespace)::pooled_buffer::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda((anonymous namespace)::pooled_buffer*)#1}, void, (anonymous namespace)::pooled_buffer*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void ((anonymous namespace)::pooled_buffer::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda((anonymous namespace)::pooled_buffer*)#1}&&, void (*)((anonymous namespace)::pooled_buffer*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize(void ((anonymous namespace)::pooled_buffer::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda((anonymous namespace)::pooled_buffer*)#1}, void, (anonymous namespace)::pooled_buffer*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize(void ((anonymous namespace)::pooled_buffer::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda((anonymous namespace)::pooled_buffer*)#1}&&, void (*)((anonymous namespace)::pooled_buffer*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:278: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:282: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:290: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:311: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize, bool, pybind11::name, pybind11::is_method, pybind11::sibling>(void (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::*)(bool), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, bool)#1}, void, pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, bool, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize, bool, pybind11::name, pybind11::is_method, pybind11::sibling>(void (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::*)(bool), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, bool)#1}&&, void (*)(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, bool), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1197: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `load_impl_sequence<0, 1>': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:1197: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize, bool, pybind11::name, pybind11::is_method, pybind11::sibling>(void (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::*)(bool), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, bool)#1}, void, pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, bool, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize, bool, pybind11::name, pybind11::is_method, pybind11::sibling>(void (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::*)(bool), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, bool)#1}&&, void (*)(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, bool), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize::execute, , 0>(pybind11::class_<(anonymous namespace)::cl_immediate_allocator, (anonymous namespace)::cl_allocator_base>&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::command_queue&, unsigned long)#1}, void, pybind11::detail::value_and_holder&, pyopencl::command_queue&, unsigned long, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_<(anonymous namespace)::cl_immediate_allocator, (anonymous namespace)::cl_allocator_base>&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::command_queue&, unsigned long), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize::execute, , 0>(pybind11::class_<(anonymous namespace)::cl_immediate_allocator, (anonymous namespace)::cl_allocator_base>&)::{lambda(pybind11::detail::value_and_holder&, pyopencl::command_queue&)#1}, void, pybind11::detail::value_and_holder&, pyopencl::command_queue&, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_<(anonymous namespace)::cl_immediate_allocator, (anonymous namespace)::cl_allocator_base>&&, void (*)(pybind11::detail::value_and_holder&, pyopencl::command_queue&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize, , pybind11::name, pybind11::is_method, pybind11::sibling>(void (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*)#1}, void, pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize, , pybind11::name, pybind11::is_method, pybind11::sibling>(void (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*)#1}&&, void (*)(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize, , pybind11::name, pybind11::is_method, pybind11::sibling>(void (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*)#1}, void, pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize, , pybind11::name, pybind11::is_method, pybind11::sibling>(void (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::*)(), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*)#1}&&, void (*)(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `bool pybind11::detail::type_caster_generic::load_impl, std::shared_ptr >, void> >(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:705: undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:767: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/type_caster_base.h:724: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `bool pybind11::detail::type_caster_generic::load_impl, std::shared_ptr >, void> >(pybind11::handle, bool)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(unsigned long (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::*)(unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, unsigned int)#1}, unsigned long, pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(unsigned long (pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>::*)(unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, unsigned int)#1}&&, unsigned long (*)(pyopencl::memory_pool<(anonymous namespace)::cl_allocator_base>*, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `unsigned long pybind11::detail::as_unsigned(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1315: undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned long))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned long, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `unsigned long pybind11::detail::as_unsigned(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1316: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize::execute, std::shared_ptr > >, pybind11::arg, pybind11::arg_v, 0>(pybind11::class_, std::shared_ptr > >&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::value_and_holder&, (anonymous namespace)::cl_allocator_base const&, unsigned int)#1}, void, pybind11::detail::value_and_holder&, (anonymous namespace)::cl_allocator_base const&, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg_v>(pybind11::class_, std::shared_ptr > >&&, void (*)(pybind11::detail::value_and_holder&, (anonymous namespace)::cl_allocator_base const&, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize::execute, std::shared_ptr > >, pybind11::arg, pybind11::arg_v, 0>(pybind11::class_, std::shared_ptr > >&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::value_and_holder&, (anonymous namespace)::cl_allocator_base const&, unsigned int)#1}, void, pybind11::detail::value_and_holder&, (anonymous namespace)::cl_allocator_base const&, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg_v>(pybind11::class_, std::shared_ptr > >&&, void (*)(pybind11::detail::value_and_holder&, (anonymous namespace)::cl_allocator_base const&, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `unsigned long pybind11::detail::as_unsigned(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1315: undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize::execute, std::shared_ptr > >, pybind11::arg, pybind11::arg_v, 0>(pybind11::class_, std::shared_ptr > >&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::value_and_holder&, (anonymous namespace)::cl_allocator_base const&, unsigned int)#1}, void, pybind11::detail::value_and_holder&, (anonymous namespace)::cl_allocator_base const&, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg_v>(pybind11::class_, std::shared_ptr > >&&, void (*)(pybind11::detail::value_and_holder&, (anonymous namespace)::cl_allocator_base const&, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/mempool.hpp:104: undefined reference to `PyExc_UserWarning' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `memory_pool': /home/pterjan/rpmbuild/BUILD/pyopencl-2019.1.2/src/mempool.hpp:104: undefined reference to `PyErr_WarnEx' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize::execute, std::shared_ptr > >, pybind11::arg, pybind11::arg_v, 0>(pybind11::class_, std::shared_ptr > >&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::value_and_holder&, (anonymous namespace)::cl_allocator_base const&, unsigned int)#1}, void, pybind11::detail::value_and_holder&, (anonymous namespace)::cl_allocator_base const&, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor, pybind11::arg, pybind11::arg_v>(pybind11::class_, std::shared_ptr > >&&, void (*)(pybind11::detail::value_and_holder&, (anonymous namespace)::cl_allocator_base const&, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&, pybind11::arg const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)::{lambda(_object*)#1}::operator()(_object*) const': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:119: undefined reference to `PyIndex_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `unsigned long pybind11::detail::as_unsigned(_object*)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pytypes.h:1316: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::detail::type_caster::load(pybind11::handle, bool)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:161: undefined reference to `PyErr_Occurred' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:166: undefined reference to `PyErr_Clear' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:167: undefined reference to `PyNumber_Check' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:168: undefined reference to `PyNumber_Long' /usr/bin/ld: /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:171: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize const&, unsigned long>::execute, , 0>(pybind11::class_<(anonymous namespace)::cl_deferred_allocator, (anonymous namespace)::cl_allocator_base>&)::{lambda(pybind11::detail::value_and_holder&, std::shared_ptr const&, unsigned long)#1}, void, pybind11::detail::value_and_holder&, std::shared_ptr const&, unsigned long, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_<(anonymous namespace)::cl_deferred_allocator, (anonymous namespace)::cl_allocator_base>&&, void (*)(pybind11::detail::value_and_holder&, std::shared_ptr const&, unsigned long), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `pybind11::cpp_function::initialize const&>::execute, , 0>(pybind11::class_<(anonymous namespace)::cl_deferred_allocator, (anonymous namespace)::cl_allocator_base>&)::{lambda(pybind11::detail::value_and_holder&, std::shared_ptr const&)#1}, void, pybind11::detail::value_and_holder&, std::shared_ptr const&, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::detail::is_new_style_constructor>(pybind11::class_<(anonymous namespace)::cl_deferred_allocator, (anonymous namespace)::cl_allocator_base>&&, void (*)(pybind11::detail::value_and_holder&, std::shared_ptr const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::detail::is_new_style_constructor const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/wrap_mempool.o: in function `std::enable_if<((!std::is_floating_point::value)&&std::is_unsigned::value)&&((sizeof (unsigned int))<=(sizeof (unsigned long))), pybind11::handle>::type pybind11::detail::type_caster::cast(unsigned int, pybind11::return_value_policy, pybind11::handle)': /usr/lib/python3.10/site-packages/pybind11/include/pybind11/cast.h:196: undefined reference to `PyLong_FromSize_t' collect2: error: ld returned 1 exit status error: command '/usr/bin/g++' failed with exit code 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bvp5he (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bvp5he (%build) I: [iurt_root_command] ERROR: chroot