[Box Backup] compile fail

Ben Summers boxbackup@fluffy.co.uk
Sat, 24 Jan 2004 16:36:19 +0000

On 24 Jan 2004, at 00:06, Greg Fitzgerald wrote:

> Hi,
> 	Very interested in the backup tool. Great ideas from what i see.
> 	I just tried to compile the software on Gentoo Linux and ran
> 	into some errors.

Your particular version of GCC is less tolerant than mine! In 
lib/common/UnixUser.cpp, edit the line which reads

void UnixUser::ChangeProcessUser(bool Temporary = false)


void UnixUser::ChangeProcessUser(bool Temporary)

This is of course, an error on my part. I have changed it for the next 
version, but this sorts things out for this version.

I've found getting things to work on Linux a bit of an experience. I've 
been writing for OpenBSD only for much of the project, and then when I 
decided to open source it, I then had to get it to work on other 
platforms. The infinite varieties of Linux have been entertaining.

Thanks for trying it out -- I look forward to hearing about your 


> mkdir install/boxbackup-0.02-backup-client-Linux
> (cd bin/bbackupd; make RELEASE=1)
> make[1]: Entering directory 
> `/mnt/home/gregf/boxbackup-0.02/bin/bbackupd'
> (cd ../../lib/common; make RELEASE=1 NODEPS=1)
> make[2]: Entering directory `/mnt/home/gregf/boxbackup-0.02/lib/common'
> -DBOX_VERSION="\"0.02\"" -c UnixUser.cpp -o 
> ../../release/lib/common/UnixUser.o
> In file included from UnixUser.cpp:50:
> Box.h:167:27: warning: extra tokens at end of #undef directive
> UnixUser.cpp:119: error: default argument given for parameter 1 of 
> `void
>    UnixUser::ChangeProcessUser(bool)'
> UnixUser.h:64: error: after previous specification in `void
>    UnixUser::ChangeProcessUser(bool)'
> make[2]: *** [../../release/lib/common/UnixUser.o] Error 1
> make[2]: Leaving directory `/mnt/home/gregf/boxbackup-0.02/lib/common'
> make[1]: *** [dep_modules] Error 2
> make[1]: Leaving directory 
> `/mnt/home/gregf/boxbackup-0.02/bin/bbackupd'
> make: *** [install/boxbackup-0.02-backup-client-Linux.tgz] Error 2
> 	--Greg
> _______________________________________________
> boxbackup mailing list
> boxbackup@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup