[Box Backup] compile fail
Sat, 24 Jan 2004 16:36:19 +0000
On 24 Jan 2004, at 00:06, Greg Fitzgerald wrote:
> 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: Entering directory
> (cd ../../lib/common; make RELEASE=1 NODEPS=1)
> make: Entering directory `/mnt/home/gregf/boxbackup-0.02/lib/common'
> g++ -DNDEBUG -O2 -Wall -DPLATFORM_LINUX -DPLATFORM_GCC3
> -DBOX_VERSION="\"0.02\"" -c UnixUser.cpp -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
> UnixUser.h:64: error: after previous specification in `void
> make: *** [../../release/lib/common/UnixUser.o] Error 1
> make: Leaving directory `/mnt/home/gregf/boxbackup-0.02/lib/common'
> make: *** [dep_modules] Error 2
> make: Leaving directory
> make: *** [install/boxbackup-0.02-backup-client-Linux.tgz] Error 2
> boxbackup mailing list