Public feed #722756

Untitled

public text v1 · immutable
Raw Edit
·published 2007-10-02 09:23 UTC
rendered paste body
running install
running build
running build_py
running build_ext
building 'Crypto.Hash.MD2' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -Isrc/ -I/usr/include/python2.5 -c src/MD2.c -o build/temp.linux-i686-2.5/src/MD2.o
src/MD2.c:15:20: error: Python.h: No such file or directory
src/MD2.c:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from src/MD2.c:118:
src/hash_template.c:29: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/hash_template.c:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyTypeObject’
src/hash_template.c: In function ‘newALGobject’:
src/hash_template.c:42: warning: implicit declaration of function ‘PyObject_New’
src/hash_template.c:42: error: expected expression before ‘ALGobject’
src/hash_template.c:42: warning: assignment makes pointer from integer without a cast
src/hash_template.c: At top level:
src/hash_template.c:49: error: expected ‘)’ before ‘*’ token
src/hash_template.c:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/hash_template.c:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/hash_template.c:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/hash_template.c:130: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/hash_template.c:145: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ALG_methods’
src/hash_template.c:154: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/hash_template.c:163: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ALGtype’
src/hash_template.c:188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/hash_template.c:219: error: array type has incomplete element type
src/hash_template.c:220: error: ‘PyCFunction’ undeclared here (not in a function)
src/hash_template.c:220: error: expected ‘}’ before ‘ALG_new’
src/hash_template.c: In function ‘initMD2’:
src/hash_template.c:236: error: ‘PyObject’ undeclared (first use in this function)
src/hash_template.c:236: error: (Each undeclared identifier is reported only once
src/hash_template.c:236: error: for each function it appears in.)
src/hash_template.c:236: error: ‘m’ undeclared (first use in this function)
src/hash_template.c:238: error: ‘ALGtype’ undeclared (first use in this function)
src/hash_template.c:238: error: ‘PyType_Type’ undeclared (first use in this function)
src/hash_template.c:239: warning: implicit declaration of function ‘Py_InitModule’
src/hash_template.c:242: error: ‘o’ undeclared (first use in this function)
src/hash_template.c:242: warning: implicit declaration of function ‘PyInt_FromLong’
src/hash_template.c:242: warning: implicit declaration of function ‘PyDict_SetItemString’
src/hash_template.c:242: warning: implicit declaration of function ‘PyModule_GetDict’
src/hash_template.c:242: warning: implicit declaration of function ‘Py_DECREF’
src/hash_template.c:245: warning: implicit declaration of function ‘PyErr_Occurred’
src/hash_template.c:246: warning: implicit declaration of function ‘Py_FatalError’
error: command 'gcc' failed with exit status 1