Install error for ender 3 pro

hello

i am trying to install klipper.
i get error
n of function ‘PyType_Ready’ [-Wimplicit-function-declaration]
if (PyType_Ready(&dl_type) < 0)
^~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7605:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7607:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7609:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7611:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7613:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7615:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7617:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7619:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7621:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7624:11: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
v = PyText_FromString("_cffi_backend");
^
c/_cffi_backend.c:7625:26: warning: implicit declaration of function ‘PyDict_SetItemString’; did you mean ‘PyText_FromString’? [-Wimplicit-function-declaration]
if (v == NULL || PyDict_SetItemString(CData_Type.tp_dict,
^~~~~~~~~~~~~~~~~~~~
PyText_FromString
c/_cffi_backend.c:7625:57: error: request for member ‘tp_dict’ in something not a structure or union
if (v == NULL || PyDict_SetItemString(CData_Type.tp_dict,
^
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7627:13: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7628:11: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
v = PyText_FromString("");
^
c/_cffi_backend.c:7629:57: error: request for member ‘tp_dict’ in something not a structure or union
if (v == NULL || PyDict_SetItemString(CData_Type.tp_dict,
^
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7631:13: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:148:6: warning: implicit declaration of function ‘PyCObject_FromVoidPtr’; did you mean ‘PyText_FromFormat’? [-Wimplicit-function-declaration]
(PyCObject_FromVoidPtr(pointer, destructor))
^~~~~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7636:9: note: in expansion of macro ‘PyCapsule_New’
v = PyCapsule_New((void *)cffi_exports, “cffi”, NULL);
^~~~~~~~~~~~~
c/_cffi_backend.c:7636:7: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
v = PyCapsule_New((void *)cffi_exports, “cffi”, NULL);
^
c/_cffi_backend.c:7637:22: warning: implicit declaration of function ‘PyModule_AddObject’ [-Wimplicit-function-declaration]
if (v == NULL || PyModule_AddObject(m, “_C_API”, v) < 0)
^~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7638:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7640:7: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
v = PyText_FromString(CFFI_VERSION);
^
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7642:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7644:9: warning: implicit declaration of function ‘PyModule_AddIntConstant’ [-Wimplicit-function-declaration]
if (PyModule_AddIntConstant(m, “FFI_DEFAULT_ABI”, FFI_DEFAULT_ABI) < 0 ||
^~~~~~~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7658:7: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7664:13: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7668:42: error: ‘PyObject’ undeclared (first use in this function); did you mean ‘LibObject’?
if (PyModule_AddObject(m, “buffer”, (PyObject *)&MiniBuffer_Type) < 0)
^~~~~~~~
LibObject
c/_cffi_backend.c:7668:52: error: expected expression before ‘)’ token
if (PyModule_AddObject(m, “buffer”, (PyObject *)&MiniBuffer_Type) < 0)
^
c/_cffi_backend.c:7668:51: error: invalid operands to binary * (have ‘int *’ and ‘int *’)
if (PyModule_AddObject(m, “buffer”, (PyObject *)&MiniBuffer_Type) < 0)
~~~~~~~~ ^
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7669:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7673:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7676:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:7678:9: warning: implicit declaration of function ‘init_ffi_lib’; did you mean ‘init_cffi_tls’? [-Wimplicit-function-declaration]
if (init_ffi_lib(m) < 0)
^~~~~~~~~~~~
init_cffi_tls
c/_cffi_backend.c:7570:19: warning: ‘return’ with no value, in function returning non-void
#define INITERROR return
^~~~~~
c/_cffi_backend.c:7679:9: note: in expansion of macro ‘INITERROR’
INITERROR;
^~~~~~~~~
c/_cffi_backend.c:7573:1: note: declared here
init_cffi_backend(void)
^~~~~~~~~~~~~~~~~
In file included from c/_cffi_backend.c:7552:
At top level:
c/cffi1_module.c:132:18: warning: ‘_my_Py_InitModule’ defined but not used [-Wunused-function]
static PyObject *_my_Py_InitModule(char *module_name)
^~~~~~~~~~~~~~~~~
In file included from c/cffi1_module.c:18,
from c/_cffi_backend.c:7552:
c/cdlopen.c:99:12: warning: ‘_cdl_realize_global_int’ defined but not used [-Wunused-function]
static int _cdl_realize_global_int(struct _cffi_getconst_s *gc)
^~~~~~~~~~~~~~~~~~~~~~~
c/cdlopen.c:89:23: warning: ‘cdl_opcode’ defined but not used [-Wunused-function]
static _cffi_opcode_t cdl_opcode(char *src)
^~~~~~~~~~
In file included from c/cffi1_module.c:17,
from c/_cffi_backend.c:7552:
c/lib_obj.c:626:19: warning: ‘lib_internal_new’ defined but not used [-Wunused-function]
static LibObject *lib_internal_new(FFIObject *ffi, const char *module_name,
^~~~~~~~~~~~~~~~
c/lib_obj.c:583:20: warning: ‘lib_methods’ defined but not used [-Wunused-variable]
static PyMethodDef lib_methods[] = {
^~~~~~~~~~~
c/lib_obj.c:480:18: warning: ‘_lib_dict’ defined but not used [-Wunused-function]
static PyObject *_lib_dict(LibObject *lib)
^~~~~~~~~
c/lib_obj.c:451:18: warning: ‘_lib_dir1’ defined but not used [-Wunused-function]
static PyObject *_lib_dir1(LibObject *lib, int ignore_global_vars)
^~~~~~~~~
c/lib_obj.c:115:18: warning: ‘lib_build_cpython_func’ defined but not used [-Wunused-function]
static PyObject *lib_build_cpython_func(LibObject *lib,
^~~~~~~~~~~~~~~~~~~~~~
c/lib_obj.c:109:18: warning: ‘lib_repr’ defined but not used [-Wunused-function]
static PyObject *lib_repr(LibObject *lib)
^~~~~~~~
c/lib_obj.c:91:13: warning: ‘lib_dealloc’ defined but not used [-Wunused-function]
static void lib_dealloc(LibObject *lib)
^~~~~~~~~~~
c/lib_obj.c:54:18: warning: ‘_cpyextfunc_type’ defined but not used [-Wunused-function]
static PyObject *_cpyextfunc_type(LibObject *lib, struct CPyExtFunc_s *exf)
^~~~~~~~~~~~~~~~
In file included from c/cffi1_module.c:16,
from c/_cffi_backend.c:7552:
c/cglob.c:99:18: warning: ‘cg_addressof_global_var’ defined but not used [-Wunused-function]
static PyObject *cg_addressof_global_var(GlobSupportObject *gs)
^~~~~~~~~~~~~~~~~~~~~~~
c/cglob.c:83:18: warning: ‘read_global_var’ defined but not used [-Wunused-function]
static PyObject *read_global_var(GlobSupportObject *gs)
^~~~~~~~~~~~~~~
c/cglob.c:21:21: warning: ‘GlobSupport_Type’ defined but not used [-Wunused-variable]
static PyTypeObject GlobSupport_Type = {
^~~~~~~~~~~~~~~~
c/cglob.c:14:13: warning: ‘glob_support_dealloc’ defined but not used [-Wunused-function]
static void glob_support_dealloc(GlobSupportObject *gs)
^~~~~~~~~~~~~~~~~~~~
In file included from c/cffi1_module.c:15,
from c/_cffi_backend.c:7552:
c/ffi_obj.c:1133:20: warning: ‘ffi_getsets’ defined but not used [-Wunused-variable]
static PyGetSetDef ffi_getsets[] = {
^~~~~~~~~~~
c/ffi_obj.c:1102:20: warning: ‘ffi_methods’ defined but not used [-Wunused-variable]
static PyMethodDef ffi_methods[] = {
^~~~~~~~~~~
c/ffi_obj.c:977:13: warning: ‘_free_init_once_lock’ defined but not used [-Wunused-function]
static void _free_init_once_lock(void *lock)
^~~~~~~~~~~~~~~~~~~~
c/ffi_obj.c:588:18: warning: ‘_combine_type_name_l’ defined but not used [-Wunused-function]
static PyObject *_combine_type_name_l(CTypeDescrObject *ct,
^~~~~~~~~~~~~~~~~~~~
c/ffi_obj.c:148:26: warning: ‘_ffi_bad_type’ defined but not used [-Wunused-function]
static CTypeDescrObject *_ffi_bad_type(FFIObject *ffi, const char *input_text)
^~~~~~~~~~~~~
c/ffi_obj.c:95:18: warning: ‘ffi_fetch_int_constant’ defined but not used [-Wunused-function]
static PyObject *ffi_fetch_int_constant(FFIObject *ffi, const char *name,
^~~~~~~~~~~~~~~~~~~~~~
c/ffi_obj.c:65:13: warning: ‘ffi_dealloc’ defined but not used [-Wunused-function]
static void ffi_dealloc(FFIObject *ffi)
^~~~~~~~~~~
c/ffi_obj.c:1138:21: warning: ‘FFI_Type’ defined but not used [-Wunused-variable]
static PyTypeObject FFI_Type = {
^~~~~~~~
In file included from c/cffi1_module.c:3,
from c/_cffi_backend.c:7552:
c/realize_c_type.c:82:12: warning: ‘init_builder_c’ defined but not used [-Wunused-function]
static int init_builder_c(builder_c_t *builder,
^~~~~~~~~~~~~~
c/realize_c_type.c:13:39: warning: ‘g_ct_chararray’ defined but not used [-Wunused-variable]
static CTypeDescrObject *g_ct_voidp, *g_ct_chararray;
^~~~~~~~~~~~~~
c/realize_c_type.c:13:26: warning: ‘g_ct_voidp’ defined but not used [-Wunused-variable]
static CTypeDescrObject *g_ct_voidp, *g_ct_chararray;
^~~~~~~~~~
In file included from c/cffi1_module.c:2,
from c/_cffi_backend.c:7552:
c/parse_c_type.c:837:5: warning: ‘parse_c_type’ defined but not used [-Wunused-function]
int parse_c_type(struct _cffi_parse_info_s *info, const char *input)
^~~~~~~~~~~~
c/_cffi_backend.c:7176:12: warning: ‘_testfunc23’ defined but not used [-Wunused-function]
static int _testfunc23(char *p)
^~~~~~~~~~~
c/_cffi_backend.c:7166:29: warning: ‘_testfunc22’ defined but not used [-Wunused-function]
static struct _testfunc22_s _testfunc22(struct _testfunc22_s s1,
^~~~~~~~~~~
c/_cffi_backend.c:7151:12: warning: ‘_testfunc21’ defined but not used [-Wunused-function]
static int _testfunc21(struct _testfunc21_s inlined)
^~~~~~~~~~~
c/_cffi_backend.c:7145:14: warning: ‘_testfunc20’ defined but not used [-Wunused-function]
static short _testfunc20(struct _testfunc7_s *ptr)
^~~~~~~~~~~
c/_cffi_backend.c:7136:20: warning: ‘_testfunc19’ defined but not used [-Wunused-function]
static long double _testfunc19(long double x, int count)
^~~~~~~~~~~
c/_cffi_backend.c:7131:12: warning: ‘_testfunc18’ defined but not used [-Wunused-function]
static int _testfunc18(struct _testfunc17_s *ptr)
^~~~~~~~~~~
c/_cffi_backend.c:7123:29: warning: ‘_testfunc17’ defined but not used [-Wunused-function]
static struct _testfunc17_s _testfunc17(int n)
^~~~~~~~~~~
c/_cffi_backend.c:7114:29: warning: ‘_testfunc16’ defined but not used [-Wunused-function]
static struct _testfunc16_s _testfunc16(int n)
^~~~~~~~~~~
c/_cffi_backend.c:7105:29: warning: ‘_testfunc15’ defined but not used [-Wunused-function]
static struct _testfunc15_s _testfunc15(int n)
^~~~~~~~~~~
c/_cffi_backend.c:7097:29: warning: ‘_testfunc14’ defined but not used [-Wunused-function]
static struct _testfunc14_s _testfunc14(int n)
^~~~~~~~~~~
c/_cffi_backend.c:7087:29: warning: ‘_testfunc13’ defined but not used [-Wunused-function]
static struct _testfunc13_s _testfunc13(int n)
^~~~~~~~~~~
c/_cffi_backend.c:7079:29: warning: ‘_testfunc12’ defined but not used [-Wunused-function]
static struct _testfunc12_s _testfunc12(int n)
^~~~~~~~~~~
c/_cffi_backend.c:7070:29: warning: ‘_testfunc11’ defined but not used [-Wunused-function]
static struct _testfunc11_s _testfunc11(int n)
^~~~~~~~~~~
c/_cffi_backend.c:7061:28: warning: ‘_testfunc10’ defined but not used [-Wunused-function]
static struct _testfunc7_s _testfunc10(int n)
^~~~~~~~~~~
c/_cffi_backend.c:7046:12: warning: ‘_testfunc9’ defined but not used [-Wunused-function]
static int _testfunc9(int num, …)
^~~~~~~~~~
c/_cffi_backend.c:7042:14: warning: ‘_testfunc7’ defined but not used [-Wunused-function]
static short _testfunc7(struct _testfunc7_s inlined)
^~~~~~~~~~
c/_cffi_backend.c:7035:13: warning: ‘_testfunc6’ defined but not used [-Wunused-function]
static int *_testfunc6(int *x)
^~~~~~~~~~
c/_cffi_backend.c:7031:13: warning: ‘_testfunc5’ defined but not used [-Wunused-function]
static void _testfunc5(void)
^~~~~~~~~~
c/_cffi_backend.c:7027:14: warning: ‘_testfunc4’ defined but not used [-Wunused-function]
static float _testfunc4(float a, double b)
^~~~~~~~~~
c/_cffi_backend.c:7023:15: warning: ‘_testfunc3’ defined but not used [-Wunused-function]
static double _testfunc3(float a, double b)
^~~~~~~~~~
c/_cffi_backend.c:7015:13: warning: ‘_testfunc1’ defined but not used [-Wunused-function]
static long _testfunc1(int a, long b)
^~~~~~~~~~
c/_cffi_backend.c:7011:13: warning: ‘_testfunc0’ defined but not used [-Wunused-function]
static char _testfunc0(char a, char b)
^~~~~~~~~~
c/_cffi_backend.c:6192:19: warning: ‘direct_sizeof_cdata’ defined but not used [-Wunused-function]
static Py_ssize_t direct_sizeof_cdata(CDataObject *cd)
^~~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:5925:13: warning: ‘invoke_callback’ defined but not used [-Wunused-function]
static void invoke_callback(ffi_cif *cif, void *result, void **args,
^~~~~~~~~~~~~~~
c/_cffi_backend.c:5475:13: warning: ‘fb_cat_name’ defined but not used [-Wunused-function]
static void fb_cat_name(struct funcbuilder_s *fb, const char *piece,
^~~~~~~~~~~
c/_cffi_backend.c:5257:18: warning: ‘fb_fill_type’ defined but not used [-Wunused-function]
static ffi_type *fb_fill_type(struct funcbuilder_s *fb, CTypeDescrObject *ct,
^~~~~~~~~~~~
c/_cffi_backend.c:4826:12: warning: ‘complete_sflags’ defined but not used [-Wunused-function]
static int complete_sflags(int sflags)
^~~~~~~~~~~~~~~
c/_cffi_backend.c:4217:20: warning: ‘dl_methods’ defined but not used [-Wunused-variable]
static PyMethodDef dl_methods[] = {
^~~~~~~~~~
c/_cffi_backend.c:4104:12: warning: ‘dl_check_closed’ defined but not used [-Wunused-function]
static int dl_check_closed(DynLibObject *dlobj)
^~~~~~~~~~~~~~~
c/_cffi_backend.c:4099:18: warning: ‘dl_repr’ defined but not used [-Wunused-function]
static PyObject *dl_repr(DynLibObject *dlobj)
^~~~~~~
c/_cffi_backend.c:4091:13: warning: ‘dl_dealloc’ defined but not used [-Wunused-function]
static void dl_dealloc(DynLibObject *dlobj)
^~~~~~~~~~
c/_cffi_backend.c:3503:1: warning: ‘cdata_iter’ defined but not used [-Wunused-function]
cdata_iter(CDataObject *cd)
^~~~~~~~~~
c/_cffi_backend.c:3465:1: warning: ‘cdataiter_dealloc’ defined but not used [-Wunused-function]
cdataiter_dealloc(CDataIterObject *it)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:3454:1: warning: ‘cdataiter_next’ defined but not used [-Wunused-function]
cdataiter_next(CDataIterObject *it)
^~~~~~~~~~~~~~
c/_cffi_backend.c:3252:20: warning: ‘cdata_methods’ defined but not used [-Wunused-variable]
static PyMethodDef cdata_methods[] = {
^~~~~~~~~~~~~
c/_cffi_backend.c:3246:25: warning: ‘CDataOwn_as_mapping’ defined but not used [-Wunused-variable]
static PyMappingMethods CDataOwn_as_mapping = {
^~~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:3240:25: warning: ‘CData_as_mapping’ defined but not used [-Wunused-variable]
static PyMappingMethods CData_as_mapping = {
^~~~~~~~~~~~~~~~
c/_cffi_backend.c:3206:24: warning: ‘CData_as_number’ defined but not used [-Wunused-variable]
static PyNumberMethods CData_as_number = {
^~~~~~~~~~~~~~~
c/_cffi_backend.c:2828:26: warning: ‘_get_ct_int’ defined but not used [-Wunused-function]
static CTypeDescrObject *_get_ct_int(void)
^~~~~~~~~~~
c/_cffi_backend.c:2334:1: warning: ‘cdata_length’ defined but not used [-Wunused-function]
cdata_length(CDataObject *cd)
^~~~~~~~~~~~
c/_cffi_backend.c:2316:13: warning: ‘cdata_hash’ defined but not used [-Wunused-function]
static long cdata_hash(CDataObject *v)
^~~~~~~~~~
c/_cffi_backend.c:2208:18: warning: ‘cdata_long’ defined but not used [-Wunused-function]
static PyObject *cdata_long(CDataObject *cd)
^~~~~~~~~~
c/_cffi_backend.c:2140:12: warning: ‘cdata_nonzero’ defined but not used [-Wunused-function]
static int cdata_nonzero(CDataObject *cd)
^~~~~~~~~~~~~
c/_cffi_backend.c:2114:18: warning: ‘cdataowninggc_repr’ defined but not used [-Wunused-function]
static PyObject *cdataowninggc_repr(CDataObject *cd)
^~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:1970:13: warning: ‘cdatagcp_dealloc’ defined but not used [-Wunused-function]
static void cdatagcp_dealloc(CDataObject_gcp *cd)
^~~~~~~~~~~~~~~~
c/_cffi_backend.c:1961:13: warning: ‘cdatagcp_finalize’ defined but not used [-Wunused-function]
static void cdatagcp_finalize(CDataObject_gcp *cd)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:1899:12: warning: ‘cdataowninggc_clear’ defined but not used [-Wunused-function]
static int cdataowninggc_clear(CDataObject *cd)
^~~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:1852:13: warning: ‘cdataowninggc_dealloc’ defined but not used [-Wunused-function]
static void cdataowninggc_dealloc(CDataObject *cd)
^~~~~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:1829:13: warning: ‘cdataowning_dealloc’ defined but not used [-Wunused-function]
static void cdataowning_dealloc(CDataObject *cd)
^~~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:1783:1: warning: ‘get_alignment’ defined but not used [-Wunused-function]
get_alignment(CTypeDescrObject *ct)
^~~~~~~~~~~~~
c/_cffi_backend.c:1127:1: warning: ‘convert_to_object_bitfield’ defined but not used [-Wunused-function]
convert_to_object_bitfield(char *data, CFieldObject *cf)
^~~~~~~~~~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:964:1: warning: ‘write_raw_float_data’ defined but not used [-Wunused-function]
write_raw_float_data(char *target, double source, int size)
^~~~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:710:20: warning: ‘cfield_members’ defined but not used [-Wunused-variable]
static PyMemberDef cfield_members[] = {
^~~~~~~~~~~~~~
c/_cffi_backend.c:701:1: warning: ‘cfield_dealloc’ defined but not used [-Wunused-function]
cfield_dealloc(CFieldObject *cf)
^~~~~~~~~~~~~~
c/_cffi_backend.c:647:20: warning: ‘ctypedescr_methods’ defined but not used [-Wunused-variable]
static PyMethodDef ctypedescr_methods[] = {
^~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:604:20: warning: ‘ctypedescr_getsets’ defined but not used [-Wunused-variable]
static PyGetSetDef ctypedescr_getsets[] = {
^~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:594:18: warning: ‘ctypeget_relements’ defined but not used [-Wunused-function]
static PyObject *ctypeget_relements(CTypeDescrObject *ct, void *context)
^~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:584:18: warning: ‘ctypeget_elements’ defined but not used [-Wunused-function]
static PyObject *ctypeget_elements(CTypeDescrObject *ct, void *context)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:574:18: warning: ‘ctypeget_abi’ defined but not used [-Wunused-function]
static PyObject *ctypeget_abi(CTypeDescrObject *ct, void *context)
^~~~~~~~~~~~
c/_cffi_backend.c:564:18: warning: ‘ctypeget_ellipsis’ defined but not used [-Wunused-function]
static PyObject *ctypeget_ellipsis(CTypeDescrObject *ct, void *context)
^~~~~~~~~~~~~~~~~
c/_cffi_backend.c:554:18: warning: ‘ctypeget_result’ defined but not used [-Wunused-function]
static PyObject *ctypeget_result(CTypeDescrObject *ct, void *context)
^~~~~~~~~~~~~~~
c/_cffi_backend.c:545:18: warning: ‘ctypeget_args’ defined but not used [-Wunused-function]
static PyObject *ctypeget_args(CTypeDescrObject *ct, void *context)
^~~~~~~~~~~~~
c/_cffi_backend.c:513:18: warning: ‘ctypeget_fields’ defined but not used [-Wunused-function]
static PyObject *ctypeget_fields(CTypeDescrObject *ct, void *context)
^~~~~~~~~~~~~~~
c/_cffi_backend.c:488:18: warning: ‘ctypeget_length’ defined but not used [-Wunused-function]
static PyObject *ctypeget_length(CTypeDescrObject *ct, void *context)
^~~~~~~~~~~~~~~
c/_cffi_backend.c:479:18: warning: ‘ctypeget_item’ defined but not used [-Wunused-function]
static PyObject *ctypeget_item(CTypeDescrObject *ct, void *context)
^~~~~~~~~~~~~
c/_cffi_backend.c:474:18: warning: ‘ctypeget_cname’ defined but not used [-Wunused-function]
static PyObject *ctypeget_cname(CTypeDescrObject *ct, void *context)
^~~~~~~~~~~~~~
c/_cffi_backend.c:441:18: warning: ‘ctypeget_kind’ defined but not used [-Wunused-function]
static PyObject *ctypeget_kind(CTypeDescrObject *ct, void *context)
^~~~~~~~~~~~~
c/_cffi_backend.c:427:1: warning: ‘ctypedescr_clear’ defined but not used [-Wunused-function]
ctypedescr_clear(CTypeDescrObject *ct)
^~~~~~~~~~~~~~~~
c/_cffi_backend.c:397:1: warning: ‘ctypedescr_dealloc’ defined but not used [-Wunused-function]
ctypedescr_dealloc(CTypeDescrObject *ct)
^~~~~~~~~~~~~~~~~~
c/_cffi_backend.c:391:1: warning: ‘ctypedescr_repr’ defined but not used [-Wunused-function]
ctypedescr_repr(CTypeDescrObject *ct)
^~~~~~~~~~~~~~~
c/_cffi_backend.c:341:31: warning: ‘default_allocator’ defined but not used [-Wunused-const-variable=]
static const cffi_allocator_t default_allocator = { NULL, NULL, 0 };
^~~~~~~~~~~~~~~~~
In file included from c/_cffi_backend.c:323:
c/minibuffer.h:157:1: warning: ‘mb_clear’ defined but not used [-Wunused-function]
mb_clear(MiniBufferObj *ob)
^~~~~~~~
c/minibuffer.h:140:1: warning: ‘mb_dealloc’ defined but not used [-Wunused-function]
mb_dealloc(MiniBufferObj *ob)
^~~~~~~~~~
c/minibuffer.h:128:22: warning: ‘mb_as_buffer’ defined but not used [-Wunused-variable]
static PyBufferProcs mb_as_buffer = {
^~~~~~~~~~~~
c/minibuffer.h:118:26: warning: ‘mb_as_sequence’ defined but not used [-Wunused-variable]
static PySequenceMethods mb_as_sequence = {
^~~~~~~~~~~~~~
c/minibuffer.h:102:18: warning: ‘mb_str’ defined but not used [-Wunused-function]
static PyObject *mb_str(MiniBufferObj *self)
^~~~~~
c/minibuffer.h:16:19: warning: ‘mb_length’ defined but not used [-Wunused-function]
static Py_ssize_t mb_length(MiniBufferObj *self)
^~~~~~~~~
In file included from c/_cffi_backend.c:320:
c/misc_thread_posix.h:40:27: warning: ‘get_cffi_tls’ defined but not used [-Wunused-function]
static struct cffi_tls_s *get_cffi_tls(void)
^~~~~~~~~~~~
In file included from c/misc_thread_posix.h:17,
from c/_cffi_backend.c:320:
c/misc_thread_common.h:142:1: warning: ‘thread_canary_free_zombies’ defined but not used [-Wunused-function]
thread_canary_free_zombies(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~
c/misc_thread_common.h:98:1: warning: ‘thread_canary_dealloc’ defined but not used [-Wunused-function]
thread_canary_dealloc(ThreadCanaryObj *ob)
^~~~~~~~~~~~~~~~~~~~~
c/misc_thread_common.h:222:21: warning: ‘ThreadCanary_Type’ defined but not used [-Wunused-variable]
static PyTypeObject ThreadCanary_Type = {
^~~~~~~~~~~~~~~~~
In file included from c/_cffi_backend.c:92:
c/malloc_closure.h:166:21: warning: ‘cffi_closure_alloc’ defined but not used [-Wunused-function]
static ffi_closure *cffi_closure_alloc(void)
^~~~~~~~~~~~~~~~~~
error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/pi/klippy-env/bin/python2 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-RqNfG3/cffi/setup.py’"’"’; file=’"’"’/tmp/pip-install-RqNfG3/cffi/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record /tmp/pip-record-CfpR0V/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/klippy-env/include/site/python2.7/cffi Check the logs for full command output.

please help

cpu_defines.hnew ▒

ctype_base: not found
dpkg: error processing package libnewlib-arm-none-eabi (–configure):
installed libnewlib-arm-none-eabi package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of libstdc+±arm-none-eabi-newlib:
libstdc+±arm-none-eabi-newlib depends on libnewlib-arm-none-eabi; however:
Package libnewlib-arm-none-eabi is not configured yet.

dpkg: error processing package libstdc+±arm-none-eabi-newlib (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libnewlib-arm-none-eabi
libstdc+±arm-none-eabi-newlib
E: Sub-process /usr/bin/dpkg returned an error code (1)

Something is wrong in your Linux system. The package management is reporting errors due to dependency problems of the packages that are installed and should be installed.

Run following commands:

sudo dpkg --configure -a
sudo apt-get update
sudo apt-get install -f

If all of them run without error try the correct installation script again.

  1. Which operating system do you use?
  2. Which install script do you use?

Got a new install of octoprint 0.18
Updated octoprint 1.6.1
Install klipper on the raspberry
Then I got these errors

This is unusual and (if you closely followed the Klipper’s install docu) unlikely a Klipper issue per se.

If the above commands do not help, then I would redo the whole setup, i.e. new OctoPrint install.

Maybe also worth to check the SD card or use another one. Possibly a dead one leading to strange and hard to diagnose issues.

I have done a complete new install with another SD card.
Everything is working.

Thanks.

Now configure klipper to my printer.