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
Can't build inside of openVZ container #67
Comments
Another hint: |
My fault - installed a 32 bit version by mistake |
Does it not build on 32-bit systems? Maybe we claim it doesn't but it might be nice to support that. |
It worked without a problem with Debian x64 - the 32 bit version had problems |
Tnx for the report. I fixed some of your issues here: 5c6ef56 Can you please post the entire compile error log? |
Sure - log is with werror removed from Makefile |
Unify Info_log and options
Hi,
I am running Debian x64 inside a openVZ container with Proxmox 3.x
When i try to build with "make", it fails:
db/compaction_picker.cc: In member function 'virtual rocksdb::Compaction* rocksdb::UniversalCompactionPicker::PickCompaction(rocksdb::Version_)':
db/compaction_picker.cc:556:41: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vectorrocksdb::FileMetaData_::size_type {aka unsigned int}' [-Werror=format]
cc1plus: all warnings being treated as errors
make: *** [db/compaction_picker.o] Error 1
If I disable "all warnings being treated as errors" in the makefile, it fails when I build the shared library:
db/db_bench.cc:1529:76: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat]
db/db_bench.cc:1536:73: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat]
..
util/options.cc:167:69: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat]
util/options.cc:170:77: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat]
util/options.cc:171:69: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat]
util/options.cc:228:25: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat]
util/options.cc:248:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat]
..
Any hints?
The text was updated successfully, but these errors were encountered: