Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.1 compile error under Ubuntu #1233

Open
Sfinx opened this issue Aug 13, 2015 · 0 comments
Open

2.0.1 compile error under Ubuntu #1233

Sfinx opened this issue Aug 13, 2015 · 0 comments

Comments

@Sfinx
Copy link

Sfinx commented Aug 13, 2015

....
/home/toor/mongo-tokumx-2.0.1/src/mongo/db/storage/env.cpp: In function 'void mongo::storage::get_live_transaction_status(std::vectormongo::BSONObj&)':
/home/toor/mongo-tokumx-2.0.1/src/mongo/db/storage/env.cpp:1037:97: error: invalid conversion from 'int ()(uint64_t, uint64_t, iterate_row_locks_callback, void, void_) {aka int ()(long unsigned int, long unsigned int, int ()(toku_db, toku_dbt, toku_dbt, void), void, void_)}' to 'iterate_transactions_callback {aka int ()(_toku_db_txn, int ()(toku_db, toku_dbt, toku_dbt, void), void, void_)}' [-fpermissive]
const int r = env->iterate_live_transactions(env, iterate_transactions::callback, &e);
^
/home/toor/mongo-tokumx-2.0.1/src/mongo/db/indexcursor.cpp: In constructor 'mongo::IndexCursor::IndexCursor(mongo::CollectionData_, const mongo::IndexDetails&, const mongo::BSONObj&, const mongo::BSONObj&, bool, int, int)':
/home/toor/mongo-tokumx-2.0.1/src/mongo/db/indexcursor.cpp:180:97: error: invalid conversion from 'bool ()(void)' to 'bool ()(void, uint64_t) {aka bool ()(void, long unsigned int)}' [-fpermissive]
cursor->c_set_check_interrupt_callback(cursor, cursor_check_interrupt, &interrupt_extra);
^
/home/toor/mongo-tokumx-2.0.1/src/mongo/db/indexcursor.cpp: In constructor 'mongo::IndexCursor::IndexCursor(mongo::CollectionData
, const mongo::IndexDetails&, const boost::shared_ptrmongo::FieldRangeVector&, int, int, int)':
/home/toor/mongo-tokumx-2.0.1/src/mongo/db/indexcursor.cpp:214:97: error: invalid conversion from 'bool ()(void)' to 'bool ()(void, uint64_t) {aka bool ()(void, long unsigned int)}' [-fpermissive]
cursor->c_set_check_interrupt_callback(cursor, cursor_check_interrupt, &_interrupt_extra);
^
src/mongo/db/CMakeFiles/coredb.dir/build.make:1641: recipe for target 'src/mongo/db/CMakeFiles/coredb.dir/storage/env.cpp.o' failed
make[2]: *** [src/mongo/db/CMakeFiles/coredb.dir/storage/env.cpp.o] Error 1
CMakeFiles/Makefile2:3623: recipe for target 'src/mongo/db/CMakeFiles/coredb.dir/all' failed
make[1]: *** [src/mongo/db/CMakeFiles/coredb.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 81%] Building CXX object src/mongo/db/CMakeFiles/serveronly.dir/matcher_covered.cpp.o
src/mongo/db/CMakeFiles/serveronly.dir/build.make:698: recipe for target 'src/mongo/db/CMakeFiles/serveronly.dir/indexcursor.cpp.o' failed
make[2]: *** [src/mongo/db/CMakeFiles/serveronly.dir/indexcursor.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
^Csrc/mongo/db/CMakeFiles/serveronly.dir/build.make:836: recipe for target 'src/mongo/db/CMakeFiles/serveronly.dir/matcher_covered.cpp.o' failed
make[2]: *** [src/mongo/db/CMakeFiles/serveronly.dir/matcher_covered.cpp.o] Interrupt
CMakeFiles/Makefile2:4134: recipe for target 'src/mongo/db/CMakeFiles/serveronly.dir/all' failed
make[1]: *** [src/mongo/db/CMakeFiles/serveronly.dir/all] Interrupt
Makefile:137: recipe for target 'all' failed
make: *** [all] Interrupt
......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant