[Box Backup] Need to reload bbackupd conf to avoid timeouts?

Tobias Balle-Petersen boxbackup@fluffy.co.uk
Tue, 12 Dec 2006 14:33:55 +0100


Hello Chris,

I can now compile, but when i test i get errors:

B08-TBP-KP:~/timeout-fix-r1194 kpadmin$ ./configure
checking build system type... powerpc-apple-darwin8.7.0
checking host system type... powerpc-apple-darwin8.7.0
checking target system type... powerpc-apple-darwin8.7.0
checking for g++... g++
.........
Regular expressions: yes
Large files:         yes
Berkeley DB:         no
Readline:            no
Extended attributes: yes



B08-TBP-KP:~/timeout-fix-r1194 kpadmin$ cd bin/bbackupd/
B08-TBP-KP:~/timeout-fix-r1194/bin/bbackupd kpadmin$ bsdmake
(cd ../../lib/common; bsdmake  -D NODEPS)
g++ -g -Wall   -DBOX_VERSION="\"_exported\""  -g -Wall -c autogen_CommonException.cpp -o 
../../debug/lib/common/autogen_CommonException.o
g++ -g -Wall   -DBOX_VERSION="\"_exported\""  -g -Wall -c autogen_ConversionException.cpp -o 
../../debug/lib/common/autogen_ConversionException.o
g++ -g -Wall   -DBOX_VERSION="\"_exported\""  -g -Wall -c ConversionString.cpp -o 
../../debug/lib/common/ConversionString.o
..............
..............
..............
\"_exported\""  -g -Wall -c Win32ServiceFunctions.cpp -o 
../../debug/bin/bbackupd/Win32ServiceFunctions.o
g++  -o ../../debug/bin/bbackupd/bbackupd ../../debug/bin/bbackupd/BackupClientContext.o 
../../debug/bin/bbackupd/BackupClientDeleteList.o 
../../debug/bin/bbackupd/BackupClientDirectoryRecord.o 
../../debug/bin/bbackupd/BackupClientInodeToIDMap.o ../../debug/bin/bbackupd/BackupDaemon.o 
../../debug/bin/bbackupd/bbackupd.o ../../debug/bin/bbackupd/Win32BackupService.o 
../../debug/bin/bbackupd/Win32ServiceFunctions.o ../../debug/lib/backupclient/backupclient.a 
../../debug/lib/win32/win32.a ../../debug/lib/crypto/crypto.a ../../debug/lib/compress/compress.a 
../../debug/lib/server/server.a ../../debug/lib/common/common.a -lcrypto -lssl -lz
/usr/bin/ld: warning empty table of contents: ../../debug/lib/win32/win32.a (can't load from it)



B08-TBP-KP:~/timeout-fix-r1194/bin/bbackupd kpadmin$ cd ../..
B08-TBP-KP:~/timeout-fix-r1194 kpadmin$ ./runtest.pl bbackupd  debug | tee bbackupd-debug.log
svn: '.' is not a working copy
(cd ../../lib/common; bsdmake  -D NODEPS)
`../../debug/lib/common/common.a' is up to date.
(cd ../../lib/compress; bsdmake  -D NODEPS)
`../../debug/lib/compress/compress.a' is up to date.
..............
..............
..............
g++ -g -Wall -I../../lib/common -I../../lib/compress -I../../lib/crypto -I../../lib/server 
-I../../lib/backupclient -I../../lib/raidfile -I../../lib/win32 -I../../lib/backupstore 
-I../../lib/intercept -I../../bin/bbackupctl -I../../bin/bbackupquery -I../../bin/bbstoreaccounts 
-I../../bin/bbstored -I../../bin/bbackupd  -DBOX_VERSION="\"_exported\""  -g -Wall -c _main.cpp -o 
../../debug/test/bbackupd/_main.o
_main.cpp:47: error: aggregate 'std::string first_fail_file' has incomplete type and cannot be defined
_main.cpp:47: error: storage size of 'first_fail_file' isn't known
*** Error code 1

Stop in /Users/kpadmin/timeout-fix-r1194/test/bbackupd.
--------
bbackupd: make failed





Chris Wilson wrote:
> Hi Tobias,
> 
> On Tue, 12 Dec 2006, Tobias Balle-Petersen wrote:
> 
>> Tried to compile as seen below. Unfortunately the compile did not 
>> complete. I have successfully compiled boxbackup on this machine 
>> before which confuses me. What have I done wrong?
> 
> Sorry, my mistake. Please could you add the following line:
> 
>     #include "MemLeakFinder.h"
> 
> just below the other #includes in lib/common/DebugMemLeakFinder.cpp, and 
> try again?
> 
> Cheers, Chris.