{"action":"created","issue":{"url":"https://api.github.com/repos/matteoserva/MegaFuse/issues/44","repository_url":"https://api.github.com/repos/matteoserva/MegaFuse","labels_url":"https://api.github.com/repos/matteoserva/MegaFuse/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/matteoserva/MegaFuse/issues/44/comments","events_url":"https://api.github.com/repos/matteoserva/MegaFuse/issues/44/events","html_url":"https://github.com/matteoserva/MegaFuse/issues/44","id":123900820,"number":44,"title":"compilation keeps terminating","user":{"login":"bgold0","id":4645400,"avatar_url":"https://avatars.githubusercontent.com/u/4645400?v=3","gravatar_id":"","url":"https://api.github.com/users/bgold0","html_url":"https://github.com/bgold0","followers_url":"https://api.github.com/users/bgold0/followers","following_url":"https://api.github.com/users/bgold0/following{/other_user}","gists_url":"https://api.github.com/users/bgold0/gists{/gist_id}","starred_url":"https://api.github.com/users/bgold0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgold0/subscriptions","organizations_url":"https://api.github.com/users/bgold0/orgs","repos_url":"https://api.github.com/users/bgold0/repos","events_url":"https://api.github.com/users/bgold0/events{/privacy}","received_events_url":"https://api.github.com/users/bgold0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-12-25T23:31:01Z","updated_at":"2016-10-01T22:51:29Z","closed_at":null,"body":"This is what happens when I do the `make` command. I end up with `src/MegaFuse.cpp:15:20: fatal error: db_cxx.h: No such file or directory`. Do you know why this would happen?\r\n\r\n> **$ make**\r\ng++ -I inc -I /usr/include/cryptopp -I sdk -std=c++0x -O0 -g -fstack-protector-all -Wall  -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse  -D_GLIBCXX_DEBUG  -c src/MegaFuseApp.cpp -o src/MegaFuseApp.o\r\nsrc/MegaFuseApp.cpp: In member function ‘virtual void MegaFuseApp::nodes_updated(Node**, int)’:\r\nsrc/MegaFuseApp.cpp:66:60: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘handle {aka long long unsigned int}’ [-Wformat=]\r\n    printf(\"file uploaded nodehandle %lx\\n\",n[i]->nodehandle);\r\n                                                            ^\r\nsrc/MegaFuseApp.cpp:75:64: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘handle {aka long long unsigned int}’ [-Wformat=]\r\n    printf(\"file overwritten. nodehandle %lx\\n\",n[i]->nodehandle);\r\n                                                                ^\r\nsrc/MegaFuseApp.cpp: In member function ‘virtual void MegaFuseApp::transfer_complete(int, handle, const byte*, const byte*, SymmCipher*)’:\r\nsrc/MegaFuseApp.cpp:241:70: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘handle {aka long long unsigned int}’ [-Wformat=]\r\n  printf(\"ulhandle %lx, nodehandle %lx\\n\",ulhandle,newnode->nodehandle);\r\n                                                                      ^\r\nsrc/MegaFuseApp.cpp:241:70: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘handle {aka long long unsigned int}’ [-Wformat=]\r\nsrc/MegaFuseApp.cpp: In member function ‘virtual void MegaFuseApp::transfer_update(int, m_off_t, m_off_t, dstime)’:\r\nsrc/MegaFuseApp.cpp:363:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]\r\n  } else if(endChunk > startChunk && endChunk < it->second.availableChunks.size() && it->second.availableChunks[endChunk]) {\r\n                                              ^\r\nIn file included from /usr/include/cryptopp/secblock.h:7:0,\r\n                 from /usr/include/cryptopp/modes.h:8,\r\n                 from sdk/megacrypto.h:25,\r\n                 from src/MegaFuseApp.cpp:7:\r\n/usr/include/cryptopp/algparam.h: In instantiation of ‘CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char>]’:\r\n/usr/include/cryptopp/filters.h:793:132:   required from here\r\n/usr/include/cryptopp/misc.h:59:118: warning: unused variable ‘cryptopp_assert_26’ [-Wunused-variable]\r\n #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)\r\n                                                                                                                      ^\r\n/usr/include/cryptopp/misc.h:62:39: note: in definition of macro ‘CRYPTOPP_DO_ASSERT_JOIN’\r\n #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y\r\n                                       ^\r\n/usr/include/cryptopp/misc.h:59:97: note: in expansion of macro ‘CRYPTOPP_ASSERT_JOIN’\r\n #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)\r\n                                                                                                 ^\r\n/usr/include/cryptopp/misc.h:55:44: note: in expansion of macro ‘CRYPTOPP_COMPILE_ASSERT_INSTANCE’\r\n #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)\r\n                                            ^\r\n/usr/include/cryptopp/algparam.h:26:9: note: in expansion of macro ‘CRYPTOPP_COMPILE_ASSERT’\r\n         CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);\r\n         ^\r\nIn file included from /usr/include/cryptopp/modes.h:12:0,\r\n                 from sdk/megacrypto.h:25,\r\n                 from src/MegaFuseApp.cpp:7:\r\n/usr/include/cryptopp/algparam.h: In instantiation of ‘void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]’:\r\nsrc/MegaFuseApp.cpp:380:1:   required from here\r\n/usr/include/cryptopp/algparam.h:322:35: warning: unused variable ‘p’ [-Wunused-variable]\r\n   AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);\r\n                                   ^\r\nIn file included from /usr/include/cryptopp/secblock.h:7:0,\r\n                 from /usr/include/cryptopp/modes.h:8,\r\n                 from sdk/megacrypto.h:25,\r\n                 from src/MegaFuseApp.cpp:7:\r\n/usr/include/cryptopp/misc.h: At global scope:\r\n/usr/include/cryptopp/misc.h:549:20: warning: ‘std::string CryptoPP::StringNarrow(const wchar_t*, bool)’ defined but not used [-Wunused-function]\r\n static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)\r\n                    ^\r\ng++ -I inc -I /usr/include/cryptopp -I sdk -std=c++0x -O0 -g -fstack-protector-all -Wall  -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse  -D_GLIBCXX_DEBUG  -c src/file_cache_row.cpp -o src/file_cache_row.o\r\nIn file included from /usr/include/cryptopp/secblock.h:7:0,\r\n                 from /usr/include/cryptopp/modes.h:8,\r\n                 from sdk/megacrypto.h:25,\r\n                 from sdk/megaclient.h:23,\r\n                 from src/file_cache_row.cpp:10:\r\n/usr/include/cryptopp/algparam.h: In instantiation of ‘CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char>]’:\r\n/usr/include/cryptopp/filters.h:793:132:   required from here\r\n/usr/include/cryptopp/misc.h:59:118: warning: unused variable ‘cryptopp_assert_26’ [-Wunused-variable]\r\n #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)\r\n                                                                                                                      ^\r\n/usr/include/cryptopp/misc.h:62:39: note: in definition of macro ‘CRYPTOPP_DO_ASSERT_JOIN’\r\n #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y\r\n                                       ^\r\n/usr/include/cryptopp/misc.h:59:97: note: in expansion of macro ‘CRYPTOPP_ASSERT_JOIN’\r\n #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)\r\n                                                                                                 ^\r\n/usr/include/cryptopp/misc.h:55:44: note: in expansion of macro ‘CRYPTOPP_COMPILE_ASSERT_INSTANCE’\r\n #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)\r\n                                            ^\r\n/usr/include/cryptopp/algparam.h:26:9: note: in expansion of macro ‘CRYPTOPP_COMPILE_ASSERT’\r\n         CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);\r\n         ^\r\nIn file included from /usr/include/cryptopp/modes.h:12:0,\r\n                 from sdk/megacrypto.h:25,\r\n                 from sdk/megaclient.h:23,\r\n                 from src/file_cache_row.cpp:10:\r\n/usr/include/cryptopp/algparam.h: In instantiation of ‘void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]’:\r\nsrc/file_cache_row.cpp:155:1:   required from here\r\n/usr/include/cryptopp/algparam.h:322:35: warning: unused variable ‘p’ [-Wunused-variable]\r\n   AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);\r\n                                   ^\r\nIn file included from /usr/include/cryptopp/secblock.h:7:0,\r\n                 from /usr/include/cryptopp/modes.h:8,\r\n                 from sdk/megacrypto.h:25,\r\n                 from sdk/megaclient.h:23,\r\n                 from src/file_cache_row.cpp:10:\r\n/usr/include/cryptopp/misc.h:549:20: warning: ‘std::string CryptoPP::StringNarrow(const wchar_t*, bool)’ defined but not used [-Wunused-function]\r\n static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)\r\n                    ^\r\ng++ -I inc -I /usr/include/cryptopp -I sdk -std=c++0x -O0 -g -fstack-protector-all -Wall  -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse  -D_GLIBCXX_DEBUG  -c src/EventsHandler.cpp -o src/EventsHandler.o\r\ng++ -I inc -I /usr/include/cryptopp -I sdk -std=c++0x -O0 -g -fstack-protector-all -Wall  -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse  -D_GLIBCXX_DEBUG  -c src/MegaFuse.cpp -o src/MegaFuse.o\r\nsrc/MegaFuse.cpp:15:20: fatal error: db_cxx.h: No such file or directory\r\n #include <db_cxx.h>\r\n                    ^\r\ncompilation terminated.\r\nMakefile:43: recipe for target 'src/MegaFuse.o' failed\r\nmake: *** [src/MegaFuse.o] Error 1"},"comment":{"url":"https://api.github.com/repos/matteoserva/MegaFuse/issues/comments/250942408","html_url":"https://github.com/matteoserva/MegaFuse/issues/44#issuecomment-250942408","issue_url":"https://api.github.com/repos/matteoserva/MegaFuse/issues/44","id":250942408,"user":{"login":"jesusgt","id":8771131,"avatar_url":"https://avatars.githubusercontent.com/u/8771131?v=3","gravatar_id":"","url":"https://api.github.com/users/jesusgt","html_url":"https://github.com/jesusgt","followers_url":"https://api.github.com/users/jesusgt/followers","following_url":"https://api.github.com/users/jesusgt/following{/other_user}","gists_url":"https://api.github.com/users/jesusgt/gists{/gist_id}","starred_url":"https://api.github.com/users/jesusgt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesusgt/subscriptions","organizations_url":"https://api.github.com/users/jesusgt/orgs","repos_url":"https://api.github.com/users/jesusgt/repos","events_url":"https://api.github.com/users/jesusgt/events{/privacy}","received_events_url":"https://api.github.com/users/jesusgt/received_events","type":"User","site_admin":false},"created_at":"2016-10-01T22:51:28Z","updated_at":"2016-10-01T22:51:28Z","body":"Many thanks e3rd\r\nThanks to your suggestion I was able to compile MegaFuse in my Raspberry Pi2\r\n\r\n------------------------------\r\nDistributor ID: Raspbian\r\nDescription:    Raspbian GNU/Linux 8.0 (jessie)\r\nRelease:        8.0\r\nCodename:       jessie\r\n------------------------------"}}
{"actor":{"display_login":"jesusgt"}}