{"action":"created","issue":{"url":"https://api.github.com/repos/opencog/opencog/issues/1601","labels_url":"https://api.github.com/repos/opencog/opencog/issues/1601/labels{/name}","comments_url":"https://api.github.com/repos/opencog/opencog/issues/1601/comments","events_url":"https://api.github.com/repos/opencog/opencog/issues/1601/events","html_url":"https://github.com/opencog/opencog/issues/1601","id":74022664,"number":1601,"title":"ZeroMQ 4.0 not supported by OpenCog","user":{"login":"dbl001","id":3105499,"avatar_url":"https://avatars.githubusercontent.com/u/3105499?v=3","gravatar_id":"","url":"https://api.github.com/users/dbl001","html_url":"https://github.com/dbl001","followers_url":"https://api.github.com/users/dbl001/followers","following_url":"https://api.github.com/users/dbl001/following{/other_user}","gists_url":"https://api.github.com/users/dbl001/gists{/gist_id}","starred_url":"https://api.github.com/users/dbl001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbl001/subscriptions","organizations_url":"https://api.github.com/users/dbl001/orgs","repos_url":"https://api.github.com/users/dbl001/repos","events_url":"https://api.github.com/users/dbl001/events{/privacy}","received_events_url":"https://api.github.com/users/dbl001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-07T15:18:10Z","updated_at":"2015-08-31T18:14:42Z","closed_at":null,"body":"Hi,\r\nI'm getting build error(s) in opencog with Zeromq (version 4.1 and 4.2).\r\nAny ideas?\r\nE.g -\r\nIn file included from /home/ubuntu/opencog/opencog/spatial/3DSpaceMap/Octree3DMapManager.h:33:0,\r\n                 from /home/ubuntu/opencog/opencog/spacetime/SpaceServer.h:51,\r\n                 from /home/ubuntu/opencog/opencog/persist/file/SavingLoading.h:43,\r\n                 from /home/ubuntu/opencog/opencog/persist/file/SavingLoading.cc:47:\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:566:47: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_connected(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                               ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:566:60: error: ISO C++ forbids declaration of ‘event_’ with no type [-fpermissive]\r\n         virtual void on_event_connected(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                            ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:567:53: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_connect_delayed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; \r\n\r\n                                                            \r\n...\r\n\r\nubuntu@ip-10-0-1-240:~/opencog/build$ uname -a\r\nLinux ip-10-0-1-240 3.13.0-49-generic #81-Ubuntu SMP Tue Mar 24 19:29:48 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\n\r\nubuntu@ip-10-0-1-240:~/opencog/build$ cmake ..\r\n-- The C compiler identification is GNU 4.8.2\r\n-- The CXX compiler identification is GNU 4.8.2\r\n-- Check for working C compiler: /usr/bin/cc\r\n-- Check for working C compiler: /usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Check for working CXX compiler: /usr/bin/c++\r\n-- Check for working CXX compiler: /usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Build type: Release\r\n-- Looking for include file opencog/util/cogutil.h\r\n-- Looking for include file opencog/util/cogutil.h - found\r\n-- Found CogUtil version 2.0.1 at /usr/local/lib/libcogutil.so\r\n-- CogUtil found.\r\n-- Looking for include file opencog/atomspace/atomspace.h\r\n-- Looking for include file opencog/atomspace/atomspace.h - found\r\n-- Found AtomSpaced at /usr/local/lib/opencog/libatomspace.so\r\n-- AtomSpace found.\r\n-- Boost version: 1.54.0\r\n-- Found the following Boost libraries:\r\n--   date_time\r\n--   filesystem\r\n--   program_options\r\n--   regex\r\n--   serialization\r\n--   system\r\n--   thread\r\n-- Boost version 105400 found.\r\n-- Found Boost::program_options\r\n-- Found Boost::math\r\n-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version \"7.35.0\") \r\n-- Found PythonInterp: /usr/bin/python (found version \"2.7.6\") \r\n-- GHC was found.\r\n-- Found PkgConfig: /usr/bin/pkg-config (found version \"0.26\") \r\n-- Found GTK3: gtk-3;gdk-3;atk-1.0;gio-2.0;pangocairo-1.0;gdk_pixbuf-2.0;cairo-gobject;pango-1.0;cairo;gobject-2.0;glib-2.0  \r\n-- Guile (2.0.9 >= 2.0.0) was found.\r\n-- Looking for dgemm_\r\n-- Looking for dgemm_ - found\r\n-- Looking for include file pthread.h\r\n-- Looking for include file pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - not found\r\n-- Looking for pthread_create in pthreads\r\n-- Looking for pthread_create in pthreads - not found\r\n-- Looking for pthread_create in pthread\r\n-- Looking for pthread_create in pthread - found\r\n-- Found Threads: TRUE  \r\n-- A library with BLAS API found.\r\n-- Looking for cheev_\r\n-- Looking for cheev_ - found\r\n-- A library with LAPACK API found.\r\n-- link-grammar( >= 4.7.12) was not found. Make sure LINK_GRAMMAR_LIBRARY, LINK_GRAMMAR_INCLUDE_DIR and LINK_GRAMMAR_DATA_DIR are set.\r\n-- Link Grammar missing: needed for the Viterbi parser.\r\n-- Found MOSES library: /usr/local/lib/libmoses.so\r\n-- MOSES was found.\r\n-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so\r\n-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found\r\n-- Looking for gethostbyname\r\n-- Looking for gethostbyname - found\r\n-- Looking for connect\r\n-- Looking for connect - found\r\n-- Looking for remove\r\n-- Looking for remove - found\r\n-- Looking for shmat\r\n-- Looking for shmat - found\r\n-- Looking for IceConnectionNumber in ICE\r\n-- Looking for IceConnectionNumber in ICE - found\r\n-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so\r\n-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  \r\n-- OpenGL was found.\r\n-- Found these protobuf libs: /usr/lib/x86_64-linux-gnu/libprotobuf.so\r\n-- Found PROTOBUF: /usr/lib/x86_64-linux-gnu/libprotobuf.so  \r\n-- Protobuf was found.\r\n-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version \"2.7.6\", minimum required is \"2.7\") \r\n-- Python libs found.\r\n-- Found Cython: /usr/local/bin/cython (Required is at least version \"0.19.0\") \r\n-- Cython ( 0.22 >= 0.19.0) found.\r\n-- Python destination dir found: /usr/lib/python2.7/dist-packages\r\n-- Found SDL: /usr/lib/x86_64-linux-gnu/libSDLmain.a;/usr/lib/x86_64-linux-gnu/libSDL.so;-lpthread (found version \"1.2.15\") \r\n-- SDL was found.\r\n-- SDL_gfx was found\r\n-- Found Intel TBB\r\n-- \r\n-- Found Tclsh: /usr/bin/tclsh (found version \"8.6\") \r\n-- Found TCL: /usr/lib/x86_64-linux-gnu/libtcl.so  \r\n-- Could NOT find TCLTK (missing:  TK_LIBRARY TK_INCLUDE_PATH) \r\n-- Could NOT find TK (missing:  TK_LIBRARY TK_INCLUDE_PATH) \r\n-- TCL shell was found here: /usr/bin/tclsh\r\n-- Valgrind Prefix: \r\n-- Found VALGRIND: /usr/include/valgrind  \r\n-- VALGRIND was found.\r\n-- VALGRIND devel headers found.\r\n-- Found Xerces-C: /usr/lib/x86_64-linux-gnu/libxerces-c.so\r\n--               : /usr/include\r\n--        Version: 3.1.1\r\n-- Found Xerces 3.1.1 -- /usr/lib/x86_64-linux-gnu/libxerces-c.so\r\n-- XMLRPC was not found. Make sure the entries XMLRPC_* are set.\r\n-- libxmlrpc missing: needed for ubigraph module.\r\n-- Found ZeroMQ library: /usr/local/lib/libzmq.so\r\n-- Detected ZeroMQ version number: 4.1.0\r\n-- ZeroMQ was found.\r\n\r\n-- Found Doxygen: /usr/bin/doxygen (found version \"1.8.6\") \r\n\r\nThe following components will be built:\r\n-----------------------------------------------\r\n   Attention        - Agents for attention allocation dynamics.\r\n   Blopex           - BLOPEX block eigenvalue solver.\r\n   Cython bindings  - Cython (python) bindings.\r\n   Dim. Embedding   - Compute dimensional embedding of the AtomSpace.\r\n   Doxygen          - Code documentation.\r\n   Embodiment       - Architecture for embodiment.\r\n   Learning Server  - Embodiment Learning.\r\n   GTK Visualizer   - GTK3-based Atomspace Visualizer.\r\n   Python tests     - Python bindings nose tests.\r\n   Server           - The CogServer.\r\n   Spatial          - Vizualisation of the 3D spacemap.\r\n   TBB              - Intel TBB for multithreading.\r\n   Unit tests       - Unit tests.\r\n   ZMQ              - ZMQ-based OAC GUI reports, AtomSpace publisher module.\r\n\r\nThe following components WILL NOT be built:\r\n-----------------------------------------------\r\n   Ubigraph         - Visualisation of the AtomSpace.\r\n   Viterbi          - Viterbi Parser for Link Grammar.\r\n\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home/ubuntu/opencog/build\r\nubuntu@ip-10-0-1-240:~/opencog/build$ make\r\nScanning dependencies of target json_spirit\r\n[  0%] Building CXX object lib/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_reader.cpp.o\r\n[  0%] Building CXX object lib/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_value.cpp.o\r\n[  1%] Building CXX object lib/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_writer.cpp.o\r\nLinking CXX shared library libjson_spirit.so\r\n[  1%] Built target json_spirit\r\nScanning dependencies of target blopex\r\n[  1%] Building C object opencog/learning/clustering/blopex/CMakeFiles/blopex.dir/fortran_matrix.c.o\r\n[  1%] Building C object opencog/learning/clustering/blopex/CMakeFiles/blopex.dir/lobpcg.c.o\r\n[  1%] Building C object opencog/learning/clustering/blopex/CMakeFiles/blopex.dir/multivector.c.o\r\n[  2%] Building C object opencog/learning/clustering/blopex/CMakeFiles/blopex.dir/temp_multivector.c.o\r\nLinking C shared library libblopex.so\r\n[  2%] Built target blopex\r\nScanning dependencies of target serial_driver\r\n[  2%] Building C object opencog/learning/clustering/blopex-demo/CMakeFiles/serial_driver.dir/multi_vector.c.o\r\n[  3%] Building C object opencog/learning/clustering/blopex-demo/CMakeFiles/serial_driver.dir/pcg_multi.c.o\r\n[  3%] Building C object opencog/learning/clustering/blopex-demo/CMakeFiles/serial_driver.dir/serial_driver.c.o\r\nLinking C executable serial_driver\r\n[  3%] Built target serial_driver\r\nScanning dependencies of target statistics\r\n[  5%] Building CXX object opencog/learning/statistics/CMakeFiles/statistics.dir/DataProvider.cc.o\r\n[  5%] Building CXX object opencog/learning/statistics/CMakeFiles/statistics.dir/Probability.cc.o\r\n[  5%] Building CXX object opencog/learning/statistics/CMakeFiles/statistics.dir/Entropy.cc.o\r\n[  5%] Building CXX object opencog/learning/statistics/CMakeFiles/statistics.dir/InteractionInformation.cc.o\r\nLinking CXX shared library libstatistics.so\r\n[  5%] Built target statistics\r\nScanning dependencies of target dimensionalembedding\r\n[  5%] Building CXX object opencog/learning/dimensionalembedding/CMakeFiles/dimensionalembedding.dir/DimEmbedModule.cc.o\r\nLinking CXX shared library libdimensionalembedding.so\r\n[  5%] Built target dimensionalembedding\r\nScanning dependencies of target embodiment_atom_types\r\n[  5%] Generating opencog types\r\n-- Atom type name: PetNode\r\n-- Atom type name: AvatarNode\r\n-- Atom type name: AccessoryNode\r\n-- Atom type name: HumanoidNode\r\n-- Atom type name: UnknownObjectNode\r\n-- Atom type name: IsAcceptableSecondArgLink\r\n-- Atom type name: OntologicalInheritanceLink\r\n-- Custom atom type name specified: \"WRLink\"\r\n-- Atom type name: WRLink\r\n-- Atom type name: FrequencyLink\r\n-- Atom type name: FeelingNode\r\n-- Atom type name: PhraseNode\r\n-- Atom type name: SpeechActTriggerNode\r\n-- Atom type name: SpeechActSchemaNode\r\n-- Atom type name: DialogNode\r\n-- Atom type name: UtteranceNode\r\n-- Atom type name: DefinedFrameNode\r\n-- Atom type name: DefinedFrameElementNode\r\n-- Atom type name: FrameElementLink\r\n-- Atom type name: SimultaneousEquivalenceLink\r\n[  5%] Built target embodiment_atom_types\r\nScanning dependencies of target spacetime_atom_types\r\n[  5%] Generating opencog types\r\n-- Atom type name: SpaceMapNode\r\n-- Atom type name: ObjectNode\r\n-- Atom type name: BlockEntityNode\r\n-- Atom type name: StructureNode\r\n-- Atom type name: ImaginaryStructureNode\r\n-- Atom type name: TimeNode\r\n-- Atom type name: AtTimeLink\r\n-- Atom type name: LatestLink\r\n-- Atom type name: BeforeLink\r\n-- Atom type name: OverlapsLink\r\n-- Atom type name: DuringLink\r\n-- Atom type name: MeetsLink\r\n-- Atom type name: StartsLink\r\n-- Atom type name: FinishesLink\r\n-- Atom type name: EqualsLink\r\n-- Atom type name: AfterLink\r\n-- Atom type name: OverlappedByLink\r\n-- Atom type name: ContainsLink\r\n-- Atom type name: MetByLink\r\n-- Atom type name: StartedByLink\r\n-- Atom type name: FinishedByLink\r\n-- Atom type name: PredictiveImplicationLink\r\n-- Atom type name: TailPredictiveImplicationLink\r\n-- Atom type name: PredictiveAttractionLink\r\n-- Atom type name: SimultaneousAndLink\r\n-- Custom atom type name specified: \"EventualSequentialAND\"\r\n-- Atom type name: EventualSequentialAND\r\n-- Custom atom type name specified: \"EventualSequentialImplication\"\r\n-- Atom type name: EventualSequentialImplication\r\n[  5%] Built target spacetime_atom_types\r\nScanning dependencies of target PatternMiner\r\n[  5%] Building CXX object opencog/learning/PatternMiner/CMakeFiles/PatternMiner.dir/Pattern.cc.o\r\n[  6%] Building CXX object opencog/learning/PatternMiner/CMakeFiles/PatternMiner.dir/HTree.cc.o\r\n[  6%] Building CXX object opencog/learning/PatternMiner/CMakeFiles/PatternMiner.dir/PatternMiner.cc.o\r\n[  6%] Building CXX object opencog/learning/PatternMiner/CMakeFiles/PatternMiner.dir/PatternMinerBF.cc.o\r\n[  6%] Building CXX object opencog/learning/PatternMiner/CMakeFiles/PatternMiner.dir/PatternMinerDF.cc.o\r\nLinking CXX shared library libPatternMiner.so\r\n[  6%] Built target PatternMiner\r\nScanning dependencies of target cogita\r\n[  6%] Building CXX object opencog/nlp/chatbot/CMakeFiles/cogita.dir/CogitaConfig.cc.o\r\n[  6%] Building CXX object opencog/nlp/chatbot/CMakeFiles/cogita.dir/IRC.cc.o\r\n[  6%] Building CXX object opencog/nlp/chatbot/CMakeFiles/cogita.dir/go-irc.cc.o\r\n[  7%] Building CXX object opencog/nlp/chatbot/CMakeFiles/cogita.dir/whirr-sockets.cc.o\r\nLinking CXX executable cogita\r\n[  7%] Built target cogita\r\nScanning dependencies of target nlp_atom_types\r\n[  8%] Generating opencog types\r\n-- Atom type name: WordNode\r\n-- Atom type name: AnyNode\r\n-- Atom type name: ReferenceLink\r\n-- Atom type name: DocumentNode\r\n-- Atom type name: SentenceNode\r\n-- Atom type name: SentenceLink\r\n-- Atom type name: ParseNode\r\n-- Atom type name: ParseLink\r\n-- Atom type name: WordInstanceNode\r\n-- Atom type name: WordInstanceLink\r\n-- Atom type name: SequenceLink\r\n-- Atom type name: WordSequenceLink\r\n-- Atom type name: SentenceSequenceLink\r\n-- Atom type name: DocumentSequenceLink\r\n-- Atom type name: FeatureNode\r\n-- Atom type name: FeatureLink\r\n-- Atom type name: LinkGrammarRelationshipNode\r\n-- Atom type name: LinkGrammarDisjunctNode\r\n-- Atom type name: DefinedLinguisticConceptNode\r\n-- Atom type name: DefinedLinguisticRelationshipNode\r\n-- Atom type name: PrepositionalRelationshipNode\r\n-- Atom type name: WordSenseNode\r\n-- Atom type name: WordSenseLink\r\n-- Atom type name: PartOfSpeechNode\r\n-- Atom type name: PartOfSpeechLink\r\n-- Atom type name: LemmaNode\r\n-- Atom type name: LemmaLink\r\n-- Atom type name: HolonymLink\r\n-- Atom type name: CosenseLink\r\n-- Atom type name: SemeNode\r\n-- Atom type name: SemanticRelationNode\r\n-- Atom type name: InterpretationNode\r\n-- Atom type name: InterpretationLink\r\n-- Atom type name: SpecificEntityNode\r\n-- Atom type name: LgConnectorNode\r\n-- Atom type name: LgConnMultiNode\r\n-- Atom type name: LgConnDirNode\r\n-- Atom type name: LgConnector\r\n-- Custom atom type name specified: \"MSTConnector\"\r\n-- Atom type name: MSTConnector\r\n-- Atom type name: LgSeq\r\n-- Atom type name: LgAnd\r\n-- Atom type name: LgOr\r\n-- Atom type name: LgWordCset\r\n-- Atom type name: LgLinkInstanceNode\r\n-- Atom type name: LgLinkInstanceLink\r\n-- Custom atom type name specified: \"MSTLinkNode\"\r\n-- Atom type name: MSTLinkNode\r\n-- Custom atom type name specified: \"MSTDisjunctNode\"\r\n-- Atom type name: MSTDisjunctNode\r\n[  8%] Built target nlp_atom_types\r\nScanning dependencies of target nlp-types\r\n[  8%] Building CXX object opencog/nlp/types/CMakeFiles/nlp-types.dir/NLPTypes.cc.o\r\nLinking CXX shared library libnlp-types.so\r\n[  8%] Built target nlp-types\r\nScanning dependencies of target wsd\r\n[  8%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/EdgeThin.cc.o\r\n[ 10%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/EdgeUtils.cc.o\r\n[ 10%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/Mihalcea.cc.o\r\n[ 10%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/MihalceaEdge.cc.o\r\n[ 10%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/MihalceaLabel.cc.o\r\n[ 11%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/NNAdjust.cc.o\r\n[ 11%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/ParseRank.cc.o\r\n[ 11%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/ReportRank.cc.o\r\n[ 11%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/SenseCache.cc.o\r\n[ 12%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/SenseRank.cc.o\r\n[ 12%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/SenseSimilarityLCH.cc.o\r\n[ 12%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/SenseSimilaritySQL.cc.o\r\n[ 12%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/Sweep.cc.o\r\n[ 13%] Building CXX object opencog/nlp/wsd/CMakeFiles/wsd.dir/WordSenseProcessor.cc.o\r\nLinking CXX shared library libwsd.so\r\n[ 13%] Built target wsd\r\nScanning dependencies of target savable\r\n[ 13%] Building CXX object opencog/persist/file/CMakeFiles/savable.dir/CoreUtils.cc.o\r\n[ 15%] Building CXX object opencog/persist/file/CMakeFiles/savable.dir/SavingLoading.cc.o\r\nIn file included from /home/ubuntu/opencog/opencog/spatial/3DSpaceMap/Octree3DMapManager.h:33:0,\r\n                 from /home/ubuntu/opencog/opencog/spacetime/SpaceServer.h:51,\r\n                 from /home/ubuntu/opencog/opencog/persist/file/SavingLoading.h:43,\r\n                 from /home/ubuntu/opencog/opencog/persist/file/SavingLoading.cc:47:\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:566:47: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_connected(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                               ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:566:60: error: ISO C++ forbids declaration of ‘event_’ with no type [-fpermissive]\r\n         virtual void on_event_connected(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                            ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:567:53: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_connect_delayed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                     ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:567:66: error: ISO C++ forbids declaration of ‘event_’ with no type [-fpermissive]\r\n         virtual void on_event_connect_delayed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                                  ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:568:53: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_connect_retried(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                     ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:568:66: error: ISO C++ forbids declaration of ‘event_’ with no type [-fpermissive]\r\n         virtual void on_event_connect_retried(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                                  ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:569:47: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_listening(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                               ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:569:60: error: ISO C++ forbids declaration of ‘event_’ with no type [-fpermissive]\r\n         virtual void on_event_listening(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                            ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:570:49: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_bind_failed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                 ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:570:62: error: ISO C++ forbids declaration of ‘event_’ with no type [-fpermissive]\r\n         virtual void on_event_bind_failed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                              ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:571:46: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_accepted(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                              ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:571:59: error: ISO C++ forbids declaration of ‘event_’ with no type [-fpermissive]\r\n         virtual void on_event_accepted(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                           ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:572:51: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_accept_failed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                   ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:572:64: error: ISO C++ forbids declaration of ‘event_’ with no type [-fpermissive]\r\n         virtual void on_event_accept_failed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                                ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:573:44: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_closed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                            ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:573:57: error: ISO C++ forbids declaration of ‘event_’ with no type [-fpermissive]\r\n         virtual void on_event_closed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                         ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:574:50: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_close_failed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                  ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:574:63: error: ISO C++ forbids declaration of ‘event_’ with no type [-fpermissive]\r\n         virtual void on_event_close_failed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                               ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:575:50: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_disconnected(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                  ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:575:63: error: ISO C++ forbids declaration of ‘event_’ with no type [-fpermissive]\r\n         virtual void on_event_disconnected(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                               ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:576:45: error: ‘zmq_event_t’ does not name a type\r\n         virtual void on_event_unknown(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                             ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:576:58: error: ISO C++ forbids declaration of ‘event_’ with no type [-fpermissive]\r\n         virtual void on_event_unknown(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }\r\n                                                          ^\r\nIn file included from /home/ubuntu/opencog/opencog/spatial/3DSpaceMap/Octree3DMapManager.h:33:0,\r\n                 from /home/ubuntu/opencog/opencog/spacetime/SpaceServer.h:51,\r\n                 from /home/ubuntu/opencog/opencog/persist/file/SavingLoading.h:43,\r\n                 from /home/ubuntu/opencog/opencog/persist/file/SavingLoading.cc:47:\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp: In member function ‘void zmq::monitor_t::monitor(zmq::socket_t&, const char*, int)’:\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:495:17: error: ‘zmq_event_t’ was not declared in this scope\r\n                 zmq_event_t* event = static_cast<zmq_event_t*>(zmq_msg_data (&eventMsg));\r\n                 ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:495:30: error: ‘event’ was not declared in this scope\r\n                 zmq_event_t* event = static_cast<zmq_event_t*>(zmq_msg_data (&eventMsg));\r\n                              ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:495:50: error: expected type-specifier before ‘zmq_event_t’\r\n                 zmq_event_t* event = static_cast<zmq_event_t*>(zmq_msg_data (&eventMsg));\r\n                                                  ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:495:50: error: expected ‘>’ before ‘zmq_event_t’\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:495:50: error: expected ‘(’ before ‘zmq_event_t’\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:495:62: error: expected primary-expression before ‘>’ token\r\n                 zmq_event_t* event = static_cast<zmq_event_t*>(zmq_msg_data (&eventMsg));\r\n                                                              ^\r\n/home/ubuntu/opencog/lib/zmq/zmq.hpp:495:89: error: expected ‘)’ before ‘;’ token\r\n                 zmq_event_t* event = static_cast<zmq_event_t*>(zmq_msg_data (&eventMsg));\r\n                                                                                         ^\r\nmake[2]: *** [opencog/persist/file/CMakeFiles/savable.dir/SavingLoading.cc.o] Error 1\r\nmake[1]: *** [opencog/persist/file/CMakeFiles/savable.dir/all] Error 2\r\nmake: *** [all] Error 2\r\nubuntu@ip-10-0-1-240:~/opencog/build$ \r\n"},"comment":{"url":"https://api.github.com/repos/opencog/opencog/issues/comments/136450694","html_url":"https://github.com/opencog/opencog/issues/1601#issuecomment-136450694","issue_url":"https://api.github.com/repos/opencog/opencog/issues/1601","id":136450694,"user":{"login":"linas","id":94368,"avatar_url":"https://avatars.githubusercontent.com/u/94368?v=3","gravatar_id":"","url":"https://api.github.com/users/linas","html_url":"https://github.com/linas","followers_url":"https://api.github.com/users/linas/followers","following_url":"https://api.github.com/users/linas/following{/other_user}","gists_url":"https://api.github.com/users/linas/gists{/gist_id}","starred_url":"https://api.github.com/users/linas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linas/subscriptions","organizations_url":"https://api.github.com/users/linas/orgs","repos_url":"https://api.github.com/users/linas/repos","events_url":"https://api.github.com/users/linas/events{/privacy}","received_events_url":"https://api.github.com/users/linas/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T18:14:42Z","updated_at":"2015-08-31T18:14:42Z","body":"Pull request #1751 might have fixed this problem. Please test and confirm."}}