seomoz / simhash-py

Simhash and near-duplicate detection
MIT License
406 stars 115 forks source link

Install failure #11

Closed zichuanwang closed 9 years ago

zichuanwang commented 9 years ago

Hi, I'm trying to install your awesome software.

Zichuans-MacBook-Pro:simhash-py zichuanwang$ sudo python setup.py install /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'dependencies' warnings.warn(msg) running install running build running build_py running build_ext skipping 'simhash/table.cpp' Cython extension (up-to-date) building 'simhash.table' extension cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x8664 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c simhash/table.cpp -o build/temp.macosx-10.9-intel-2.7/simhash/table.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ simhash/table.cpp:235:37: error: simhash-cpp/src/simhash.h: No such file or directory simhash/table.cpp:238:36: error: simhash-cpp/src/hash.hpp: No such file or directory simhash/table.cpp:438: error: ‘Simhash’ has not been declared simhash/table.cpp:438: error: ISO C++ forbids declaration of ‘Table’ with no type simhash/table.cpp:438: error: expected ‘;’ before ‘’ token simhash/table.cpp:439: error: ‘Simhash’ has not been declared simhash/table.cpp:439: error: ISO C++ forbids declaration of ‘hash_t’ with no type simhash/table.cpp:439: error: expected ‘;’ before ‘searchmask’ simhash/table.cpp:470: error: ‘Simhash’ has not been declared simhash/table.cpp:472: error: ‘Simhash’ has not been declared simhash/table.cpp:473: error: ‘Simhash’ has not been declared simhash/table.cpp:473: error: expected identifier before ‘’ token simhash/table.cpp:473: error: ‘Simhash’ has not been declared simhash/table.cpp:473: error: ISO C++ forbids declaration of ‘hash_t’ with no type simhash/table.cpp:473: error: ‘hash_t’ declared as function returning a function simhash/table.cpp:475: error: ‘Simhash’ has not been declared simhash/table.cpp:477: error: ‘Simhash’ has not been declared simhash/table.cpp:478: error: ‘Simhash’ has not been declared simhash/table.cpp:498: error: ‘Simhash’ has not been declared simhash/table.cpp:500: error: ‘Simhash’ has not been declared simhash/table.cpp:501: error: ‘Simhash’ has not been declared simhash/table.cpp:501: error: ‘Simhash’ has not been declared simhash/table.cpp:743: error: ‘Simhash’ has not been declared simhash/table.cpp:743: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp:745: error: ‘Simhash’ has not been declared simhash/table.cpp:745: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp:746: error: ‘Simhash’ has not been declared simhash/table.cpp:746: error: expected initializer before ‘pyx_f_7simhash_5table_7PyTable_find_first’ simhash/table.cpp:748: error: ‘Simhash’ has not been declared simhash/table.cpp:748: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:750: error: ‘Simhash’ has not been declared simhash/table.cpp:750: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:751: error: ‘Simhash’ has not been declared simhash/table.cpp:751: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:758: error: ‘Simhash’ has not been declared simhash/table.cpp:758: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:760: error: ‘Simhash’ has not been declared simhash/table.cpp:760: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:761: error: ‘Simhash’ has not been declared simhash/table.cpp:761: error: expected ‘,’ or ‘...’ before ‘pyx_v_a’ simhash/table.cpp:789: error: ‘Simhash’ has not been declared simhash/table.cpp:789: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp:791: error: ‘Simhash’ has not been declared simhash/table.cpp:791: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp:792: error: ‘Simhash’ has not been declared simhash/table.cpp:792: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:794: error: ‘Simhash’ has not been declared simhash/table.cpp:794: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:796: error: ‘Simhash’ has not been declared simhash/table.cpp:796: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:797: error: ‘Simhash’ has not been declared simhash/table.cpp:797: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:806: error: ‘Simhash’ has not been declared simhash/table.cpp:806: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:808: error: ‘Simhash’ has not been declared simhash/table.cpp:808: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:809: error: ‘Simhash’ has not been declared simhash/table.cpp:809: error: expected ‘,’ or ‘...’ before ‘pyx_v_a’ simhash/table.cpp: In function ‘PyObject* pyx_f_7simhash_5tablePyHash(PyObject, int)’: simhash/table.cpp:901: error: ‘Simhash’ has not been declared simhash/table.cpp:901: error: ‘Simhash’ has not been declared simhash/table.cpp:901: error: ‘pyx_vhasher’ was not declared in this scope simhash/table.cpp: In function ‘PyObject pyx_f_7simhash_5table_PyHashFp(PyObject*, int)’: simhash/table.cpp:1312: error: ‘Simhash’ has not been declared simhash/table.cpp:1312: error: ‘Simhash’ has not been declared simhash/table.cpp:1312: error: ‘pyx_v_hasher’ was not declared in this scope simhash/table.cpp: In function ‘int __pyx_pf_7simhash_5table7PyTablecinit(pyx_obj_7simhash_5tablePyTable, PyObject_, PyObject*)’: simhash/table.cpp:1682: error: ‘Simhash’ was not declared in this scope simhash/table.cpp:1682: error: template argument 1 is invalid simhash/table.cpp:1682: error: template argument 2 is invalid simhash/table.cpp:1682: error: invalid type in declaration before ‘;’ token simhash/table.cpp:1690: error: ‘Simhash’ is not a class or namespace simhash/table.cpp:1690: error: expected ;' before ‘__pyx_t_5’ simhash/table.cpp:1751: error: ‘__pyx_t_5’ was not declared in this scope simhash/table.cpp:1751: error: ‘Simhash’ is not a class or namespace simhash/table.cpp:1752: error: request for member ‘push_back’ in ‘__pyx_v_perms’, which is of non-class type ‘int’ simhash/table.cpp:1772: error: ‘struct __pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp:1772: error: expected type-specifier before ‘Simhash’ simhash/table.cpp:1772: error: expected;' before ‘Simhash’ simhash/table.cpp:1781: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘search_mask’ simhash/table.cpp:1781: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp: In function ‘void pyx_pf_7simhash_5table_7PyTable_2dealloc(pyx_obj_7simhash_5tablePyTable)’: simhash/table.cpp:1835: error: ‘struct pyx_obj_7simhash_5tablePyTable’ has no member named ‘tbl’ simhash/table.cpp: In function ‘PyObject __pyx_f_7simhash_5table_7PyTable_hashes(pyx_obj_7simhash_5tablePyTable, int)’: simhash/table.cpp:1860: error: ‘Simhash’ has not been declared simhash/table.cpp:1860: error: expected ;' before ‘__pyx_v_it’ simhash/table.cpp:1927: error: ‘__pyx_v_it’ was not declared in this scope simhash/table.cpp:1927: error: ‘struct __pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp:1937: error: ‘struct __pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp: In function ‘PyObject_ __pyx_f_7simhash_5table_7PyTable_insert_bulk(__pyx_obj_7simhash_5table_PyTable_, PyObject_, int)’: simhash/table.cpp:2056: error: ‘Simhash’ has not been declared simhash/table.cpp:2056: error: expected;' before ‘pyx_t_8’ simhash/table.cpp:2157: error: ‘pyx_t_8’ was not declared in this scope simhash/table.cpp:2157: error: ‘Simhash’ has not been declared simhash/table.cpp:2158: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp: At global scope: simhash/table.cpp:2245: error: ‘Simhash’ has not been declared simhash/table.cpp:2245: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp: In function ‘PyObject __pyx_f_7simhash_5table_7PyTable_insert(__pyx_obj_7simhash_5table_PyTable, int)’: simhash/table.cpp:2259: error: ‘pyx_skip_dispatch’ was not declared in this scope simhash/table.cpp:2266: error: ‘pyx_v_h’ was not declared in this scope simhash/table.cpp:2310: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp:2310: error: ‘pyx_v_h’ was not declared in this scope simhash/table.cpp: In function ‘PyObject __pyx_pw_7simhash_5table_7PyTable_9insert(PyObject, PyObject)’: simhash/table.cpp:2342: error: ‘Simhash’ has not been declared simhash/table.cpp:2342: error: expected;' before ‘__pyx_v_h’ simhash/table.cpp:2350: error: ‘__pyx_v_h’ was not declared in this scope simhash/table.cpp:2350: error: ‘Simhash’ has not been declared simhash/table.cpp:2358: error: ‘Simhash’ has not been declared simhash/table.cpp:2358: error: expected)' before ‘pyx_v_h’ simhash/table.cpp: At global scope: simhash/table.cpp:2365: error: ‘Simhash’ has not been declared simhash/table.cpp:2365: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp: In function ‘PyObject pyx_pf_7simhash_5table_7PyTable_8insert(pyx_obj_7simhash_5table_PyTable*, int)’: simhash/table.cpp:2374: error: ‘pyx_v_h’ was not declared in this scope simhash/table.cpp: In function ‘PyObject pyx_f_7simhash_5table_7PyTable_remove_bulk(pyx_obj_7simhash_5table_PyTable, PyObject, int)’: simhash/table.cpp:2411: error: ‘Simhash’ has not been declared simhash/table.cpp:2411: error: expected`;' before ‘pyx_t_8’ simhash/table.cpp:2512: error: ‘pyx_t_8’ was not declared in this scope simhash/table.cpp:2512: error: ‘Simhash’ has not been declared simhash/table.cpp:2513: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp: At global scope: simhash/table.cpp:2600: error: ‘Simhash’ has not been declared simhash/table.cpp:2600: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp: In function ‘PyObject\ __pyx_f_7simhash_5table_7PyTable_remove(pyx_obj_7simhash_5tablePyTable, int)’: simhash/table.cpp:2614: error: ‘pyx_skip_dispatch’ was not declared in this scope simhash/table.cpp:2621: error: ‘pyx_v_h’ was not declared in this scope simhash/table.cpp:2665: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp:2665: error: ‘pyx_vh’ was not declared in this scope simhash/table.cpp: In function ‘PyObject pyx_pw_7simhash_5table_7PyTable13remove(PyObject, PyObject_)’: simhash/table.cpp:2697: error: ‘Simhash’ has not been declared simhash/table.cpp:2697: error: expected ;' before ‘__pyx_v_h’ simhash/table.cpp:2705: error: ‘__pyx_v_h’ was not declared in this scope simhash/table.cpp:2705: error: ‘Simhash’ has not been declared simhash/table.cpp:2713: error: ‘Simhash’ has not been declared simhash/table.cpp:2713: error: expected)' before ‘pyx_v_h’ simhash/table.cpp: At global scope: simhash/table.cpp:2720: error: ‘Simhash’ has not been declared simhash/table.cpp:2720: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp: In function ‘PyObject* __pyx_pf_7simhash_5table_7PyTable_12remove(pyx_obj_7simhash_5tablePyTable, int)’: simhash/table.cpp:2729: error: ‘pyx_v_h’ was not declared in this scope simhash/table.cpp: At global scope: simhash/table.cpp:2755: error: ‘Simhash’ has not been declared simhash/table.cpp:2755: error: expected initializer before ‘pyx_f_7simhash_5table_7PyTable_findfirst’ simhash/table.cpp:583: warning: inline function ‘PyObject PyxGetModuleGlobalName(PyObject)’ used but never defined simhash/table.cpp:586: warning: inline function ‘PyObject_ Pyx_PyObjectCall(PyObject, PyObject, PyObject)’ used but never defined simhash/table.cpp:317: warning: inline function ‘PyObject_ Pyx_PyInt_FromSize_t(size_t)’ used but never defined simhash/table.cpp:725: warning: inline function ‘size_t Pyx_PyInt_As_sizet(PyObject)’ used but never defined simhash/table.cpp:278: warning: inline function ‘char_ __Pyx_PyObjectAsString(PyObject)’ used but never defined simhash/table.cpp:316: warning: inline function ‘Py_ssize_t Pyx_PyIndex_AsSsizet(PyObject)’ used but never defined simhash/table.cpp:596: warning: inline function ‘void Pyx_ExceptionSwap(PyObject, PyObject, PyObject)’ used but never defined simhash/table.cpp:592: warning: inline function ‘void Pyx_ErrFetch(PyObject, PyObject, PyObject**)’ used but never defined simhash/table.cpp:591: warning: inline function ‘void __PyxErrRestore(PyObject, PyObject, PyObject)’ used but never defined simhash/table.cpp:727: warning: inline function ‘PyObject_ Pyx_PyInt_From_unsigned_PY_LONG_LONG(long long unsigned int)’ used but never defined simhash/table.cpp:729: warning: inline function ‘int64_t Pyx_PyInt_As_int64t(PyObject)’ used but never defined simhash/table.cpp:731: warning: inline function ‘int __Pyx_PyInt_Asint(PyObject)’ used but never defined simhash/table.cpp:723: warning: inline function ‘uint64_t Pyx_PyInt_As_uint64t(PyObject)’ used but never defined simhash/table.cpp:614: warning: inline function ‘PyObject_ Pyx_PyObjectCallOneArg(PyObject, PyObject_)’ used but never defined simhash/table.cpp:617: warning: inline function ‘PyObject* Pyx_PyObjectCallNoArg(PyObject)’ used but never defined simhash/table.cpp:719: warning: inline function ‘PyObject_ Pyx_PyInt_From_uint64_t(uint64_t)’ used but never defined simhash/table.cpp:640: warning: inline function ‘int Pyx_PyObjectAppend(PyObject, PyObject_)’ used but never defined simhash/table.cpp:279: warning: ‘char* Pyx_PyObjectAsStringAndSize(PyObject, Py_ssizet)’ declared ‘static’ but never defined simhash/table.cpp:284: warning: ‘PyObject* __Pyx_PyUnicodeFromString(const char)’ declared ‘static’ but never defined simhash/table.cpp:314: warning: ‘int Pyx_PyObjectIsTrue(PyObject)’ declared ‘static’ but never defined simhash/table.cpp:315: warning: ‘PyObject* Pyx_PyNumberInt(PyObject)’ declared ‘static’ but never defined simhash/table.cpp:409: warning: ‘__pyx_m’ defined but not used simhash/table.cpp:410: warning: ‘pyx_d’ defined but not used simhash/table.cpp:411: warning: ‘pyx_b’ defined but not used simhash/table.cpp:412: warning: ‘pyx_empty_tuple’ defined but not used simhash/table.cpp:413: warning: ‘pyx_empty_bytes’ defined but not used simhash/table.cpp:414: warning: ‘__pyx_lineno’ defined but not used simhash/table.cpp:415: warning: ‘pyx_clineno’ defined but not used simhash/table.cpp:416: warning: ‘pyx_cfilenm’ defined but not used simhash/table.cpp:417: warning: ‘__pyx_filename’ defined but not used simhash/table.cpp:480: warning: ‘pyx_vtabptr_7simhash_5table_PyTable’ defined but not used simhash/table.cpp:503: warning: ‘pyx_vtabptr_7simhash_5tablePyCorpus’ defined but not used simhash/table.cpp:581: warning: ‘PyObject PyxGetBuiltinName(PyObject)’ declared ‘static’ but never defined simhash/table.cpp:594: warning: ‘int Pyx_GetException(PyObject, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:598: warning: ‘void Pyx_ExceptionSave(PyObject, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:599: warning: ‘void PyxExceptionReset(PyObject, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:602: warning: ‘void PyxRaiseArgtupleInvalid(const char, int, Py_ssize_t, Py_ssize_t, Py_ssize_t)’ declared ‘static’ but never defined simhash/table.cpp:604: warning: ‘void PyxRaiseDoubleKeywordsError(const char, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:606: warning: ‘int PyxParseOptionalKeywords(PyObject, PyObject, PyObject, PyObject, Py_ssizet, const char)’ declared ‘static’ but never defined simhash/table.cpp:611: warning: ‘PyObject_ Pyx_PyObjectCallMethO(PyObject, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:638: warning: ‘PyObject* Pyx_PyObjectCallMethod1(PyObject, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:644: warning: ‘void PyxWriteUnraisable(const char, int, int, const char, int)’ declared ‘static’ but never defined simhash/table.cpp:677: warning: ‘PyObject Pyx_GetItemInt_ListFast(PyObject, Py_ssizet, int, int)’ declared ‘static’ but never defined simhash/table.cpp:683: warning: ‘PyObject Pyx_GetItemInt_TupleFast(PyObject, Py_ssizet, int, int)’ declared ‘static’ but never defined simhash/table.cpp:684: warning: ‘PyObject Pyx_GetItemIntGeneric(PyObject, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:686: warning: ‘PyObject* Pyx_GetItemIntFast(PyObject, Py_ssize_t, int, int, int)’ declared ‘static’ but never defined simhash/table.cpp:700: warning: ‘int PyxSetVtable(PyObject, void_)’ declared ‘static’ but never defined simhash/table.cpp:711: warning: ‘pyx_code_cache’ defined but not used simhash/table.cpp:712: warning: ‘int pyx_bisect_code_objects(PyxCodeObjectCacheEntry, int, int)’ declared ‘static’ but never defined simhash/table.cpp:713: warning: ‘PyCodeObject* pyx_find_code_object(int)’ declared ‘static’ but never defined simhash/table.cpp:714: warning: ‘void pyx_insert_codeobject(int, PyCodeObject)’ declared ‘static’ but never defined simhash/table.cpp:717: warning: ‘void PyxAddTraceback(const char, int, int, const char)’ declared ‘static’ but never defined simhash/table.cpp:721: warning: ‘PyObject PyxImport(PyObject, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:733: warning: ‘PyObject* __Pyx_PyInt_From_long(long int)’ declared ‘static’ but never defined simhash/table.cpp:735: warning: ‘long int Pyx_PyInt_Aslong(PyObject)’ declared ‘static’ but never defined simhash/table.cpp:737: warning: ‘int Pyx_check_binary_version()’ declared ‘static’ but never defined simhash/table.cpp:739: warning: ‘int __Pyx_InitStrings(PyxStringTabEntry)’ declared ‘static’ but never defined simhash/table.cpp:747: warning: ‘PyObject* pyx_f_7simhash_5table_7PyTable_find_first_bulk(pyx_obj_7simhash_5tablePyTable, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:748: warning: ‘PyObject* pyx_f_7simhash_5table_7PyTable_find_all(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:749: warning: ‘PyObject_ pyx_f_7simhash_5table_7PyTable_find_all_bulk(pyx_obj_7simhash_5tablePyTable, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:750: warning: ‘PyObject* pyx_f_7simhash_5table_7PyTable_permute(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:751: warning: ‘PyObject_ pyx_f_7simhash_5table_7PyTable_unpermute(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:752: warning: ‘PyObject_ pyx_f_7simhash_5table_8PyCorpus_hashes(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:753: warning: ‘PyObject_ pyx_f_7simhash_5table_8PyCorpus_insert_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:754: warning: ‘PyObject* pyx_f_7simhash_5table_8PyCorpus_insert(pyx_obj_7simhash_5tablePyCorpus, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:755: warning: ‘PyObject* pyx_f_7simhash_5table_8PyCorpus_remove_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:756: warning: ‘PyObject* pyx_f_7simhash_5table_8PyCorpus_remove(pyx_obj_7simhash_5tablePyCorpus, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:757: warning: ‘PyObject* pyx_f_7simhash_5table_8PyCorpus_find_first_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:758: warning: ‘PyObject* pyx_f_7simhash_5table_8PyCorpus_find_first(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:759: warning: ‘PyObject_ pyx_f_7simhash_5table_8PyCorpus_find_all_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:760: warning: ‘PyObject* pyx_f_7simhash_5table_8PyCorpus_find_all(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:761: warning: ‘PyObject_ pyx_f_7simhash_5table_8PyCorpus_distance(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:772: warning: ‘pyx_ptype_7simhash_5table_PyTable’ defined but not used simhash/table.cpp:773: warning: ‘pyx_ptype_7simhash_5table_PyCorpus’ defined but not used simhash/table.cpp:780: warning: ‘pyx_builtin_MemoryError’ defined but not used simhash/table.cpp:782: warning: ‘pyx_builtinrange’ defined but not used simhash/table.cpp:792: warning: ‘PyObject pyx_pf_7simhash_5table_7PyTable_14find_first(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:793: warning: ‘PyObject_ pyx_pf_7simhash_5table_7PyTable_16find_first_bulk(pyx_obj_7simhash_5tablePyTable, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:794: warning: ‘PyObject* pyx_pf_7simhash_5table_7PyTable_18find_all(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:795: warning: ‘PyObject_ pyx_pf_7simhash_5table_7PyTable_20find_all_bulk(pyx_obj_7simhash_5tablePyTable, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:796: warning: ‘PyObject* pyx_pf_7simhash_5table_7PyTable_22permute(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:797: warning: ‘PyObject_ pyx_pf_7simhash_5table_7PyTable_24unpermute(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:798: warning: ‘PyObject_ pyx_pf_7simhash_5table_7PyTable_11search_mask_get(pyx_obj_7simhash_5table_PyTable*)’ declared ‘static’ but never defined simhash/table.cpp:799: warning: ‘int pyx_pf_7simhash_5table8PyCorpusinit(pyx_obj_7simhash_5tablePyCorpus, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:800: warning: ‘PyObject_ pyx_pf_7simhash_5table_8PyCorpus_2hashes(pyx_obj_7simhash_5tablePyCorpus)’ declared ‘static’ but never defined simhash/table.cpp:801: warning: ‘PyObject_ pyx_pf_7simhash_5table_8PyCorpus_4insert_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:802: warning: ‘PyObject* pyx_pf_7simhash_5table_8PyCorpus_6insert(pyx_obj_7simhash_5tablePyCorpus, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:803: warning: ‘PyObject* pyx_pf_7simhash_5table_8PyCorpus_8remove_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:804: warning: ‘PyObject* pyx_pf_7simhash_5table_8PyCorpus_10remove(pyx_obj_7simhash_5tablePyCorpus, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:805: warning: ‘PyObject* pyx_pf_7simhash_5table_8PyCorpus_12find_first_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:806: warning: ‘PyObject* pyx_pf_7simhash_5table_8PyCorpus_14find_first(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:807: warning: ‘PyObject_ pyx_pf_7simhash_5table_8PyCorpus_16find_all_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:808: warning: ‘PyObject* pyx_pf_7simhash_5table_8PyCorpus_18find_all(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:809: warning: ‘PyObject_ pyx_pf_7simhash_5table_8PyCorpus_20distance(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:810: warning: ‘PyObject_ pyx_pf_7simhash_5table_8PyCorpus6tablesget(pyx_obj_7simhash_5tablePyCorpus)’ declared ‘static’ but never defined simhash/table.cpp:811: warning: ‘PyObject_ pyx_pf_7simhash_5table_8PyCorpus_14differing_bits_get(pyx_obj_7simhash_5tablePyCorpus)’ declared ‘static’ but never defined simhash/table.cpp:812: warning: ‘PyObject_ pyx_tp_new_7simhash_5tablePyTable(PyTypeObject, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:813: warning: ‘PyObject_ pyx_tp_new_7simhash_5tablePyCorpus(PyTypeObject, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:814: warning: ‘pyx_k_W’ defined but not used simhash/table.cpp:815: warning: ‘pyx_k_a’ defined but not used simhash/table.cpp:816: warning: ‘pyx_k_b’ defined but not used simhash/table.cpp:817: warning: ‘pyx_k_d’ defined but not used simhash/table.cpp:818: warning: ‘pyx_k2’ defined but not used simhash/table.cpp:819: warning: ‘pyx_k_re’ defined but not used simhash/table.cpp:820: warning: ‘pyx_k_main’ defined but not used simhash/table.cpp:821: warning: ‘pyx_k_test’ defined but not used simhash/table.cpp:822: warning: ‘pyx_k_flags’ defined but not used simhash/table.cpp:823: warning: ‘pyx_k_range’ defined but not used simhash/table.cpp:824: warning: ‘pyx_k_split’ defined but not used simhash/table.cpp:825: warning: ‘pyx_k_utf_8’ defined but not used simhash/table.cpp:826: warning: ‘pyx_k_append’ defined but not used simhash/table.cpp:827: warning: ‘pyx_k_encode’ defined but not used simhash/table.cpp:828: warning: ‘pyx_k_hashes’ defined but not used simhash/table.cpp:829: warning: ‘pyx_k_import’ defined but not used simhash/table.cpp:830: warning: ‘pyx_k_insert’ defined but not used simhash/table.cpp:831: warning: ‘pyx_k_remove’ defined but not used simhash/table.cpp:832: warning: ‘pyx_k_xrange’ defined but not used simhash/table.cpp:833: warning: ‘pyx_k_UNICODE’ defined but not used simhash/table.cpp:834: warning: ‘pyx_k_permute’ defined but not used simhash/table.cpp:835: warning: ‘pyx_k_distance’ defined but not used simhash/table.cpp:836: warning: ‘pyx_k_find_all’ defined but not used simhash/table.cpp:837: warning: ‘pyx_k_diff_bits’ defined but not used simhash/table.cpp:838: warning: ‘pyx_k_itertools’ defined but not used simhash/table.cpp:839: warning: ‘pyx_k_permutors’ defined but not used simhash/table.cpp:840: warning: ‘pyx_k_unpermute’ defined but not used simhash/table.cpp:841: warning: ‘pyx_k_find_first’ defined but not used simhash/table.cpp:842: warning: ‘pyx_k_num_blocks’ defined but not used simhash/table.cpp:843: warning: ‘pyx_k_pyx_vtable’ defined but not used simhash/table.cpp:844: warning: ‘pyx_k_MemoryError’ defined but not used simhash/table.cpp:845: warning: ‘pyx_k_insert_bulk’ defined but not used simhash/table.cpp:846: warning: ‘pyx_k_remove_bulk’ defined but not used simhash/table.cpp:847: warning: ‘pyx_k_combinations’ defined but not used simhash/table.cpp:848: warning: ‘pyx_k_find_all_bulk’ defined but not used simhash/table.cpp:849: warning: ‘pyx_k_find_first_bulk’ defined but not used simhash/table.cpp:850: warning: ‘pyx_n_s_MemoryError’ defined but not used simhash/table.cpp:854: warning: ‘pyx_n_s_a’ defined but not used simhash/table.cpp:855: warning: ‘__pyx_n_s_append’ defined but not used simhash/table.cpp:856: warning: ‘pyx_n_s_b’ defined but not used simhash/table.cpp:857: warning: ‘pyx_n_s_combinations’ defined but not used simhash/table.cpp:859: warning: ‘pyx_n_s_diff_bits’ defined but not used simhash/table.cpp:860: warning: ‘pyx_n_s_distance’ defined but not used simhash/table.cpp:862: warning: ‘pyx_n_s_find_all’ defined but not used simhash/table.cpp:863: warning: ‘pyx_n_s_find_all_bulk’ defined but not used simhash/table.cpp:864: warning: ‘pyx_n_s_find_first’ defined but not used simhash/table.cpp:865: warning: ‘pyx_n_s_find_first_bulk’ defined but not used simhash/table.cpp:868: warning: ‘pyx_n_s_import’ defined but not used simhash/table.cpp:871: warning: ‘pyx_n_s_itertools’ defined but not used simhash/table.cpp:872: warning: ‘__pyx_n_s_main’ defined but not used simhash/table.cpp:873: warning: ‘pyx_n_s_num_blocks’ defined but not used simhash/table.cpp:874: warning: ‘pyx_n_s_permute’ defined but not used simhash/table.cpp:876: warning: ‘pyx_n_s_pyx_vtable’ defined but not used simhash/table.cpp:877: warning: ‘pyx_n_s_range’ defined but not used simhash/table.cpp:882: warning: ‘pyx_n_s_test’ defined but not used simhash/table.cpp:883: warning: ‘pyx_n_s_unpermute’ defined but not used simhash/table.cpp:884: warning: ‘pyx_kp_s_utf_8’ defined but not used simhash/table.cpp:885: warning: ‘pyx_n_s_xrange’ defined but not used simhash/table.cpp:886: warning: ‘pyx_int_0’ defined but not used simhash/table.cpp:888: warning: ‘pyx_int64’ defined but not used simhash/table.cpp:1265: warning: ‘PyObject pyx_pw_7simhash_5table1PyHash(PyObject, PyObject_)’ defined but not used simhash/table.cpp:1264: warning: ‘pyx_doc_7simhash_5table_PyHash’ defined but not used simhash/table.cpp:1575: warning: ‘PyObject* pyx_pw_7simhash_5table3PyHashFp(PyObject, PyObject_)’ defined but not used simhash/table.cpp:1574: warning: ‘pyx_doc_7simhash_5table_2PyHashFp’ defined but not used simhash/table.cpp:1622: warning: ‘int __pyx_pw_7simhash_5table_7PyTable_1cinit(PyObject, PyObject, PyObject_)’ defined but not used simhash/table.cpp:1815: warning: ‘void pyx_pw_7simhash_5table_7PyTable_3dealloc(PyObject_)’ defined but not used simhash/table.cpp:2198: warning: ‘pyx_doc_7simhash_5table_7PyTable_6insert_bulk’ defined but not used simhash/table.cpp:2340: warning: ‘__pyx_doc_7simhash_5table_7PyTable_8insert’ defined but not used simhash/table.cpp:2553: warning: ‘pyx_doc_7simhash_5table_7PyTable_10remove_bulk’ defined but not used simhash/table.cpp:2695: warning: ‘pyx_doc_7simhash_5table_7PyTable_12remove’ defined but not used simhash/table.cpp:2754: warning: ‘PyObject* pyx_pw_7simhash_5table_7PyTable_15findfirst(PyObject, PyObject)’ declared ‘static’ but never defined cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ simhash/table.cpp:235:37: error: simhash-cpp/src/simhash.h: No such file or directory simhash/table.cpp:238:36: error: simhash-cpp/src/hash.hpp: No such file or directory simhash/table.cpp:438: error: ‘Simhash’ has not been declared simhash/table.cpp:438: error: ISO C++ forbids declaration of ‘Table’ with no type simhash/table.cpp:438: error: expected ‘;’ before ‘’ token simhash/table.cpp:439: error: ‘Simhash’ has not been declared simhash/table.cpp:439: error: ISO C++ forbids declaration of ‘hash_t’ with no type simhash/table.cpp:439: error: expected ‘;’ before ‘searchmask’ simhash/table.cpp:470: error: ‘Simhash’ has not been declared simhash/table.cpp:472: error: ‘Simhash’ has not been declared simhash/table.cpp:473: error: ‘Simhash’ has not been declared simhash/table.cpp:473: error: expected identifier before ‘’ token simhash/table.cpp:473: error: ‘Simhash’ has not been declared simhash/table.cpp:473: error: ISO C++ forbids declaration of ‘hash_t’ with no type simhash/table.cpp:473: error: ‘hash_t’ declared as function returning a function simhash/table.cpp:475: error: ‘Simhash’ has not been declared simhash/table.cpp:477: error: ‘Simhash’ has not been declared simhash/table.cpp:478: error: ‘Simhash’ has not been declared simhash/table.cpp:498: error: ‘Simhash’ has not been declared simhash/table.cpp:500: error: ‘Simhash’ has not been declared simhash/table.cpp:501: error: ‘Simhash’ has not been declared simhash/table.cpp:501: error: ‘Simhash’ has not been declared simhash/table.cpp:743: error: ‘Simhash’ has not been declared simhash/table.cpp:743: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp:745: error: ‘Simhash’ has not been declared simhash/table.cpp:745: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp:746: error: ‘Simhash’ has not been declared simhash/table.cpp:746: error: expected initializer before ‘pyx_f_7simhash_5table_7PyTable_find_first’ simhash/table.cpp:748: error: ‘Simhash’ has not been declared simhash/table.cpp:748: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:750: error: ‘Simhash’ has not been declared simhash/table.cpp:750: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:751: error: ‘Simhash’ has not been declared simhash/table.cpp:751: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:758: error: ‘Simhash’ has not been declared simhash/table.cpp:758: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:760: error: ‘Simhash’ has not been declared simhash/table.cpp:760: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:761: error: ‘Simhash’ has not been declared simhash/table.cpp:761: error: expected ‘,’ or ‘...’ before ‘pyx_v_a’ simhash/table.cpp:789: error: ‘Simhash’ has not been declared simhash/table.cpp:789: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp:791: error: ‘Simhash’ has not been declared simhash/table.cpp:791: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp:792: error: ‘Simhash’ has not been declared simhash/table.cpp:792: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:794: error: ‘Simhash’ has not been declared simhash/table.cpp:794: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:796: error: ‘Simhash’ has not been declared simhash/table.cpp:796: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:797: error: ‘Simhash’ has not been declared simhash/table.cpp:797: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:806: error: ‘Simhash’ has not been declared simhash/table.cpp:806: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:808: error: ‘Simhash’ has not been declared simhash/table.cpp:808: error: expected ‘,’ or ‘...’ before ‘pyx_v_query’ simhash/table.cpp:809: error: ‘Simhash’ has not been declared simhash/table.cpp:809: error: expected ‘,’ or ‘...’ before ‘pyx_v_a’ simhash/table.cpp: In function ‘PyObject* pyx_f_7simhash_5tablePyHash(PyObject, int)’: simhash/table.cpp:901: error: ‘Simhash’ has not been declared simhash/table.cpp:901: error: ‘Simhash’ has not been declared simhash/table.cpp:901: error: ‘pyx_vhasher’ was not declared in this scope simhash/table.cpp: In function ‘PyObject pyx_f_7simhash_5table_PyHashFp(PyObject*, int)’: simhash/table.cpp:1312: error: ‘Simhash’ has not been declared simhash/table.cpp:1312: error: ‘Simhash’ has not been declared simhash/table.cpp:1312: error: ‘pyx_v_hasher’ was not declared in this scope simhash/table.cpp: In function ‘int pyx_pf_7simhash_5table_7PyTable_cinit(pyx_obj_7simhash_5tablePyTable, PyObject_, PyObject*)’: simhash/table.cpp:1682: error: ‘Simhash’ was not declared in this scope simhash/table.cpp:1682: error: template argument 1 is invalid simhash/table.cpp:1682: error: template argument 2 is invalid simhash/table.cpp:1682: error: invalid type in declaration before ‘;’ token simhash/table.cpp:1690: error: ‘Simhash’ is not a class or namespace simhash/table.cpp:1690: error: expected `;' before ‘pyx_t_5’ simhash/table.cpp:1751: error: ‘__pyx_t_5’ was not declared in this scope simhash/table.cpp:1751: error: ‘Simhash’ is not a class or namespace simhash/table.cpp:1752: error: request for member ‘push_back’ in ‘pyx_v_perms’, which is of non-class type ‘int’ simhash/table.cpp:1772: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp:1772: error: expected type-specifier before ‘Simhash’ simhash/table.cpp:1772: error: expected`;' before ‘Simhash’ simhash/table.cpp:1781: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘search_mask’ simhash/table.cpp:1781: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp: In function ‘void pyx_pf_7simhash_5table_7PyTable_2dealloc(pyx_obj_7simhash_5tablePyTable)’: simhash/table.cpp:1835: error: ‘struct __pyx_obj_7simhash_5tablePyTable’ has no member named ‘tbl’ simhash/table.cpp: In function ‘PyObject pyx_f_7simhash_5table_7PyTable_hashes(pyx_obj_7simhash_5tablePyTable, int)’: simhash/table.cpp:1860: error: ‘Simhash’ has not been declared simhash/table.cpp:1860: error: expected `;' before ‘pyx_v_it’ simhash/table.cpp:1927: error: ‘pyx_v_it’ was not declared in this scope simhash/table.cpp:1927: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp:1937: error: ‘struct pyx_obj_7simhash_5tablePyTable’ has no member named ‘tbl’ simhash/table.cpp: In function ‘PyObject pyx_f_7simhash_5table_7PyTable_insert_bulk(pyx_obj_7simhash_5tablePyTable, PyObject_, int)’: simhash/table.cpp:2056: error: ‘Simhash’ has not been declared simhash/table.cpp:2056: error: expected `;' before ‘pyx_t_8’ simhash/table.cpp:2157: error: ‘pyx_t_8’ was not declared in this scope simhash/table.cpp:2157: error: ‘Simhash’ has not been declared simhash/table.cpp:2158: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp: At global scope: simhash/table.cpp:2245: error: ‘Simhash’ has not been declared simhash/table.cpp:2245: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp: In function ‘PyObject* pyx_f_7simhash_5table_7PyTable_insert(pyx_obj_7simhash_5table_PyTable*, int)’: simhash/table.cpp:2259: error: ‘pyx_skip_dispatch’ was not declared in this scope simhash/table.cpp:2266: error: ‘pyx_v_h’ was not declared in this scope simhash/table.cpp:2310: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp:2310: error: ‘pyx_v_h’ was not declared in this scope simhash/table.cpp: In function ‘PyObject* pyx_pw_7simhash_5table_7PyTable_9insert(PyObject, PyObject)’: simhash/table.cpp:2342: error: ‘Simhash’ has not been declared simhash/table.cpp:2342: error: expected;' before ‘__pyx_v_h’ simhash/table.cpp:2350: error: ‘__pyx_v_h’ was not declared in this scope simhash/table.cpp:2350: error: ‘Simhash’ has not been declared simhash/table.cpp:2358: error: ‘Simhash’ has not been declared simhash/table.cpp:2358: error: expected)' before ‘pyx_v_h’ simhash/table.cpp: At global scope: simhash/table.cpp:2365: error: ‘Simhash’ has not been declared simhash/table.cpp:2365: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp: In function ‘PyObject __pyx_pf_7simhash_5table_7PyTable_8insert(__pyx_obj_7simhash_5table_PyTable, int)’: simhash/table.cpp:2374: error: ‘pyx_v_h’ was not declared in this scope simhash/table.cpp: In function ‘PyObject* pyx_f_7simhash_5table_7PyTable_remove_bulk(pyx_obj_7simhash_5table_PyTable, PyObject, int)’: simhash/table.cpp:2411: error: ‘Simhash’ has not been declared simhash/table.cpp:2411: error: expected`;' before ‘pyx_t_8’ simhash/table.cpp:2512: error: ‘pyx_t_8’ was not declared in this scope simhash/table.cpp:2512: error: ‘Simhash’ has not been declared simhash/table.cpp:2513: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp: At global scope: simhash/table.cpp:2600: error: ‘Simhash’ has not been declared simhash/table.cpp:2600: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp: In function ‘PyObject* pyx_f_7simhash_5table_7PyTable_remove(pyx_obj_7simhash_5tablePyTable, int)’: simhash/table.cpp:2614: error: ‘pyx_skip_dispatch’ was not declared in this scope simhash/table.cpp:2621: error: ‘pyx_v_h’ was not declared in this scope simhash/table.cpp:2665: error: ‘struct pyx_obj_7simhash_5table_PyTable’ has no member named ‘tbl’ simhash/table.cpp:2665: error: ‘pyx_vh’ was not declared in this scope simhash/table.cpp: In function ‘PyObject pyx_pw_7simhash_5table_7PyTable13remove(PyObject, PyObject_)’: simhash/table.cpp:2697: error: ‘Simhash’ has not been declared simhash/table.cpp:2697: error: expected ;' before ‘__pyx_v_h’ simhash/table.cpp:2705: error: ‘__pyx_v_h’ was not declared in this scope simhash/table.cpp:2705: error: ‘Simhash’ has not been declared simhash/table.cpp:2713: error: ‘Simhash’ has not been declared simhash/table.cpp:2713: error: expected)' before ‘pyx_v_h’ simhash/table.cpp: At global scope: simhash/table.cpp:2720: error: ‘Simhash’ has not been declared simhash/table.cpp:2720: error: expected ‘,’ or ‘...’ before ‘pyx_v_h’ simhash/table.cpp: In function ‘PyObject* pyx_pf_7simhash_5table_7PyTable_12remove(__pyx_obj_7simhash_5tablePyTable, int)’: simhash/table.cpp:2729: error: ‘pyx_v_h’ was not declared in this scope simhash/table.cpp: At global scope: simhash/table.cpp:2755: error: ‘Simhash’ has not been declared simhash/table.cpp:2755: error: expected initializer before ‘pyx_f_7simhash_5table_7PyTable_findfirst’ simhash/table.cpp:583: warning: inline function ‘PyObject __PyxGetModuleGlobalName(PyObject)’ used but never defined simhash/table.cpp:586: warning: inline function ‘PyObject_ Pyx_PyObjectCall(PyObject, PyObject, PyObject)’ used but never defined simhash/table.cpp:317: warning: inline function ‘PyObject_ Pyx_PyInt_FromSize_t(size_t)’ used but never defined simhash/table.cpp:725: warning: inline function ‘size_t Pyx_PyInt_As_sizet(PyObject)’ used but never defined simhash/table.cpp:278: warning: inline function ‘char_ Pyx_PyObjectAsString(PyObject)’ used but never defined simhash/table.cpp:316: warning: inline function ‘Py_ssize_t Pyx_PyIndex_AsSsizet(PyObject)’ used but never defined simhash/table.cpp:596: warning: inline function ‘void Pyx_ExceptionSwap(PyObject, PyObject, PyObject)’ used but never defined simhash/table.cpp:592: warning: inline function ‘void __Pyx_ErrFetch(PyObject, PyObject, PyObject)’ used but never defined simhash/table.cpp:591: warning: inline function ‘void PyxErrRestore(PyObject, PyObject, PyObject)’ used but never defined simhash/table.cpp:727: warning: inline function ‘PyObject_ Pyx_PyInt_From_unsigned_PY_LONG_LONG(long long unsigned int)’ used but never defined simhash/table.cpp:729: warning: inline function ‘int64_t __Pyx_PyInt_As_int64t(PyObject)’ used but never defined simhash/table.cpp:731: warning: inline function ‘int Pyx_PyInt_Asint(PyObject)’ used but never defined simhash/table.cpp:723: warning: inline function ‘uint64_t Pyx_PyInt_As_uint64t(PyObject)’ used but never defined simhash/table.cpp:614: warning: inline function ‘PyObject_ Pyx_PyObjectCallOneArg(PyObject, PyObject_)’ used but never defined simhash/table.cpp:617: warning: inline function ‘PyObject* Pyx_PyObjectCallNoArg(PyObject)’ used but never defined simhash/table.cpp:719: warning: inline function ‘PyObject_ Pyx_PyInt_From_uint64_t(uint64_t)’ used but never defined simhash/table.cpp:640: warning: inline function ‘int Pyx_PyObjectAppend(PyObject, PyObject_)’ used but never defined simhash/table.cpp:279: warning: ‘char* Pyx_PyObjectAsStringAndSize(PyObject, Py_ssizet)’ declared ‘static’ but never defined simhash/table.cpp:284: warning: ‘PyObject* Pyx_PyUnicodeFromString(const char)’ declared ‘static’ but never defined simhash/table.cpp:314: warning: ‘int __Pyx_PyObjectIsTrue(PyObject)’ declared ‘static’ but never defined simhash/table.cpp:315: warning: ‘PyObject* Pyx_PyNumberInt(PyObject)’ declared ‘static’ but never defined simhash/table.cpp:409: warning: ‘pyx_m’ defined but not used simhash/table.cpp:410: warning: ‘__pyx_d’ defined but not used simhash/table.cpp:411: warning: ‘pyx_b’ defined but not used simhash/table.cpp:412: warning: ‘pyx_empty_tuple’ defined but not used simhash/table.cpp:413: warning: ‘pyx_empty_bytes’ defined but not used simhash/table.cpp:414: warning: ‘pyx_lineno’ defined but not used simhash/table.cpp:415: warning: ‘__pyx_clineno’ defined but not used simhash/table.cpp:416: warning: ‘pyx_cfilenm’ defined but not used simhash/table.cpp:417: warning: ‘pyx_filename’ defined but not used simhash/table.cpp:480: warning: ‘pyx_vtabptr_7simhash_5table_PyTable’ defined but not used simhash/table.cpp:503: warning: ‘pyx_vtabptr_7simhash_5tablePyCorpus’ defined but not used simhash/table.cpp:581: warning: ‘PyObject PyxGetBuiltinName(PyObject)’ declared ‘static’ but never defined simhash/table.cpp:594: warning: ‘int Pyx_GetException(PyObject, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:598: warning: ‘void Pyx_ExceptionSave(PyObject, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:599: warning: ‘void PyxExceptionReset(PyObject, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:602: warning: ‘void PyxRaiseArgtupleInvalid(const char, int, Py_ssize_t, Py_ssize_t, Py_ssize_t)’ declared ‘static’ but never defined simhash/table.cpp:604: warning: ‘void PyxRaiseDoubleKeywordsError(const char, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:606: warning: ‘int PyxParseOptionalKeywords(PyObject, PyObject, PyObject, PyObject, Py_ssizet, const char)’ declared ‘static’ but never defined simhash/table.cpp:611: warning: ‘PyObject_ Pyx_PyObjectCallMethO(PyObject, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:638: warning: ‘PyObject* __Pyx_PyObjectCallMethod1(PyObject, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:644: warning: ‘void PyxWriteUnraisable(const char, int, int, const char, int)’ declared ‘static’ but never defined simhash/table.cpp:677: warning: ‘PyObject Pyx_GetItemInt_ListFast(PyObject, Py_ssizet, int, int)’ declared ‘static’ but never defined simhash/table.cpp:683: warning: ‘PyObject __Pyx_GetItemInt_TupleFast(PyObject, Py_ssizet, int, int)’ declared ‘static’ but never defined simhash/table.cpp:684: warning: ‘PyObject Pyx_GetItemIntGeneric(PyObject, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:686: warning: ‘PyObject* Pyx_GetItemIntFast(PyObject, Py_ssize_t, int, int, int)’ declared ‘static’ but never defined simhash/table.cpp:700: warning: ‘int __PyxSetVtable(PyObject, void_)’ declared ‘static’ but never defined simhash/table.cpp:711: warning: ‘pyx_code_cache’ defined but not used simhash/table.cpp:712: warning: ‘int pyx_bisect_code_objects(PyxCodeObjectCacheEntry, int, int)’ declared ‘static’ but never defined simhash/table.cpp:713: warning: ‘PyCodeObject* pyx_find_code_object(int)’ declared ‘static’ but never defined simhash/table.cpp:714: warning: ‘void pyx_insert_codeobject(int, PyCodeObject)’ declared ‘static’ but never defined simhash/table.cpp:717: warning: ‘void PyxAddTraceback(const char, int, int, const char)’ declared ‘static’ but never defined simhash/table.cpp:721: warning: ‘PyObject PyxImport(PyObject, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:733: warning: ‘PyObject* Pyx_PyInt_From_long(long int)’ declared ‘static’ but never defined simhash/table.cpp:735: warning: ‘long int Pyx_PyInt_Aslong(PyObject)’ declared ‘static’ but never defined simhash/table.cpp:737: warning: ‘int Pyx_check_binary_version()’ declared ‘static’ but never defined simhash/table.cpp:739: warning: ‘int Pyx_InitStrings(PyxStringTabEntry)’ declared ‘static’ but never defined simhash/table.cpp:747: warning: ‘PyObject* pyx_f_7simhash_5table_7PyTable_find_first_bulk(pyx_obj_7simhash_5tablePyTable, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:748: warning: ‘PyObject* pyx_f_7simhash_5table_7PyTable_find_all(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:749: warning: ‘PyObject_ pyx_f_7simhash_5table_7PyTable_find_all_bulk(pyx_obj_7simhash_5tablePyTable, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:750: warning: ‘PyObject* pyx_f_7simhash_5table_7PyTable_permute(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:751: warning: ‘PyObject_ pyx_f_7simhash_5table_7PyTable_unpermute(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:752: warning: ‘PyObject_ pyx_f_7simhash_5table_8PyCorpus_hashes(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:753: warning: ‘PyObject_ pyx_f_7simhash_5table_8PyCorpus_insert_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:754: warning: ‘PyObject* pyx_f_7simhash_5table_8PyCorpus_insert(pyx_obj_7simhash_5tablePyCorpus, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:755: warning: ‘PyObject* pyx_f_7simhash_5table_8PyCorpus_remove_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:756: warning: ‘PyObject* pyx_f_7simhash_5table_8PyCorpus_remove(pyx_obj_7simhash_5tablePyCorpus, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:757: warning: ‘PyObject* pyx_f_7simhash_5table_8PyCorpus_find_first_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:758: warning: ‘PyObject* pyx_f_7simhash_5table_8PyCorpus_find_first(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:759: warning: ‘PyObject_ pyx_f_7simhash_5table_8PyCorpus_find_all_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_, int)’ declared ‘static’ but never defined simhash/table.cpp:760: warning: ‘PyObject* pyx_f_7simhash_5table_8PyCorpus_find_all(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:761: warning: ‘PyObject_ pyx_f_7simhash_5table_8PyCorpus_distance(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:772: warning: ‘pyx_ptype_7simhash_5table_PyTable’ defined but not used simhash/table.cpp:773: warning: ‘pyx_ptype_7simhash_5table_PyCorpus’ defined but not used simhash/table.cpp:780: warning: ‘pyx_builtin_MemoryError’ defined but not used simhash/table.cpp:782: warning: ‘pyx_builtinrange’ defined but not used simhash/table.cpp:792: warning: ‘PyObject pyx_pf_7simhash_5table_7PyTable_14find_first(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:793: warning: ‘PyObject_ pyx_pf_7simhash_5table_7PyTable_16find_first_bulk(pyx_obj_7simhash_5tablePyTable, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:794: warning: ‘PyObject* pyx_pf_7simhash_5table_7PyTable_18find_all(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:795: warning: ‘PyObject_ pyx_pf_7simhash_5table_7PyTable_20find_all_bulk(pyx_obj_7simhash_5tablePyTable, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:796: warning: ‘PyObject* pyx_pf_7simhash_5table_7PyTable_22permute(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:797: warning: ‘PyObject_ pyx_pf_7simhash_5table_7PyTable_24unpermute(pyx_obj_7simhash_5tablePyTable, int)’ declared ‘static’ but never defined simhash/table.cpp:798: warning: ‘PyObject_ pyx_pf_7simhash_5table_7PyTable_11search_mask_get(pyx_obj_7simhash_5table_PyTable*)’ declared ‘static’ but never defined simhash/table.cpp:799: warning: ‘int __pyx_pf_7simhash_5table8PyCorpusinit(pyx_obj_7simhash_5tablePyCorpus, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:800: warning: ‘PyObject_ pyx_pf_7simhash_5table_8PyCorpus_2hashes(pyx_obj_7simhash_5tablePyCorpus)’ declared ‘static’ but never defined simhash/table.cpp:801: warning: ‘PyObject_ pyx_pf_7simhash_5table_8PyCorpus_4insert_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:802: warning: ‘PyObject* pyx_pf_7simhash_5table_8PyCorpus_6insert(pyx_obj_7simhash_5tablePyCorpus, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:803: warning: ‘PyObject* pyx_pf_7simhash_5table_8PyCorpus_8remove_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:804: warning: ‘PyObject* pyx_pf_7simhash_5table_8PyCorpus_10remove(pyx_obj_7simhash_5tablePyCorpus, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:805: warning: ‘PyObject* pyx_pf_7simhash_5table_8PyCorpus_12find_first_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:806: warning: ‘PyObject* pyx_pf_7simhash_5table_8PyCorpus_14find_first(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:807: warning: ‘PyObject_ pyx_pf_7simhash_5table_8PyCorpus_16find_all_bulk(pyx_obj_7simhash_5tablePyCorpus, PyObject_)’ declared ‘static’ but never defined simhash/table.cpp:808: warning: ‘PyObject* pyx_pf_7simhash_5table_8PyCorpus_18find_all(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:809: warning: ‘PyObject_ pyx_pf_7simhash_5table_8PyCorpus_20distance(pyx_obj_7simhash_5tablePyCorpus, int)’ declared ‘static’ but never defined simhash/table.cpp:810: warning: ‘PyObject_ pyx_pf_7simhash_5table_8PyCorpus6tablesget(pyx_obj_7simhash_5tablePyCorpus)’ declared ‘static’ but never defined simhash/table.cpp:811: warning: ‘PyObject_ pyx_pf_7simhash_5table_8PyCorpus_14differing_bits_get(pyx_obj_7simhash_5tablePyCorpus)’ declared ‘static’ but never defined simhash/table.cpp:812: warning: ‘PyObject_ pyx_tp_new_7simhash_5tablePyTable(PyTypeObject, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:813: warning: ‘PyObject_ pyx_tp_new_7simhash_5tablePyCorpus(PyTypeObject, PyObject, PyObject)’ declared ‘static’ but never defined simhash/table.cpp:814: warning: ‘pyx_k_W’ defined but not used simhash/table.cpp:815: warning: ‘pyx_k_a’ defined but not used simhash/table.cpp:816: warning: ‘pyx_k_b’ defined but not used simhash/table.cpp:817: warning: ‘pyx_k_d’ defined but not used simhash/table.cpp:818: warning: ‘pyx_k2’ defined but not used simhash/table.cpp:819: warning: ‘pyx_k_re’ defined but not used simhash/table.cpp:820: warning: ‘pyx_k_main’ defined but not used simhash/table.cpp:821: warning: ‘pyx_k_test’ defined but not used simhash/table.cpp:822: warning: ‘pyx_k_flags’ defined but not used simhash/table.cpp:823: warning: ‘pyx_k_range’ defined but not used simhash/table.cpp:824: warning: ‘pyx_k_split’ defined but not used simhash/table.cpp:825: warning: ‘pyx_k_utf_8’ defined but not used simhash/table.cpp:826: warning: ‘pyx_k_append’ defined but not used simhash/table.cpp:827: warning: ‘pyx_k_encode’ defined but not used simhash/table.cpp:828: warning: ‘pyx_k_hashes’ defined but not used simhash/table.cpp:829: warning: ‘pyx_k_import’ defined but not used simhash/table.cpp:830: warning: ‘pyx_k_insert’ defined but not used simhash/table.cpp:831: warning: ‘pyx_k_remove’ defined but not used simhash/table.cpp:832: warning: ‘pyx_k_xrange’ defined but not used simhash/table.cpp:833: warning: ‘pyx_k_UNICODE’ defined but not used simhash/table.cpp:834: warning: ‘pyx_k_permute’ defined but not used simhash/table.cpp:835: warning: ‘pyx_k_distance’ defined but not used simhash/table.cpp:836: warning: ‘pyx_k_find_all’ defined but not used simhash/table.cpp:837: warning: ‘pyx_k_diff_bits’ defined but not used simhash/table.cpp:838: warning: ‘pyx_k_itertools’ defined but not used simhash/table.cpp:839: warning: ‘pyx_k_permutors’ defined but not used simhash/table.cpp:840: warning: ‘pyx_k_unpermute’ defined but not used simhash/table.cpp:841: warning: ‘pyx_k_find_first’ defined but not used simhash/table.cpp:842: warning: ‘pyx_k_num_blocks’ defined but not used simhash/table.cpp:843: warning: ‘pyx_k_pyx_vtable’ defined but not used simhash/table.cpp:844: warning: ‘pyx_k_MemoryError’ defined but not used simhash/table.cpp:845: warning: ‘pyx_k_insert_bulk’ defined but not used simhash/table.cpp:846: warning: ‘pyx_k_remove_bulk’ defined but not used simhash/table.cpp:847: warning: ‘pyx_k_combinations’ defined but not used simhash/table.cpp:848: warning: ‘pyx_k_find_all_bulk’ defined but not used simhash/table.cpp:849: warning: ‘pyx_k_find_first_bulk’ defined but not used simhash/table.cpp:850: warning: ‘pyx_n_s_MemoryError’ defined but not used simhash/table.cpp:854: warning: ‘pyx_n_s_a’ defined but not used simhash/table.cpp:855: warning: ‘__pyx_n_s_append’ defined but not used simhash/table.cpp:856: warning: ‘pyx_n_s_b’ defined but not used simhash/table.cpp:857: warning: ‘pyx_n_s_combinations’ defined but not used simhash/table.cpp:859: warning: ‘pyx_n_s_diff_bits’ defined but not used simhash/table.cpp:860: warning: ‘pyx_n_s_distance’ defined but not used simhash/table.cpp:862: warning: ‘pyx_n_s_find_all’ defined but not used simhash/table.cpp:863: warning: ‘pyx_n_s_find_all_bulk’ defined but not used simhash/table.cpp:864: warning: ‘pyx_n_s_find_first’ defined but not used simhash/table.cpp:865: warning: ‘pyx_n_s_find_first_bulk’ defined but not used simhash/table.cpp:868: warning: ‘pyx_n_s_import’ defined but not used simhash/table.cpp:871: warning: ‘pyx_n_s_itertools’ defined but not used simhash/table.cpp:872: warning: ‘__pyx_n_s_main’ defined but not used simhash/table.cpp:873: warning: ‘pyx_n_s_num_blocks’ defined but not used simhash/table.cpp:874: warning: ‘pyx_n_s_permute’ defined but not used simhash/table.cpp:876: warning: ‘pyx_n_s_pyx_vtable’ defined but not used simhash/table.cpp:877: warning: ‘pyx_n_s_range’ defined but not used simhash/table.cpp:882: warning: ‘pyx_n_s_test’ defined but not used simhash/table.cpp:883: warning: ‘pyx_n_s_unpermute’ defined but not used simhash/table.cpp:884: warning: ‘pyx_kp_s_utf_8’ defined but not used simhash/table.cpp:885: warning: ‘pyx_n_s_xrange’ defined but not used simhash/table.cpp:886: warning: ‘pyx_int_0’ defined but not used simhash/table.cpp:888: warning: ‘pyx_int64’ defined but not used simhash/table.cpp:1265: warning: ‘PyObject pyx_pw_7simhash_5table1PyHash(PyObject, PyObject_)’ defined but not used simhash/table.cpp:1264: warning: ‘pyx_doc_7simhash_5table_PyHash’ defined but not used simhash/table.cpp:1575: warning: ‘PyObject* pyx_pw_7simhash_5table3PyHashFp(PyObject, PyObject_)’ defined but not used simhash/table.cpp:1574: warning: ‘pyx_doc_7simhash_5table_2PyHashFp’ defined but not used simhash/table.cpp:1622: warning: ‘int __pyx_pw_7simhash_5table_7PyTable_1cinit(PyObject, PyObject, PyObject_)’ defined but not used simhash/table.cpp:1815: warning: ‘void pyx_pw_7simhash_5table_7PyTable_3dealloc**(PyObject_)’ defined but not used simhash/table.cpp:2198: warning: ‘pyx_doc_7simhash_5table_7PyTable_6insert_bulk’ defined but not used simhash/table.cpp:2340: warning: ‘pyx_doc_7simhash_5table_7PyTable_8insert’ defined but not used simhash/table.cpp:2553: warning: ‘pyx_doc_7simhash_5table_7PyTable_10remove_bulk’ defined but not used simhash/table.cpp:2695: warning: ‘__pyx_doc_7simhash_5table_7PyTable_12remove’ defined but not used simhash/table.cpp:2754: warning: ‘PyObject* __pyx_pw_7simhash_5table_7PyTable_15findfirst(PyObject, PyObject_)’ declared ‘static’ but never defined fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /var/tmp//cciq1Gez.out (No such file or directory) error: command 'cc' failed with exit status 1

And ideas?

dlecocq commented 9 years ago

Did you happen to run git submodule update --init --recursive after cloning?

b4hand commented 9 years ago

The critical errors from the trace are here:

simhash/table.cpp:235:37: error: simhash-cpp/src/simhash.h: No such file or directory
simhash/table.cpp:238:36: error: simhash-cpp/src/hash.hpp: No such file or directory

This probably indicates that you didn't actually install simhash-cpp which is a dependency of simhash-py, so you need to follow the directions here:

https://github.com/seomoz/simhash-py/#building

zichuanwang commented 9 years ago

OMG, totally my mistake. Thank for the quick reply. It's all working now.

dlecocq commented 9 years ago

No problem! Glad it's working for you now.