本帖最后由 keer_zu 于 2024-5-8 17:56 编辑
--- stderr: netifaces_vendor
Cloning into 'netifaces'...
Note: switching to '3e02d91ef0e3eb32e614fe2f6bf8dd80d5099aff'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 3e02d91 Bumped version number.
/home/kevin/ros2_galactic/env/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
In file included from /usr/include/python3.11/Python.h:12,
from netifaces.c:1:
/usr/include/python3.11/pyconfig.h:106:3: error: #error unknown multiarch location for pyconfig.h
# error unknown multiarch location for pyconfig.h
^~~~~
In file included from /usr/include/python3.11/pyport.h:4,
from /usr/include/python3.11/Python.h:38,
from netifaces.c:1:
/usr/include/python3.11/pyconfig.h:106:3: error: #error unknown multiarch location for pyconfig.h
# error unknown multiarch location for pyconfig.h
In file included from /usr/include/python3.11/Python.h:51,
from netifaces.c:1:
/usr/include/python3.11/unicodeobject.h:68:2: error: #error Must define SIZEOF_WCHAR_T
#error Must define SIZEOF_WCHAR_T
^~~~~
/usr/include/python3.11/cpython/unicodeobject.h: In function 'PyUnicode_GET_DATA_SIZE':
/usr/include/python3.11/unicodeobject.h:71:25: error: 'SIZEOF_WCHAR_T' undeclared (first use in this function); did you mean 'SIZEOF_PY_HASH_T'?
#define Py_UNICODE_SIZE SIZEOF_WCHAR_T
^~~~~~~~~~~~~~
/usr/include/python3.11/cpython/unicodeobject.h:672:37: note: in expansion of macro 'Py_UNICODE_SIZE'
return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
^~~~~~~~~~~~~~~
/usr/include/python3.11/unicodeobject.h:71:25: note: each undeclared identifier is reported only once for each function it appears in
#define Py_UNICODE_SIZE SIZEOF_WCHAR_T
^~~~~~~~~~~~~~
/usr/include/python3.11/cpython/unicodeobject.h:672:37: note: in expansion of macro 'Py_UNICODE_SIZE'
return PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE;
^~~~~~~~~~~~~~~
In file included from /usr/include/python3.11/Python.h:87,
from netifaces.c:1:
/usr/include/python3.11/cpython/pytime.h: At top level:
/usr/include/python3.11/cpython/pytime.h:176:59: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
PyAPI_FUNC(int) _PyTime_FromTimeval(_PyTime_t *tp, struct timeval *tv);
^~~~~~~
/usr/include/python3.11/cpython/pytime.h:184:12: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
struct timeval *tv,
^~~~~~~
/usr/include/python3.11/cpython/pytime.h:190:12: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
struct timeval *tv,
/usr/include/python3.11/cpython/pytime.h:190:12: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
struct timeval *tv,
^~~~~~~
In file included from /usr/include/python3.11/pythread.h:126,
from /usr/include/python3.11/Python.h:89,
from netifaces.c:1:
/usr/include/python3.11/cpython/pythread.h:27:5: error: #error "Require native threads. See https://bugs.python.org/issue31370"
# error "Require native threads. See https://bugs.python.org/issue31370"
^~~~~
/usr/include/python3.11/cpython/pythread.h:36:5: error: unknown type name 'NATIVE_TSS_KEY_T'
NATIVE_TSS_KEY_T _key;
^~~~~~~~~~~~~~~~
error: command '/home/kevin/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-gcc' failed with exit code 1
make[2]: *** [netifaces-prefix/src/netifaces-stamp/netifaces-build] Error 1
make[1]: *** [CMakeFiles/netifaces.dir/all] Error 2
make: *** [all] Error 2
---
Failed <<< netifaces_vendor [8.14s, exited with code 2]
|