thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Amarillento <o7...@yahoo.com>
Subject Error on $ make
Date Wed, 15 Sep 2010 05:23:35 GMT
Hello I've got an error after running $ make. :( Is that fine? Please advice. Thanks. :)

$ make
make  all-recursive
make[1]: Entering directory `/home/nino/Downloads/thrift-0.4.0'
Making all in compiler/cpp
make[2]: Entering directory `/home/nino/Downloads/thrift-0.4.0/compiler/cpp'
make  all-am
make[3]: Entering directory `/home/nino/Downloads/thrift-0.4.0/compiler/cpp'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/nino/Downloads/thrift-0.4.0/compiler/cpp'
make[2]: Leaving directory `/home/nino/Downloads/thrift-0.4.0/compiler/cpp'
Making all in lib
make[2]: Entering directory `/home/nino/Downloads/thrift-0.4.0/lib'
Making all in cpp
make[3]: Entering directory `/home/nino/Downloads/thrift-0.4.0/lib/cpp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/nino/Downloads/thrift-0.4.0/lib/cpp'
Making all in py
make[3]: Entering directory `/home/nino/Downloads/thrift-0.4.0/lib/py'
/usr/bin/python setup.py build
running build
running build_py
running build_ext
building 'thrift.protocol.fastbinary' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC
-I/usr/include/python2.6 -c src/protocol/fastbinary.c -o build/temp.linux-x86_64-2.6/src/protocol/fastbinary.o
src/protocol/fastbinary.c:20:20: error: Python.h: No such file or directory
src/protocol/fastbinary.c:21:23: error: cStringIO.h: No such file or directory
src/protocol/fastbinary.c:123: error: expected specifier-qualifier-list before ‘PyObject’
src/protocol/fastbinary.c:133: error: expected specifier-qualifier-list before ‘PyObject’
src/protocol/fastbinary.c:142: error: expected specifier-qualifier-list before ‘PyObject’
src/protocol/fastbinary.c:153: error: expected specifier-qualifier-list before ‘PyObject’
src/protocol/fastbinary.c:163: error: expected specifier-qualifier-list before ‘PyObject’
src/protocol/fastbinary.c:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
src/protocol/fastbinary.c:170: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
src/protocol/fastbinary.c: In function ‘check_ssize_t_32’:
src/protocol/fastbinary.c:175: warning: implicit declaration of function ‘PyErr_Occurred’
src/protocol/fastbinary.c:179: warning: implicit declaration of function ‘PyErr_SetString’
src/protocol/fastbinary.c:179: error: ‘PyExc_OverflowError’ undeclared (first use in this
function)
src/protocol/fastbinary.c:179: error: (Each undeclared identifier is reported only once
src/protocol/fastbinary.c:179: error: for each function it appears in.)
src/protocol/fastbinary.c: At top level:
src/protocol/fastbinary.c:186: error: expected ‘)’ before ‘*’ token
src/protocol/fastbinary.c:205: error: expected declaration specifiers or ‘...’ before
‘PyObject’
src/protocol/fastbinary.c: In function ‘parse_set_list_args’:
src/protocol/fastbinary.c:206: warning: implicit declaration of function ‘PyTuple_Size’
src/protocol/fastbinary.c:206: error: ‘typeargs’ undeclared (first use in this function)
src/protocol/fastbinary.c:207: error: ‘PyExc_TypeError’ undeclared (first use in this
function)
src/protocol/fastbinary.c:211: warning: implicit declaration of function ‘PyInt_AsLong’
src/protocol/fastbinary.c:211: warning: implicit declaration of function ‘PyTuple_GET_ITEM’
src/protocol/fastbinary.c:216: error: ‘SetListTypeArgs’ has no member named ‘typeargs’
src/protocol/fastbinary.c: At top level:
src/protocol/fastbinary.c:222: error: expected declaration specifiers or ‘...’ before
‘PyObject’
src/protocol/fastbinary.c: In function ‘parse_map_args’:
src/protocol/fastbinary.c:223: error: ‘typeargs’ undeclared (first use in this function)
src/protocol/fastbinary.c:224: error: ‘PyExc_TypeError’ undeclared (first use in this
function)
src/protocol/fastbinary.c:238: error: ‘MapTypeArgs’ has no member named ‘ktypeargs’
src/protocol/fastbinary.c:239: error: ‘MapTypeArgs’ has no member named ‘vtypeargs’
src/protocol/fastbinary.c: At top level:
src/protocol/fastbinary.c:245: error: expected declaration specifiers or ‘...’ before
‘PyObject’
src/protocol/fastbinary.c: In function ‘parse_struct_args’:
src/protocol/fastbinary.c:246: error: ‘typeargs’ undeclared (first use in this function)
src/protocol/fastbinary.c:247: error: ‘PyExc_TypeError’ undeclared (first use in this
function)
src/protocol/fastbinary.c:251: error: ‘StructTypeArgs’ has no member named ‘klass’
src/protocol/fastbinary.c:252: error: ‘StructTypeArgs’ has no member named ‘spec’
src/protocol/fastbinary.c: At top level:
src/protocol/fastbinary.c:258: error: expected declaration specifiers or ‘...’ before
‘PyObject’
src/protocol/fastbinary.c: In function ‘parse_struct_item_spec’:
src/protocol/fastbinary.c:261: error: ‘spec_tuple’ undeclared (first use in this function)
src/protocol/fastbinary.c:262: error: ‘PyExc_TypeError’ undeclared (first use in this
function)
src/protocol/fastbinary.c:276: error: ‘StructItemSpec’ has no member named ‘attrname’
src/protocol/fastbinary.c:277: error: ‘StructItemSpec’ has no member named ‘typeargs’
src/protocol/fastbinary.c:278: error: ‘StructItemSpec’ has no member named ‘defval’
src/protocol/fastbinary.c: At top level:
src/protocol/fastbinary.c:289: error: expected ‘)’ before ‘*’ token
src/protocol/fastbinary.c:294: error: expected ‘)’ before ‘*’ token
src/protocol/fastbinary.c:299: error: expected ‘)’ before ‘*’ token
src/protocol/fastbinary.c:304: error: expected ‘)’ before ‘*’ token
src/protocol/fastbinary.c:309: error: expected ‘)’ before ‘*’ token
src/protocol/fastbinary.c:323: error: expected ‘)’ before ‘*’ token
src/protocol/fastbinary.c:569: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
src/protocol/fastbinary.c: In function ‘free_decodebuf’:
src/protocol/fastbinary.c:598: warning: implicit declaration of function ‘Py_XDECREF’
src/protocol/fastbinary.c:598: error: ‘DecodeBuffer’ has no member named ‘stringiobuf’
src/protocol/fastbinary.c:599: error: ‘DecodeBuffer’ has no member named ‘refill_callable’
src/protocol/fastbinary.c: At top level:
src/protocol/fastbinary.c:603: error: expected declaration specifiers or ‘...’ before
‘PyObject’
src/protocol/fastbinary.c: In function ‘decode_buffer_from_obj’:
src/protocol/fastbinary.c:604: error: ‘DecodeBuffer’ has no member named ‘stringiobuf’
src/protocol/fastbinary.c:604: warning: implicit declaration of function ‘PyObject_GetAttr’
src/protocol/fastbinary.c:604: error: ‘obj’ undeclared (first use in this function)
src/protocol/fastbinary.c:604: error: ‘_intern_cstringio_buf’ undeclared (first use in
this function)
src/protocol/fastbinary.c:605: error: ‘DecodeBuffer’ has no member named ‘stringiobuf’
src/protocol/fastbinary.c:609: warning: implicit declaration of function ‘PycStringIO_InputCheck’
src/protocol/fastbinary.c:609: error: ‘DecodeBuffer’ has no member named ‘stringiobuf’
src/protocol/fastbinary.c:611: error: ‘PyExc_TypeError’ undeclared (first use in this
function)
src/protocol/fastbinary.c:615: error: ‘DecodeBuffer’ has no member named ‘refill_callable’
src/protocol/fastbinary.c:615: error: ‘_intern_cstringio_refill’ undeclared (first use
in this function)
src/protocol/fastbinary.c:617: error: ‘DecodeBuffer’ has no member named ‘refill_callable’
src/protocol/fastbinary.c:622: warning: implicit declaration of function ‘PyCallable_Check’
src/protocol/fastbinary.c:622: error: ‘DecodeBuffer’ has no member named ‘refill_callable’
src/protocol/fastbinary.c: In function ‘readBytes’:
src/protocol/fastbinary.c:638: error: ‘PycStringIO’ undeclared (first use in this function)
src/protocol/fastbinary.c:638: error: ‘DecodeBuffer’ has no member named ‘stringiobuf’
src/protocol/fastbinary.c:645: error: ‘PyObject’ undeclared (first use in this function)
src/protocol/fastbinary.c:645: error: ‘newiobuf’ undeclared (first use in this function)
src/protocol/fastbinary.c:648: warning: implicit declaration of function ‘PyObject_CallFunction’
src/protocol/fastbinary.c:649: error: ‘DecodeBuffer’ has no member named ‘refill_callable’
src/protocol/fastbinary.c:649: error: ‘NULL’ undeclared (first use in this function)
src/protocol/fastbinary.c:655: warning: implicit declaration of function ‘Py_CLEAR’
src/protocol/fastbinary.c:655: error: ‘DecodeBuffer’ has no member named ‘stringiobuf’
src/protocol/fastbinary.c:656: error: ‘DecodeBuffer’ has no member named ‘stringiobuf’
src/protocol/fastbinary.c:658: error: ‘DecodeBuffer’ has no member named ‘stringiobuf’
src/protocol/fastbinary.c:666: error: ‘PyExc_TypeError’ undeclared (first use in this
function)
src/protocol/fastbinary.c: In function ‘checkTypeByte’:
src/protocol/fastbinary.c:730: error: ‘PyExc_TypeError’ undeclared (first use in this
function)
src/protocol/fastbinary.c: In function ‘skip’:
src/protocol/fastbinary.c:842: error: ‘PyExc_TypeError’ undeclared (first use in this
function)
src/protocol/fastbinary.c: At top level:
src/protocol/fastbinary.c:855: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
src/protocol/fastbinary.c:859: error: expected declaration specifiers or ‘...’ before
‘PyObject’
src/protocol/fastbinary.c:859: error: expected declaration specifiers or ‘...’ before
‘PyObject’
src/protocol/fastbinary.c: In function ‘decode_struct’:
src/protocol/fastbinary.c:860: error: ‘spec_seq’ undeclared (first use in this function)
src/protocol/fastbinary.c:868: error: ‘PyObject’ undeclared (first use in this function)
src/protocol/fastbinary.c:868: error: ‘item_spec’ undeclared (first use in this function)
src/protocol/fastbinary.c:869: error: ‘fieldval’ undeclared (first use in this function)
src/protocol/fastbinary.c:869: error: ‘NULL’ undeclared (first use in this function)
src/protocol/fastbinary.c:886: error: ‘Py_None’ undeclared (first use in this function)
src/protocol/fastbinary.c:897: error: too many arguments to function ‘parse_struct_item_spec’
src/protocol/fastbinary.c:902: error: ‘PyExc_TypeError’ undeclared (first use in this
function)
src/protocol/fastbinary.c:909: warning: implicit declaration of function ‘decode_val’
src/protocol/fastbinary.c:909: error: ‘StructItemSpec’ has no member named ‘typeargs’
src/protocol/fastbinary.c:914: warning: implicit declaration of function ‘PyObject_SetAttr’
src/protocol/fastbinary.c:914: error: ‘output’ undeclared (first use in this function)
src/protocol/fastbinary.c:914: error: ‘StructItemSpec’ has no member named ‘attrname’
src/protocol/fastbinary.c:915: warning: implicit declaration of function ‘Py_DECREF’
src/protocol/fastbinary.c: At top level:
src/protocol/fastbinary.c:927: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
src/protocol/fastbinary.c:1144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
src/protocol/fastbinary.c:1179: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘ThriftFastBinaryMethods’
src/protocol/fastbinary.c:1188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘initfastbinary’
error: command 'gcc' failed with exit status 1
make[3]: *** [all-local] Error 1
make[3]: Leaving directory `/home/nino/Downloads/thrift-0.4.0/lib/py'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nino/Downloads/thrift-0.4.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nino/Downloads/thrift-0.4.0'
make: *** [all] Error 2




      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message