root@zkz:~# easy_install greenlet

Searching for greenlet

Reading http://pypi.python.org/simple/greenlet/

Reading http://bitbucket.org/ambroff/greenlet

Reading http://undefined.org/python/#greenlet

Best match: greenlet 0.3.1

Downloading http://pypi.python.org/packages/source/g/greenlet/greenlet-0.3.1.tar.gz#md5=8d75d7f3f659e915e286e1b0fa0e1c4d

Processing greenlet-0.3.1.tar.gz

Running greenlet-0.3.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-L0kWt_/greenlet-0.3.1/egg-dist-tmp-rLcFo8

/usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'repository'

  warnings.warn(msg)

In file included from greenlet.c:5:

greenlet.h:11:20: error: Python.h: No such file or directory

In file included from greenlet.c:5:

greenlet.h:16: error: expected specifier-qualifier-list before ‘PyObject_HEAD’

greenlet.c:6:26: error: structmember.h: No such file or directory

greenlet.c:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyGreenlet_Type’

greenlet.c:118: error: ‘NULL’ undeclared here (not in a function)

greenlet.c:124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:125: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:133: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:134: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:135: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:136: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c: In function ‘green_create_main’:

greenlet.c:159: error: ‘PyObject’ undeclared (first use in this function)

greenlet.c:159: error: (Each undeclared identifier is reported only once

greenlet.c:159: error: for each function it appears in.)

greenlet.c:159: error: ‘dict’ undeclared (first use in this function)

greenlet.c:159: warning: implicit declaration of function ‘PyThreadState_GetDict’

greenlet.c:161: warning: implicit declaration of function ‘PyErr_Occurred’

greenlet.c:162: warning: implicit declaration of function ‘PyErr_NoMemory’

greenlet.c:167: warning: implicit declaration of function ‘PyType_GenericAlloc’

greenlet.c:167: error: ‘PyGreenlet_Type’ undeclared (first use in this function)

greenlet.c:170: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c:171: error: ‘PyGreenlet’ has no member named ‘stack_stop’

greenlet.c:172: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:173: warning: implicit declaration of function ‘Py_INCREF’

greenlet.c: In function ‘green_updatecurrent’:

greenlet.c:182: error: ‘PyThreadState’ undeclared (first use in this function)

greenlet.c:182: error: ‘tstate’ undeclared (first use in this function)

greenlet.c:185: error: ‘PyObject’ undeclared (first use in this function)

greenlet.c:185: error: ‘deleteme’ undeclared (first use in this function)

greenlet.c:189: warning: implicit declaration of function ‘PyDict_SetItem’

greenlet.c:189: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:189: error: ‘ts_curkey’ undeclared (first use in this function)

greenlet.c:189: error: expected expression before ‘)’ token

greenlet.c:193: warning: implicit declaration of function ‘PyThreadState_GET’

greenlet.c:195: warning: implicit declaration of function ‘PyDict_GetItem’

greenlet.c:198: error: ‘Py_None’ undeclared (first use in this function)

greenlet.c:199: warning: implicit declaration of function ‘PyErr_Clear’

greenlet.c:208: warning: implicit declaration of function ‘Py_DECREF’

greenlet.c:211: error: ‘ts_delkey’ undeclared (first use in this function)

greenlet.c:213: warning: implicit declaration of function ‘PyList_SetSlice’

greenlet.c:213: error: ‘INT_MAX’ undeclared (first use in this function)

greenlet.c: At top level:

greenlet.c:218: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c: In function ‘g_save’:

greenlet.c:241: error: ‘PyGreenlet’ has no member named ‘stack_saved’

greenlet.c:242: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c:243: warning: implicit declaration of function ‘assert’

greenlet.c:243: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c:245: warning: implicit declaration of function ‘PyMem_Realloc’

greenlet.c:245: error: ‘PyGreenlet’ has no member named ‘stack_copy’

greenlet.c:250: warning: implicit declaration of function ‘memcpy’

greenlet.c:250: warning: incompatible implicit declaration of built-in function ‘memcpy’

greenlet.c:250: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c:251: error: ‘PyGreenlet’ has no member named ‘stack_copy’

greenlet.c:252: error: ‘PyGreenlet’ has no member named ‘stack_saved’

