[Box Backup] BB on Fedora Core4 /w GCC4

Mikael Syska boxbackup@fluffy.co.uk
Sat, 03 Sep 2005 15:55:18 +0200


Hi,

I'm trying to install BoxBacup on Fodora Core4, and gets some errors.....

GCC Version:
[root@server syska]# gcc --version
gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@server boxbackup-0.09]# ./configure
Box build environment setup.

Checking environment...
Compiler 1: yes
Compiler 2: yes
OpenSSL 1: yes
OpenSSL 2: yes
curses: yes
ncurses: yes
Linux LFS support: yes
USE_MALLOC: yes
Checking db version...
Check readline from readline/readline.h...
Check readline from mysql/readline.h...
Checking db version...
Finished checking headers
done

[root@server boxbackup-0.09]# make
[root@server boxbackup-0.09]# make
mkdir parcels/boxbackup-0.09-backup-client-Linux
(cd bin/bbackupd; make RELEASE=1)
make[1]: Entering directory `/home/syska/boxbackup-0.09/bin/bbackupd'
g++ -DNDEBUG -O2 -Wall -I../../lib/common -I../../lib/compress 
-I../../lib/crypto -I../../lib/server -I../../lib/backupclient 
-DPLATFORM_LINUX -DBOX_VERSION="\"0.09\"" -D_FILE_OFFSET_BITS=64 -c 
BackupClientDeleteList.cpp -o 
../../release/bin/bbackupd/BackupClientDeleteList.o
In file included from ../../lib/common/Box.h:183,
from BackupClientDeleteList.cpp:49:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel 
header; include <endian.h> instead!
g++ -DNDEBUG -O2 -Wall -I../../lib/common -I../../lib/compress 
-I../../lib/crypto -I../../lib/server -I../../lib/backupclient 
-DPLATFORM_LINUX -DBOX_VERSION="\"0.09\"" -D_FILE_OFFSET_BITS=64 -c 
BackupClientInodeToIDMap.cpp -o 
../../release/bin/bbackupd/BackupClientInodeToIDMap.o
In file included from ../../lib/common/Box.h:183,
from BackupClientInodeToIDMap.cpp:49:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel 
header; include <endian.h> instead!
g++ -DNDEBUG -O2 -Wall -I../../lib/common -I../../lib/compress 
-I../../lib/crypto -I../../lib/server -I../../lib/backupclient 
-DPLATFORM_LINUX -DBOX_VERSION="\"0.09\"" -D_FILE_OFFSET_BITS=64 -c 
BackupClientDirectoryRecord.cpp -o 
../../release/bin/bbackupd/BackupClientDirectoryRecord.o
In file included from ../../lib/common/Box.h:183,
from BackupClientDirectoryRecord.cpp:49:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel 
header; include <endian.h> instead!
g++ -DNDEBUG -O2 -Wall -I../../lib/common -I../../lib/compress 
-I../../lib/crypto -I../../lib/server -I../../lib/backupclient 
-DPLATFORM_LINUX -DBOX_VERSION="\"0.09\"" -D_FILE_OFFSET_BITS=64 -c 
BackupClientContext.cpp -o ../../release/bin/bbackupd/BackupClientContext.o
In file included from ../../lib/common/Box.h:183,
from BackupClientContext.cpp:49:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel 
header; include <endian.h> instead!
g++ -DNDEBUG -O2 -Wall -I../../lib/common -I../../lib/compress 
-I../../lib/crypto -I../../lib/server -I../../lib/backupclient 
-DPLATFORM_LINUX -DBOX_VERSION="\"0.09\"" -D_FILE_OFFSET_BITS=64 -c 
bbackupd.cpp -o ../../release/bin/bbackupd/bbackupd.o
In file included from ../../lib/common/Box.h:183,
from bbackupd.cpp:49:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel 
header; include <endian.h> instead!
g++ -DNDEBUG -O2 -Wall -I../../lib/common -I../../lib/compress 
-I../../lib/crypto -I../../lib/server -I../../lib/backupclient 
-DPLATFORM_LINUX -DBOX_VERSION="\"0.09\"" -D_FILE_OFFSET_BITS=64 -c 
BackupDaemon.cpp -o ../../release/bin/bbackupd/BackupDaemon.o
In file included from ../../lib/common/Box.h:183,
from BackupDaemon.cpp:49:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel 
header; include <endian.h> instead!
........
........
........
Protocol.h:54: error: forward declaration of ‘struct IOStream’
Protocol.cpp:174: error: expected `;' before ‘hsReceive’
Protocol.cpp:175: error: ‘hsReceive’ was not declared in this scope
Protocol.cpp:181: error: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: error: forward declaration of ‘struct IOStream’
Protocol.cpp: In member function ‘void 
Protocol::CheckAndReadHdr(void*)’:
Protocol.cpp:225: error: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: error: forward declaration of ‘struct IOStream’
Protocol.cpp: In member function ‘std::auto_ptr<ProtocolObject> 
Protocol::Receive()’:
Protocol.cpp:266: error: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: error: forward declaration of ‘struct IOStream’
Protocol.cpp: In member function ‘void Protocol::Send(const 
ProtocolObject&)’:
Protocol.cpp:359: error: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: error: forward declaration of ‘struct IOStream’
Protocol.cpp:360: error: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: error: forward declaration of ‘struct IOStream’
Protocol.cpp: In member function ‘void Protocol::SendStream(IOStream&)’:
Protocol.cpp:716: error: incomplete type ‘IOStream’ used in nested 
name specifier
Protocol.cpp:716: error: expected `;' before ‘streamSize’
Protocol.cpp:717: error: ‘streamSize’ was not declared in this scope
Protocol.cpp:717: error: incomplete type ‘IOStream’ used in nested 
name specifier
Protocol.cpp:725: error: ‘streamSize’ was not declared in this scope
Protocol.cpp:733: error: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: error: forward declaration of ‘struct IOStream’
Protocol.cpp:750: error: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: error: forward declaration of ‘struct IOStream’
Protocol.cpp:753: error: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: error: forward declaration of ‘struct IOStream’
Protocol.cpp:767: error: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: error: forward declaration of ‘struct IOStream’
Protocol.cpp:781: error: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: error: forward declaration of ‘struct IOStream’
Protocol.cpp:787: error: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: error: forward declaration of ‘struct IOStream’
Protocol.cpp: In member function ‘int 
Protocol::SendStreamSendBlock(u_int8_t*, int)’:
Protocol.cpp:835: error: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: error: forward declaration of ‘struct IOStream’
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/memory: 
In destructor ‘std::auto_ptr<_Tp>::~auto_ptr() [with _Tp = IOStream]’:
Protocol.cpp:689: instantiated from here
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/memory:259: 
warning: possible problem detected in invocation of delete operator:
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/memory:259: 
warning: invalid use of undefined type ‘struct IOStream’
Protocol.h:54: warning: forward declaration of ‘struct IOStream’
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/memory:259: 
note: neither the destructor nor the class-specific operator delete will 
be called, even if they are declared when the class is defined.
make[2]: *** [../../release/lib/server/Protocol.o] Error 1
make[2]: Leaving directory `/home/syska/boxbackup-0.09/lib/server'
make[1]: *** [dep_modules] Error 2
make[1]: Leaving directory `/home/syska/boxbackup-0.09/bin/bbackupd'
make: *** [parcels/boxbackup-0.09-backup-client-Linux.tgz] Error 2
[root@server boxbackup-0.09]#

and now i'm totally lost... what does these errors mean? Are there any 
thing more I need to install?

I will gladly supply additional information if needed....

best regards
Mikael Syska