[Box Backup] compile failure on fedora 9

Alex Howansky boxbackup@fluffy.co.uk
Mon, 30 Jun 2008 18:56:30 -0400


> Please could you try editing lib/common/Logging.cpp and add the following 
> line:
> 
>   #include <string.h>
> 
> after:
> 
>   #include <errno.h>
> 
> and see if that fixes the problem?

Thanks for the quick response Chris.

Well, it fixed *that* problem, heh. Now I get:

test -d parcels/boxbackup-0.11rc2-backup-client-linux-gnu || mkdir parcels/boxbackup-0.11rc2-backup-client-linux-gnu
(cd bin/bbackupd; make RELEASE=1)
make[1]: Entering directory `/usr/local/src/boxbackup-0.11rc2/bin/bbackupd'
make[2]: Entering directory `/usr/local/src/boxbackup-0.11rc2/lib/common'
[CXX]     Logging.cpp
[CXX]     MemBlockStream.cpp
[CXX]     NamedLock.cpp
[CXX]     PartialReadStream.cpp
[CXX]     PathUtils.cpp
[CXX]     ReadGatherStream.cpp
[CXX]     ReadLoggingStream.cpp
[CXX]     StreamableMemBlock.cpp
[CXX]     Timer.cpp
Timer.cpp: In static member function 'static void Timers::Cleanup()':
Timer.cpp:119: error: 'memset' was not declared in this scope
Timer.cpp:121: warning: unused variable 'result'
Timer.cpp: In static member function 'static void Timers::Reschedule()':
Timer.cpp:296: error: 'memset' was not declared in this scope
make[2]: *** [../../release/lib/common/Timer.o] Error 1
make[2]: Leaving directory `/usr/local/src/boxbackup-0.11rc2/lib/common'
make[1]: *** [dep_modules] Error 2
make[1]: Leaving directory `/usr/local/src/boxbackup-0.11rc2/bin/bbackupd'
make: *** [parcels/boxbackup-0.11rc2-backup-client-linux-gnu.tgz] Error 2

-- 
Alex Howansky <alex@howansky.org>