greenlet.c: In function ‘slp_restore_state’:

greenlet.c:262: error: ‘PyGreenlet’ has no member named ‘stack_saved’

greenlet.c:263: warning: incompatible implicit declaration of built-in function ‘memcpy’

greenlet.c:263: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c:263: error: ‘PyGreenlet’ has no member named ‘stack_copy’

greenlet.c:263: error: ‘PyGreenlet’ has no member named ‘stack_saved’

greenlet.c:264: warning: implicit declaration of function ‘PyMem_Free’

greenlet.c:264: error: ‘PyGreenlet’ has no member named ‘stack_copy’

greenlet.c:265: error: ‘PyGreenlet’ has no member named ‘stack_copy’

greenlet.c:266: error: ‘PyGreenlet’ has no member named ‘stack_saved’

greenlet.c:268: error: ‘PyGreenlet’ has no member named ‘stack_stop’

greenlet.c:268: error: ‘PyGreenlet’ has no member named ‘stack_stop’

greenlet.c:269: error: ‘PyGreenlet’ has no member named ‘stack_prev’

greenlet.c:269: error: ‘PyGreenlet’ has no member named ‘stack_prev’

greenlet.c:271: error: ‘PyGreenlet’ has no member named ‘stack_prev’

greenlet.c: In function ‘slp_save_state’:

greenlet.c:277: error: ‘PyGreenlet’ has no member named ‘stack_stop’

greenlet.c:278: error: ‘PyGreenlet’ has no member named ‘stack_saved’

greenlet.c:279: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c:280: error: ‘PyGreenlet’ has no member named ‘stack_prev’

greenlet.c:282: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c:284: error: ‘PyGreenlet’ has no member named ‘stack_stop’

greenlet.c:286: error: ‘PyGreenlet’ has no member named ‘stack_stop’

greenlet.c:288: error: ‘PyGreenlet’ has no member named ‘stack_prev’

In file included from slp_platformselect.h:8,

                 from greenlet.c:314:

platform/switch_amd64_unix.h: In function ‘slp_switch’:

platform/switch_amd64_unix.h:42: error: ‘PyGreenlet’ has no member named ‘stack_start’

platform/switch_amd64_unix.h:42: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c: In function ‘g_switchstack’:

greenlet.c:340: error: ‘PyThreadState’ undeclared (first use in this function)

greenlet.c:340: error: ‘tstate’ undeclared (first use in this function)

greenlet.c:341: error: ‘PyGreenlet’ has no member named ‘recursion_depth’

greenlet.c:342: error: ‘PyGreenlet’ has no member named ‘top_frame’

greenlet.c:347: warning: implicit declaration of function ‘Py_XDECREF’

greenlet.c:347: error: ‘ts_passaround_args’ undeclared (first use in this function)

greenlet.c:350: error: ‘ts_passaround_kwargs’ undeclared (first use in this function)

greenlet.c:355: error: ‘PyGreenlet’ has no member named ‘recursion_depth’

greenlet.c:356: error: ‘PyGreenlet’ has no member named ‘top_frame’

greenlet.c:357: error: ‘PyGreenlet’ has no member named ‘top_frame’

greenlet.c: At top level:

greenlet.c:365: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:433: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c: In function ‘g_initialstub’:

greenlet.c:470: error: ‘PyObject’ undeclared (first use in this function)

greenlet.c:470: error: ‘o’ undeclared (first use in this function)

greenlet.c:473: error: ‘run’ undeclared (first use in this function)

greenlet.c:473: warning: implicit declaration of function ‘PyObject_GetAttrString’

greenlet.c:473: error: expected expression before ‘)’ token

greenlet.c:475: error: ‘ts_passaround_args’ undeclared (first use in this function)

greenlet.c:478: error: ‘ts_passaround_kwargs’ undeclared (first use in this function)

greenlet.c:483: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:484: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:484: warning: implicit declaration of function ‘green_statedict’

greenlet.c:484: error: ‘PyGreenlet’ has no member named ‘parent’

greenlet.c:485: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:489: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c:490: error: ‘PyGreenlet’ has no member named ‘stack_stop’

greenlet.c:491: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c:493: error: ‘PyGreenlet’ has no member named ‘stack_prev’

