$ makemake all-recursivemake[1]: Entering directory '/home/mukund/tools/simstring-1.0'Making all in includemake[2]: Entering directory '/home/mukund/tools/simstring-1.0/include'make[2]: Nothing to be done for 'all'.make[2]: Leaving directory '/home/mukund/tools/simstring-1.0/include'Making all in frontendmake[2]: Entering directory '/home/mukund/tools/simstring-1.0/frontend'g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -O3 -ffast-math -O3 -ffast-math -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cppIn file included from ../include/simstring/memory_mapped_file.h:62:0,from ../include/simstring/simstring.h:52,from main.cpp:43:../include/simstring/memory_mapped_file_posix.h: In member function ‘void memory_mapped_file_posix::open(const string&, std::ios_base::openmode)’:../include/simstring/memory_mapped_file_posix.h:91:19: error: ‘::close’ has not been declared::close(m_fd);^~~~~../include/simstring/memory_mapped_file_posix.h:91:19: note: suggested alternative: ‘pclose’::close(m_fd);^~~~~pclose../include/simstring/memory_mapped_file_posix.h: In member function ‘void memory_mapped_file_posix::close()’:../include/simstring/memory_mapped_file_posix.h:106:15: error: ‘::close’ has not been declared::close(m_fd);^~~~~../include/simstring/memory_mapped_file_posix.h:106:15: note: suggested alternative: ‘pclose’::close(m_fd);^~~~~pclose../include/simstring/memory_mapped_file_posix.h: In member function ‘bool memory_mapped_file_posix::resize(memory_mapped_file_posix::size_type)’:../include/simstring/memory_mapped_file_posix.h:126:19: error: ‘::lseek’ has not been declaredif (::lseek(m_size, size, SEEK_SET) >= 0) {^~~~~../include/simstring/memory_mapped_file_posix.h:126:19: note: suggested alternative: ‘fseek’if (::lseek(m_size, size, SEEK_SET) >= 0) {^~~~~fseek../include/simstring/memory_mapped_file_posix.h:128:21: error: ‘read’ was not declared in this scopeif (read(m_fd, &c, sizeof(char)) == -1) {^~~~../include/simstring/memory_mapped_file_posix.h:128:21: note: suggested alternative: ‘fread’if (read(m_fd, &c, sizeof(char)) == -1) {^~~~fread../include/simstring/memory_mapped_file_posix.h:131:21: error: ‘write’ was not declared in this scopeif (write(m_fd, &c, sizeof(char)) == -1) {^~~~~../include/simstring/memory_mapped_file_posix.h:131:21: note: suggested alternative: ‘fwrite’if (write(m_fd, &c, sizeof(char)) == -1) {^~~~~fwriteMakefile:268: recipe for target 'main.o' failedmake[2]: *** [main.o] Error 1make[2]: Leaving directory '/home/mukund/tools/simstring-1.0/frontend'Makefile:327: recipe for target 'all-recursive' failedmake[1]: *** [all-recursive] Error 1make[1]: Leaving directory '/home/mukund/tools/simstring-1.0'Makefile:241: recipe for target 'all' failedmake: *** [all] Error 2
--
---
You received this message because you are subscribed to the Google Groups "brat-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brat-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/brat-users/bf9c0a40-adfa-4608-8e28-41ee90269110o%40googlegroups.com.
python3 setup.py build_extrunning build_extbuilding '_simstring' extensioncreating buildcreating build/temp.linux-x86_64-3.8g++ -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/mukund/tools/simstring-1.0/include -I/usr/include/python3.8 -c export.cpp -o build/temp.linux-x86_64-3.8/export.oIn file included from export.cpp:8:0:/home/mukund/tools/simstring-1.0/include/simstring/simstring.h: In member function ‘bool simstring::reader::open(const string&)’:/home/mukund/tools/simstring-1.0/include/simstring/simstring.h:830:18: warning: variable ‘num_entries’ set but not used [-Wunused-but-set-variable]uint32_t num_entries, max_size;^~~~~~~~~~~export.cpp: In destructor ‘virtual writer::~writer()’:export.cpp:95:38: warning: throw will always call terminate() [-Wterminate]throw std::runtime_error(message);^export.cpp:95:38: note: in C++11 destructors default to noexceptexport.cpp:109:38: warning: throw will always call terminate() [-Wterminate]throw std::runtime_error(message);^export.cpp:109:38: note: in C++11 destructors default to noexceptg++ -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/mukund/tools/simstring-1.0/include -I/usr/include/python3.8 -c export_wrap.cpp -o build/temp.linux-x86_64-3.8/export_wrap.oexport_wrap.cpp: In function ‘void SWIG_Python_AddErrorMsg(const char*)’:export_wrap.cpp:883:33: error: ‘PyString_AsString’ was not declared in this scopePyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);^~~~~~~~~~~~~~~~~export_wrap.cpp:883:33: note: suggested alternative: ‘PyBytes_AsString’PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);^~~~~~~~~~~~~~~~~PyBytes_AsStringexport_wrap.cpp: In function ‘PySwigClientData* PySwigClientData_New(PyObject*)’:export_wrap.cpp:1274:9: error: ‘PyClass_Check’ was not declared in this scopeif (PyClass_Check(obj)) {^~~~~~~~~~~~~export_wrap.cpp:1274:9: note: suggested alternative: ‘PyCell_Check’if (PyClass_Check(obj)) {^~~~~~~~~~~~~PyCell_Checkexport_wrap.cpp: In function ‘PyObject* PySwigObject_format(const char*, PySwigObject*)’:export_wrap.cpp:1347:24: error: ‘PyString_FromString’ was not declared in this scopePyObject *ofmt = PyString_FromString(fmt);^~~~~~~~~~~~~~~~~~~export_wrap.cpp:1347:24: note: suggested alternative: ‘PyLong_FromString’PyObject *ofmt = PyString_FromString(fmt);^~~~~~~~~~~~~~~~~~~PyLong_FromStringexport_wrap.cpp:1349:8: error: ‘PyString_Format’ was not declared in this scoperes = PyString_Format(ofmt,args);^~~~~~~~~~~~~~~export_wrap.cpp:1349:8: note: suggested alternative: ‘PyErr_Format’res = PyString_Format(ofmt,args);^~~~~~~~~~~~~~~PyErr_Formatexport_wrap.cpp: In function ‘PyObject* PySwigObject_repr(PySwigObject*)’:export_wrap.cpp:1379:84: error: ‘PyString_AsString’ was not declared in this scopePyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));^~~~~~~~~~~~~~~~~export_wrap.cpp:1379:84: note: suggested alternative: ‘PyBytes_AsString’PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));^~~~~~~~~~~~~~~~~PyBytes_AsStringexport_wrap.cpp:1379:20: error: ‘PyString_FromFormat’ was not declared in this scopePyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));^~~~~~~~~~~~~~~~~~~export_wrap.cpp:1379:20: note: suggested alternative: ‘PyBytes_FromFormat’PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));^~~~~~~~~~~~~~~~~~~PyBytes_FromFormatexport_wrap.cpp:1387:5: error: ‘PyString_ConcatAndDel’ was not declared in this scopePyString_ConcatAndDel(&repr,nrep);^~~~~~~~~~~~~~~~~~~~~export_wrap.cpp:1387:5: note: suggested alternative: ‘PyBytes_ConcatAndDel’PyString_ConcatAndDel(&repr,nrep);^~~~~~~~~~~~~~~~~~~~~PyBytes_ConcatAndDelexport_wrap.cpp: In function ‘int PySwigObject_print(PySwigObject*, FILE*, int)’:export_wrap.cpp:1401:11: error: ‘PyString_AsString’ was not declared in this scopefputs(PyString_AsString(repr), fp);^~~~~~~~~~~~~~~~~export_wrap.cpp:1401:11: note: suggested alternative: ‘PyBytes_AsString’fputs(PyString_AsString(repr), fp);^~~~~~~~~~~~~~~~~PyBytes_AsStringexport_wrap.cpp: In function ‘PyObject* PySwigObject_str(PySwigObject*)’:export_wrap.cpp:1414:5: error: ‘PyString_FromString’ was not declared in this scopePyString_FromString(result) : 0;^~~~~~~~~~~~~~~~~~~export_wrap.cpp:1414:5: note: suggested alternative: ‘PyLong_FromString’PyString_FromString(result) : 0;^~~~~~~~~~~~~~~~~~~PyLong_FromStringexport_wrap.cpp: In function ‘PyTypeObject* _PySwigObject_type()’:export_wrap.cpp:1623:6: error: ‘coercion’ was not declared in this scope(coercion)0, /*nb_coerce*/^~~~~~~~export_wrap.cpp:1623:6: note: suggested alternative: ‘ctermid’(coercion)0, /*nb_coerce*/^~~~~~~~ctermidexport_wrap.cpp:1623:15: error: expected ‘}’ before numeric constant(coercion)0, /*nb_coerce*/^export_wrap.cpp:1623:15: error: expected ‘,’ or ‘;’ before numeric constantexport_wrap.cpp:1603:15: warning: unused variable ‘swigobject_doc’ [-Wunused-variable]static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";^~~~~~~~~~~~~~export_wrap.cpp:1605:26: warning: unused variable ‘PySwigObject_as_number’ [-Wunused-variable]static PyNumberMethods PySwigObject_as_number = {^~~~~~~~~~~~~~~~~~~~~~export_wrap.cpp:1636:3: warning: no return statement in function returning non-void [-Wreturn-type]};^export_wrap.cpp: At global scope:export_wrap.cpp:1640:3: error: expected unqualified-id before ‘if’if (!type_init) {^~export_wrap.cpp:1706:3: error: expected unqualified-id before ‘return’return &pyswigobject_type;^~~~~~export_wrap.cpp: In function ‘PyObject* PySwigPacked_repr(PySwigPacked*)’:export_wrap.cpp:1752:12: error: ‘PyString_FromFormat’ was not declared in this scopereturn PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);^~~~~~~~~~~~~~~~~~~export_wrap.cpp:1752:12: note: suggested alternative: ‘PyBytes_FromFormat’return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);^~~~~~~~~~~~~~~~~~~PyBytes_FromFormatexport_wrap.cpp:1754:12: error: ‘PyString_FromFormat’ was not declared in this scopereturn PyString_FromFormat("<Swig Packed %s>", v->ty->name);^~~~~~~~~~~~~~~~~~~export_wrap.cpp:1754:12: note: suggested alternative: ‘PyBytes_FromFormat’return PyString_FromFormat("<Swig Packed %s>", v->ty->name);^~~~~~~~~~~~~~~~~~~PyBytes_FromFormatexport_wrap.cpp: In function ‘PyObject* PySwigPacked_str(PySwigPacked*)’:export_wrap.cpp:1763:12: error: ‘PyString_FromFormat’ was not declared in this scopereturn PyString_FromFormat("%s%s", result, v->ty->name);^~~~~~~~~~~~~~~~~~~export_wrap.cpp:1763:12: note: suggested alternative: ‘PyBytes_FromFormat’return PyString_FromFormat("%s%s", result, v->ty->name);^~~~~~~~~~~~~~~~~~~PyBytes_FromFormatexport_wrap.cpp:1765:12: error: ‘PyString_FromString’ was not declared in this scopereturn PyString_FromString(v->ty->name);^~~~~~~~~~~~~~~~~~~export_wrap.cpp:1765:12: note: suggested alternative: ‘PyLong_FromString’return PyString_FromString(v->ty->name);^~~~~~~~~~~~~~~~~~~PyLong_FromStringexport_wrap.cpp: In function ‘PyTypeObject* _PySwigPacked_type()’:export_wrap.cpp:1819:3: error: ‘cmpfunc’ was not declared in this scope(cmpfunc)PySwigPacked_compare, /* tp_compare */^~~~~~~export_wrap.cpp:1819:3: note: suggested alternative: ‘newfunc’(cmpfunc)PySwigPacked_compare, /* tp_compare */^~~~~~~newfuncexport_wrap.cpp:1819:11: error: expected ‘}’ before ‘PySwigPacked_compare’(cmpfunc)PySwigPacked_compare, /* tp_compare */^~~~~~~~~~~~~~~~~~~~export_wrap.cpp:1819:11: error: expected ‘,’ or ‘;’ before ‘PySwigPacked_compare’export_wrap.cpp:1808:24: warning: unused variable ‘tmp’ [-Wunused-variable]const PyTypeObject tmp^~~export_wrap.cpp:1865:25: error: ‘tmp’ was not declared in this scopepyswigpacked_type = tmp;^~~export_wrap.cpp:1865:25: note: suggested alternative: ‘tm’pyswigpacked_type = tmp;^~~tmexport_wrap.cpp:1866:23: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘ob_type’; did you mean ‘ob_base’?pyswigpacked_type.ob_type = &PyType_Type;^~~~~~~ob_baseexport_wrap.cpp:1804:15: warning: unused variable ‘swigpacked_doc’ [-Wunused-variable]static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";^~~~~~~~~~~~~~export_wrap.cpp:1868:3: warning: no return statement in function returning non-void [-Wreturn-type]}^export_wrap.cpp: At global scope:export_wrap.cpp:1869:3: error: expected unqualified-id before ‘return’return &pyswigpacked_type;^~~~~~export_wrap.cpp:1870:1: error: expected declaration before ‘}’ token}^export_wrap.cpp:1804:15: warning: ‘swigpacked_doc’ defined but not used [-Wunused-variable]static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";^~~~~~~~~~~~~~export_wrap.cpp:1639:14: warning: ‘type_init’ defined but not used [-Wunused-variable]static int type_init = 0;^~~~~~~~~export_wrap.cpp:1638:23: warning: ‘pyswigobject_type’ defined but not used [-Wunused-variable]static PyTypeObject pyswigobject_type;^~~~~~~~~~~~~~~~~export_wrap.cpp:1605:26: warning: ‘PySwigObject_as_number’ defined but not used [-Wunused-variable]static PyNumberMethods PySwigObject_as_number = {^~~~~~~~~~~~~~~~~~~~~~export_wrap.cpp:1603:15: warning: ‘swigobject_doc’ defined but not used [-Wunused-variable]static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";^~~~~~~~~~~~~~export_wrap.cpp:1571:1: warning: ‘swigobject_methods’ defined but not used [-Wunused-variable]swigobject_methods[] = {^~~~~~~~~~~~~~~~~~error: command 'g++' failed with exit status 1
To unsubscribe from this group and stop receiving emails from it, send an email to brat-...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "brat-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/brat-users/gqZUwkaRjJU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to brat-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/brat-users/CAGMASUNXVJWq9Pmc_ni%3DOw2%2BoUTpihNO10ZmfDkMQzURcf4Frw%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/brat-users/CANtfj_AAQbTDVA-NSL-C11baim%2BsG2ZUXxCzt07dNLnGDWN-JQ%40mail.gmail.com.