[Box Backup] boxbackup on 64bit systems (= on alpha)

Flavio Curti boxbackup@fluffy.co.uk
Mon, 26 Apr 2004 01:02:07 +0200


Hi 

I tried to run bbackupd as a client on a alpha debian Linux. While it
compiled fine and the daemon started, nothing happens. I suspect it's
not 64bit safe, or little-endian / big endian problems...
So, should it run?

Thank you & Greetz

Flavio

some warnings from compiling are below, if you need more just say so ;)

BackupDaemon.cpp: In member function `void BackupDaemon::Run2()':
BackupDaemon.cpp:549: warning: long long int format, int64_t arg (arg 3)
BackupDaemon.cpp:549: warning: long long int format, int64_t arg (arg 4)
BackupDaemon.cpp:549: warning: long long int format, int64_t arg (arg 5)

g++ -DNDEBUG -O2 -Wall  -DPLATFORM_LINUX -DPLATFORM_GCC3 -DBOX_VERSION="\"0.05\""  -c ConversionString.cpp -o ../../release/lib/common/ConversionString.o
ConversionString.cpp: In function `int32_t 
   BoxConvert::_ConvertStringToInt(const char*, int)':
ConversionString.cpp:101: warning: comparison is always false due to limited 
   range of data type
ConversionString.cpp:101: warning: comparison is always false due to limited 
   range of data type


g++ -DNDEBUG -O2 -Wall  -DPLATFORM_LINUX -DPLATFORM_GCC3 -DBOX_VERSION="\"0.05\""  -c Utils.cpp -o ../../release/lib/common/Utils.o
Utils.cpp: In function `void SplitString(const std::string&, char, 
   std::vector<std::string, std::allocator<std::string> >&)':
Utils.cpp:76: warning: comparison is always true due to limited range of data 
   type
BackupStoreFileDiff.cpp: In static member function `static void 
   BackupStoreFile::MoveStreamPositionToBlockIndex(IOStream&)':
BackupStoreFileDiff.cpp:144: warning: comparison between signed and unsigned 
   integer expressions
BackupStoreFileDiff.cpp: In function `void SearchForMatchingBlocks(IOStream&, 
   std::map<int64_t, int64_t, std::less<int64_t>, 
   std::allocator<std::pair<const int64_t, int64_t> > >&, 
   BackupStoreFileCreation::BlocksAvailableEntry*, long int, int32_t*)':
BackupStoreFileDiff.cpp:584: warning: comparison between signed and unsigned 

g++ -DNDEBUG -O2 -Wall -I../../lib/common -I../../lib/compress -I../../lib/crypto -I../../lib/server -DPLATFORM_LINUX -DPLATFORM_GCC3 -DBOX_VERSION="\"0.05\""  -c autogen_BackupProtocolClient.cpp -o ../../release/lib/backupclient/autogen_BackupProtocolClient.o
autogen_BackupProtocolClient.cpp: In member function `virtual void 
   BackupProtocolClientLoginConfirmed::LogSysLog(const char*) const':
autogen_BackupProtocolClient.cpp:158: warning: long long unsigned int format, 
   long int arg (arg 4)
autogen_BackupProtocolClient.cpp:158: warning: long long unsigned int format, 
   long int arg (arg 5)
autogen_BackupProtocolClient.cpp:158: warning: long long unsigned int format, 
   long int arg (arg 6)
autogen_BackupProtocolClient.cpp:158: warning: long long unsigned int format, 
   long int arg (arg 7)
autogen_BackupProtocolClient.cpp: In member function `virtual void 
   BackupProtocolClientSuccess::LogSysLog(const char*) const':
autogen_BackupProtocolClient.cpp:218: warning: long long unsigned int format, 
   long int arg (arg 4)
autogen_BackupProtocolClient.cpp: In member function `virtual void 
   BackupProtocolClientSetClientStoreMarker::LogSysLog(const char*) const':
autogen_BackupProtocolClient.cpp:250: warning: long long unsigned int format, 
   long int arg (arg 4)
autogen_BackupProtocolClient.cpp: In member function `virtual void 
   BackupProtocolClientGetObject::LogSysLog(const char*) const':
autogen_BackupProtocolClient.cpp:282: warning: long long unsigned int format, 
   long int arg (arg 4)
autogen_BackupProtocolClient.cpp: In member function `virtual void 
....

--
http://no-way.org/~fcu/

Mach mit bei der Community-Bibliothek
  - In Zuerich/CH http://zurich.communitybooks.org/
  - Worldwide http://dlpdev.theps.net/ListOfExistingDlpNodes