greenlet.c:493: error: ‘PyGreenlet’ has no member named ‘stack_prev’

greenlet.c:496: error: ‘PyGreenlet’ has no member named ‘stack_prev’

greenlet.c:498: error: ‘PyGreenlet’ has no member named ‘top_frame’

greenlet.c:499: error: ‘PyGreenlet’ has no member named ‘recursion_depth’

greenlet.c:499: error: invalid type argument of ‘->’ (have ‘int’)

greenlet.c:507: error: ‘args’ undeclared (first use in this function)

greenlet.c:508: error: ‘kwargs’ undeclared (first use in this function)

greenlet.c:509: error: ‘result’ undeclared (first use in this function)

greenlet.c:511: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c:519: warning: implicit declaration of function ‘PyEval_CallObjectWithKeywords’

greenlet.c:525: warning: implicit declaration of function ‘g_handle_exit’

greenlet.c:528: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c:529: warning: implicit declaration of function ‘g_switch’

greenlet.c:529: error: ‘PyGreenlet’ has no member named ‘parent’

greenlet.c:531: warning: implicit declaration of function ‘PyErr_WriteUnraisable’

greenlet.c:531: error: expected expression before ‘)’ token

greenlet.c:532: warning: implicit declaration of function ‘Py_FatalError’

greenlet.c: At top level:

greenlet.c:541: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:558: error: expected declaration specifiers or ‘...’ before ‘PyObject’

greenlet.c:559: error: expected declaration specifiers or ‘...’ before ‘PyObject’

greenlet.c:561: error: expected declaration specifiers or ‘...’ before ‘PyObject’

greenlet.c:561: error: expected declaration specifiers or ‘...’ before ‘PyObject’

greenlet.c: In function ‘green_init’:

greenlet.c:563: error: ‘PyObject’ undeclared (first use in this function)

greenlet.c:563: error: ‘run’ undeclared (first use in this function)

greenlet.c:564: error: ‘nparent’ undeclared (first use in this function)

greenlet.c:566: warning: implicit declaration of function ‘PyArg_ParseTupleAndKeywords’

greenlet.c:566: error: ‘args’ undeclared (first use in this function)

greenlet.c:566: error: ‘kwargs’ undeclared (first use in this function)

greenlet.c:571: error: too many arguments to function ‘green_setrun’

greenlet.c:575: error: too many arguments to function ‘green_setparent’

greenlet.c: In function ‘kill_greenlet’:

greenlet.c:586: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:586: error: invalid type argument of ‘->’ (have ‘int’)

greenlet.c:590: error: ‘PyObject’ undeclared (first use in this function)

greenlet.c:590: error: ‘result’ undeclared (first use in this function)

greenlet.c:591: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:591: error: invalid type argument of ‘->’ (have ‘int’)

greenlet.c:595: error: ‘PyGreenlet’ has no member named ‘parent’

greenlet.c:597: warning: implicit declaration of function ‘PyErr_SetNone’

greenlet.c:597: error: ‘PyExc_GreenletExit’ undeclared (first use in this function)

greenlet.c:607: error: ‘lst’ undeclared (first use in this function)

greenlet.c:608: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:608: error: ‘ts_delkey’ undeclared (first use in this function)

greenlet.c:610: warning: implicit declaration of function ‘PyList_New’

greenlet.c:611: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:615: warning: implicit declaration of function ‘PyList_Append’

greenlet.c:615: error: expected expression before ‘)’ token

greenlet.c:617: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:617: error: invalid type argument of ‘->’ (have ‘int’)

greenlet.c: In function ‘green_dealloc’:

greenlet.c:655: error: ‘PyObject’ undeclared (first use in this function)

greenlet.c:655: error: ‘error_type’ undeclared (first use in this function)

greenlet.c:655: error: ‘error_value’ undeclared (first use in this function)

greenlet.c:655: warning: left-hand operand of comma expression has no effect

greenlet.c:655: error: ‘error_traceback’ undeclared (first use in this function)

greenlet.c:655: warning: left-hand operand of comma expression has no effect

greenlet.c:662: error: ‘PyGreenlet’ has no member named ‘parent’

greenlet.c:662: error: ‘tmp’ undeclared (first use in this function)

