Skip to content

installation failed #98

@DoctorSubtilis

Description

@DoctorSubtilis

This what:
$ make
g++ -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/x86_64-linux-gnu -I/usr/include/fuse -D_GLIBCXX_DEBUG -c src/MegaFuseApp.cpp -o src/MegaFuseApp.o
src/MegaFuseApp.cpp: In member function ‘virtual void MegaFuseApp::transfer_update(int, m_off_t, m_off_t, dstime)’:
src/MegaFuseApp.cpp:360:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
} else if(endChunk > startChunk && endChunk < it->second.availableChunks.size() && it->second.availableChunks[endChunk]) {
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -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/x86_64-linux-gnu -I/usr/include/fuse -D_GLIBCXX_DEBUG -c src/file_cache_row.cpp -o src/file_cache_row.o
src/file_cache_row.cpp: In static member function ‘static int CacheManager::numChunks(size_t)’:
src/file_cache_row.cpp:72:13: error: ‘ceil’ was not declared in this scope
return 8 + ceil(float(pos-end)/(8.0ChunkedHash::SEGSIZE));
^~~~
src/file_cache_row.cpp:72:13: note: suggested alternative: ‘cend’
return 8 + ceil(float(pos-end)/(8.0
ChunkedHash::SEGSIZE));
^~~~
cend
Makefile:43: recipe for target 'src/file_cache_row.o' failed
make: *** [src/file_cache_row.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions