[Box Backup] Compile Error on OpenBSD 4.4 AMD64
Andreas Schrafl
boxbackup@boxbackup.org
Sun, 26 Oct 2008 19:28:35 +0100
Hi everybody
I'm trying to get BoxBackup running on a OpenBSD 4.4 AMD64 machine.
Brand new install.
I tried 0.11rc2 and trunk at revision 2364 and I ran into the same problem.
Below are the outputs for ./runtest.pl bbackupd debug for both versions.
Any idea?
Thanks
Andy
For 0.11rc2:
./runtest.pl bbackupd debug
[CXX] BoxException
[CXX] BoxTime
[CXX] BoxTimeToText
[CXX] BufferedStream
[CXX] CollectInBufferStream
[CXX] Configuration
[CXX] ConversionString
[CXX] DebugAssertFailed
[CXX] DebugMemLeakFinder
DebugMemLeakFinder.cpp: In function `int memleakfinder_numleaks()':
DebugMemLeakFinder.cpp:325: warning: unused variable `const
ObjectInfo&rInfo'
[CXX] DebugPrintf
[CXX] EventWatchFilesystemObject
[CXX] ExcludeList
[CXX] FdGetLine
[CXX] FileStream
[CXX] IOStream
[CXX] IOStreamGetLine
[CXX] InvisibleTempFileStream
[CXX] Logging
[CXX] MemBlockStream
[CXX] NamedLock
[CXX] PartialReadStream
[CXX] PathUtils
[CXX] ReadGatherStream
[CXX] ReadLoggingStream
[CXX] StreamableMemBlock
[CXX] Timer
[CXX] UnixUser
[CXX] Utils
[CXX] WaitForEvent
[CXX] ZeroStream
[CXX] autogen_CommonException
[CXX] autogen_ConversionException
[AR] common
ar: creating ../../debug/lib/common/common.a
[RANLIB] common
[CXX] CompressStream
[CXX] autogen_CompressException
[AR] compress
ar: creating ../../debug/lib/compress/compress.a
[RANLIB] compress
[CXX] CipherAES
[CXX] CipherBlowfish
[CXX] CipherContext
[CXX] CipherDescription
[CXX] MD5Digest
[CXX] Random
[CXX] RollingChecksum
[CXX] autogen_CipherException
[AR] crypto
ar: creating ../../debug/lib/crypto/crypto.a
[RANLIB] crypto
[CXX] Daemon
[CXX] LocalProcessStream
[CXX] Protocol
[CXX] ProtocolObject
[CXX] ProtocolUncertainStream
[CXX] SSLLib
[CXX] Socket
[CXX] SocketStream
[CXX] SocketStreamTLS
[CXX] TLSContext
[CXX] WinNamedPipeStream
[CXX] autogen_ConnectionException
[CXX] autogen_ServerException
[AR] server
ar: creating ../../debug/lib/server/server.a
[RANLIB] server
[CXX] BackupClientCryptoKeys
[CXX] BackupClientFileAttributes
[CXX] BackupClientMakeExcludeList
[CXX] BackupClientRestore
[CXX] BackupDaemonConfigVerify
[CXX] BackupStoreDirectory
[CXX] BackupStoreFile
BackupStoreFile.cpp: In function `static void
BackupStoreFile::DecodeFile(IOStream&, const char*, int, const
BackupClientFileAttributes*)':
BackupStoreFile.cpp:299: warning: unused variable `int drained'
[CXX] BackupStoreFileCmbDiff
[CXX] BackupStoreFileCmbIdx
[CXX] BackupStoreFileCombine
[CXX] BackupStoreFileCryptVar
[CXX] BackupStoreFileDiff
[CXX] BackupStoreFileEncodeStream
[CXX] BackupStoreFileRevDiff
[CXX] BackupStoreFilename
[CXX] BackupStoreFilenameClear
[CXX] BackupStoreObjectDump
[CXX] autogen_BackupProtocolClient
[CXX] autogen_BackupStoreException
[AR] backupclient
ar: creating ../../debug/lib/backupclient/backupclient.a
[RANLIB] backupclient
[CXX] RaidFileController
[CXX] RaidFileRead
[CXX] RaidFileUtil
[CXX] RaidFileWrite
[CXX] autogen_RaidFileException
[AR] raidfile
ar: creating ../../debug/lib/raidfile/raidfile.a
[RANLIB] raidfile
[CXX] BackupStoreAccountDatabase
[CXX] BackupStoreAccounts
[CXX] BackupStoreCheck
[CXX] BackupStoreCheck2
[CXX] BackupStoreCheckData
[CXX] BackupStoreConfigVerify
[CXX] BackupStoreInfo
[CXX] StoreStructure
[AR] backupstore
ar: creating ../../debug/lib/backupstore/backupstore.a
[RANLIB] backupstore
[CXX] intercept
intercept.cpp: In function `int open(const char*, int, unsigned int)':
intercept.cpp:242: error: `__syscall' undeclared (first use this function)
intercept.cpp:242: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
intercept.cpp: In function `int close(int)':
intercept.cpp:276: error: `__syscall' undeclared (first use this function)
intercept.cpp: In function `ssize_t write(int, const void*, long
unsigned int)
':
intercept.cpp:295: error: `__syscall' undeclared (first use this function)
intercept.cpp: In function `ssize_t read(int, void*, long unsigned int)':
intercept.cpp:311: error: `__syscall' undeclared (first use this function)
intercept.cpp: In function `ssize_t readv(int, const iovec*, int)':
intercept.cpp:334: error: `__syscall' undeclared (first use this function)
intercept.cpp: In function `off_t lseek(int, long long int, int)':
intercept.cpp:358: error: `__syscall' undeclared (first use this function)
*** Error code 1
Stop in /0.11rc2/lib/intercept (line 47 of Makefile).
*** Error code 1
Stop.
--------
bbackupd: make failed
for 2364:
./runtest.pl bbackupd debug
[CXX] emu
[AR] win32
[RANLIB] win32
[CXX] BoxException
[CXX] BoxTime
[CXX] BoxTimeToText
[CXX] BufferedStream
[CXX] CollectInBufferStream
[CXX] Configuration
[CXX] ConversionString
[CXX] DebugAssertFailed
[CXX] DebugMemLeakFinder
DebugMemLeakFinder.cpp: In function `int memleakfinder_numleaks()':
DebugMemLeakFinder.cpp:341: warning: unused variable `const
ObjectInfo&rInfo'
[CXX] DebugPrintf
[CXX] EventWatchFilesystemObject
[CXX] ExcludeList
[CXX] FdGetLine
[CXX] FileStream
[CXX] IOStream
[CXX] IOStreamGetLine
[CXX] InvisibleTempFileStream
[CXX] Logging
[CXX] MemBlockStream
[CXX] NamedLock
[CXX] PartialReadStream
[CXX] PathUtils
[CXX] ReadGatherStream
[CXX] ReadLoggingStream
[CXX] StreamableMemBlock
[CXX] Test
[CXX] Timer
[CXX] UnixUser
[CXX] Utils
[CXX] WaitForEvent
[CXX] ZeroStream
[CXX] autogen_CommonException
[CXX] autogen_ConversionException
[AR] common
[RANLIB] common
[CXX] CompressStream
[CXX] autogen_CompressException
[AR] compress
[RANLIB] compress
[CXX] CipherAES
[CXX] CipherBlowfish
[CXX] CipherContext
[CXX] CipherDescription
[CXX] MD5Digest
[CXX] Random
[CXX] RollingChecksum
[CXX] autogen_CipherException
[AR] crypto
[RANLIB] crypto
[CXX] Daemon
[CXX] LocalProcessStream
[CXX] Protocol
[CXX] ProtocolObject
[CXX] ProtocolUncertainStream
[CXX] SSLLib
[CXX] ServerControl
[CXX] Socket
[CXX] SocketStream
[CXX] SocketStreamTLS
[CXX] TLSContext
[CXX] WinNamedPipeStream
[CXX] autogen_ConnectionException
[CXX] autogen_ServerException
[AR] server
[RANLIB] server
[CXX] BackupClientCryptoKeys
[CXX] BackupClientFileAttributes
[CXX] BackupClientMakeExcludeList
[CXX] BackupClientRestore
[CXX] BackupDaemonConfigVerify
[CXX] BackupStoreDirectory
[CXX] BackupStoreFile
BackupStoreFile.cpp: In function `static void
BackupStoreFile::DecodeFile(IOStream&, const char*, int, const
BackupClientFileAttributes*)':
BackupStoreFile.cpp:304: warning: unused variable `int drained'
[CXX] BackupStoreFileCmbDiff
[CXX] BackupStoreFileCmbIdx
[CXX] BackupStoreFileCombine
[CXX] BackupStoreFileCryptVar
[CXX] BackupStoreFileDiff
[CXX] BackupStoreFileEncodeStream
[CXX] BackupStoreFileRevDiff
[CXX] BackupStoreFilename
[CXX] BackupStoreFilenameClear
[CXX] BackupStoreObjectDump
[CXX] autogen_BackupProtocolClient
[CXX] autogen_BackupStoreException
[AR] backupclient
[RANLIB] backupclient
[CXX] RaidFileController
[CXX] RaidFileRead
[CXX] RaidFileUtil
[CXX] RaidFileWrite
[CXX] autogen_RaidFileException
[AR] raidfile
[RANLIB] raidfile
[CXX] BackupStoreAccountDatabase
[CXX] BackupStoreAccounts
[CXX] BackupStoreCheck
[CXX] BackupStoreCheck2
[CXX] BackupStoreCheckData
[CXX] BackupStoreConfigVerify
[CXX] BackupStoreInfo
[CXX] StoreStructure
[AR] backupstore
[RANLIB] backupstore
[CXX] intercept
intercept.cpp: In function `int open(const char*, int, ...)':
intercept.cpp:269: error: `__syscall' undeclared (first use this function)
intercept.cpp:269: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
intercept.cpp: In function `int close(int)':
intercept.cpp:316: error: `__syscall' undeclared (first use this function)
intercept.cpp: In function `ssize_t write(int, const void*, long
unsigned int)
':
intercept.cpp:335: error: `__syscall' undeclared (first use this function)
intercept.cpp: In function `ssize_t read(int, void*, long unsigned int)':
intercept.cpp:351: error: `__syscall' undeclared (first use this function)
intercept.cpp: In function `ssize_t readv(int, const iovec*, int)':
intercept.cpp:374: error: `__syscall' undeclared (first use this function)
intercept.cpp: In function `off_t lseek(int, long long int, int)':
intercept.cpp:398: error: `__syscall' undeclared (first use this function)
*** Error code 1
Stop in /trunk/lib/intercept (line 53 of Makefile).
*** Error code 1
Stop.
--------
bbackupd: make failed