greenlet.c:662: error: expected expression before ‘)’ token

greenlet.c:662: error: ‘PyGreenlet’ has no member named ‘parent’

greenlet.c:662: error: ‘PyGreenlet’ has no member named ‘parent’

greenlet.c:663: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c:666: error: expected expression before ‘)’ token

greenlet.c:667: error: expected expression before ‘)’ token

greenlet.c:669: warning: implicit declaration of function ‘PyErr_Fetch’

greenlet.c:671: error: expected expression before ‘)’ token

greenlet.c:675: warning: implicit declaration of function ‘PyErr_Restore’

greenlet.c:679: error: expected expression before ‘)’ token

greenlet.c:680: error: expected expression before ‘)’ token

greenlet.c:681: error: expected expression before ‘)’ token

greenlet.c:684: error: ‘f’ undeclared (first use in this function)

greenlet.c:684: warning: implicit declaration of function ‘PySys_GetObject’

greenlet.c:686: warning: implicit declaration of function ‘PyFile_WriteString’

greenlet.c:688: warning: implicit declaration of function ‘PyFile_WriteObject’

greenlet.c:688: error: expected expression before ‘)’ token

greenlet.c:693: error: expected expression before ‘)’ token

greenlet.c:695: error: expected expression before ‘)’ token

greenlet.c:696: warning: implicit declaration of function ‘_Py_NewReference’

greenlet.c:696: error: expected expression before ‘)’ token

greenlet.c:700: error: expected expression before ‘)’ token

greenlet.c:708: error: ‘PyGreenlet’ has no member named ‘weakreflist’

greenlet.c:709: warning: implicit declaration of function ‘PyObject_ClearWeakRefs’

greenlet.c:709: error: expected expression before ‘)’ token

greenlet.c:710: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:710: error: expected expression before ‘)’ token

greenlet.c:710: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:710: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:711: error: expected expression before ‘)’ token

greenlet.c:711: error: expected ‘)’ before ‘self’

greenlet.c: At top level:

greenlet.c:719: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:732: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:747: error: expected ‘)’ before string constant

greenlet.c:765: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:788: error: expected ‘)’ before string constant

greenlet.c:803: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c: In function ‘green_bool’:

greenlet.c:877: error: ‘PyGreenlet’ has no member named ‘stack_start’

greenlet.c: At top level:

greenlet.c:880: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:891: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:901: error: expected declaration specifiers or ‘...’ before ‘PyObject’

greenlet.c: In function ‘green_setrun’:

greenlet.c:903: error: ‘PyObject’ undeclared (first use in this function)

greenlet.c:903: error: ‘o’ undeclared (first use in this function)

greenlet.c:904: error: ‘PyGreenlet’ has no member named ‘stack_stop’

greenlet.c:905: warning: implicit declaration of function ‘PyErr_SetString’

greenlet.c:905: error: ‘PyExc_AttributeError’ undeclared (first use in this function)

greenlet.c:910: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:911: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:911: error: ‘nrun’ undeclared (first use in this function)

greenlet.c:912: warning: implicit declaration of function ‘Py_XINCREF’

greenlet.c: At top level:

greenlet.c:917: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:924: error: expected declaration specifiers or ‘...’ before ‘PyObject’

greenlet.c: In function ‘green_setparent’:

greenlet.c:927: error: ‘nparent’ undeclared (first use in this function)

greenlet.c:928: error: ‘PyExc_AttributeError’ undeclared (first use in this function)

greenlet.c:931: warning: implicit declaration of function ‘PyObject_TypeCheck’

greenlet.c:931: error: ‘PyGreenlet_Type’ undeclared (first use in this function)

greenlet.c:932: error: ‘PyExc_TypeError’ undeclared (first use in this function)

greenlet.c:935: error: ‘PyGreenlet’ has no member named ‘parent’

greenlet.c:937: error: ‘PyExc_ValueError’ undeclared (first use in this function)

greenlet.c:941: error: ‘PyGreenlet’ has no member named ‘parent’

greenlet.c:942: error: ‘PyGreenlet’ has no member named ‘parent’

greenlet.c: At top level:

greenlet.c:948: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c: In function ‘PyGreenlet_GetCurrent’:

greenlet.c:965: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:965: error: invalid type argument of ‘->’ (have ‘int’)

greenlet.c: In function ‘PyGreenlet_SetParent’:

greenlet.c:975: error: ‘PyGreenlet’ has no member named ‘run_info’

greenlet.c:975: error: invalid type argument of ‘->’ (have ‘int’)

greenlet.c:979: error: ‘PyGreenlet_Type’ undeclared (first use in this function)

greenlet.c:980: error: ‘PyExc_TypeError’ undeclared (first use in this function)

greenlet.c:984: error: ‘PyObject’ undeclared (first use in this function)

greenlet.c:984: error: expected expression before ‘)’ token

greenlet.c: At top level:

greenlet.c:988: error: expected ‘)’ before ‘*’ token

greenlet.c:1008: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:1035: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:1047: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘green_methods’

greenlet.c:1054: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘green_getsets’

greenlet.c:1066: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘green_as_number’

greenlet.c:1083: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyGreenlet_Type’

greenlet.c:1137: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

greenlet.c:1145: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GreenMethods’

greenlet.c: In function ‘initgreenlet’:

greenlet.c:1173: error: ‘PyObject’ undeclared (first use in this function)

greenlet.c:1173: error: ‘m’ undeclared (first use in this function)

greenlet.c:1173: error: invalid operands to binary * (have ‘char **’ and ‘char **’)

greenlet.c:1173: warning: statement with no effect

greenlet.c:1175: error: ‘c_api_object’ undeclared (first use in this function)

greenlet.c:1175: error: invalid operands to binary * (have ‘char **’ and ‘char **’)

greenlet.c:1175: warning: statement with no effect

greenlet.c:1185: warning: implicit declaration of function ‘Py_InitModule’

greenlet.c:1185: error: ‘GreenMethods’ undeclared (first use in this function)

greenlet.c:1185: warning: statement with no effect

greenlet.c:1192: warning: implicit declaration of function ‘PyModule_AddStringConstant’

greenlet.c:1201: error: ‘ts_curkey’ undeclared (first use in this function)

greenlet.c:1201: warning: implicit declaration of function ‘PyString_InternFromString’

greenlet.c:1201: warning: statement with no effect

greenlet.c:1202: error: ‘ts_delkey’ undeclared (first use in this function)

greenlet.c:1202: warning: statement with no effect

greenlet.c:1208: warning: implicit declaration of function ‘PyType_Ready’

greenlet.c:1208: error: ‘PyGreenlet_Type’ undeclared (first use in this function)

greenlet.c:1212: error: ‘PyExc_GreenletError’ undeclared (first use in this function)

greenlet.c:1212: warning: implicit declaration of function ‘PyErr_NewException’

greenlet.c:1212: warning: statement with no effect

greenlet.c:1217: error: ‘PyExc_GreenletExit’ undeclared (first use in this function)

greenlet.c:1218: warning: statement with no effect

greenlet.c:1225: warning: comparison of distinct pointer types lacks a cast

greenlet.c:1231: warning: implicit declaration of function ‘PyModule_AddObject’

greenlet.c:1231: error: expected expression before ‘)’ token

greenlet.c:1231: error: invalid operands to binary * (have ‘char **’ and ‘char **’)

greenlet.c:1239: warning: implicit declaration of function ‘PyBool_FromLong’

greenlet.c:1244: error: ‘o’ undeclared (first use in this function)

greenlet.c:1244: error: invalid operands to binary * (have ‘char **’ and ‘char **’)

greenlet.c:1244: warning: statement with no effect

greenlet.c:1246: warning: implicit declaration of function ‘PyDict_SetItemString’

greenlet.c:1246: error: request for member ‘tp_dict’ in something not a structure or union

greenlet.c:1262: error: ‘PyGreenlet_New’ undeclared (first use in this function)

greenlet.c:1265: error: ‘PyGreenlet_Throw’ undeclared (first use in this function)

greenlet.c:1266: error: ‘PyGreenlet_Switch’ undeclared (first use in this function)

greenlet.c:1270: warning: implicit declaration of function ‘PyCObject_FromVoidPtr’

greenlet.c:1270: warning: statement with no effect

error: Setup script exited with error: command 'gcc' failed with exit status 1

root@zkz:~#