[Box Backup-dev] First errors on Darwin
Ben Summers
boxbackup-dev@fluffy.co.uk
Sun, 18 Dec 2005 09:58:34 +0000
So, checkout, ./bootstrap and ./configure all work fine on Darwin.
Initial errors are
g++ -DNDEBUG -O2 -Wall -I../../lib/win32 -I../../lib/common -I../../
lib/compress -I../../lib/crypto -I../../lib/server -
DBOX_VERSION="\"0.09_autoconf_win32\"" -I/sw/include -c
BackupDaemonConfigVerify.cpp -o ../../release/lib/backupclient/
BackupDaemonConfigVerify.o
BackupClientFileAttributes.cpp: In static member function 'static
void BackupClientFileAttributes::FillExtendedAttr
(StreamableMemBlock&, const char*)':
BackupClientFileAttributes.cpp:457: error: '::llistxattr' has not
been declared
BackupClientFileAttributes.cpp:463: error: '::llistxattr' has not
been declared
BackupClientFileAttributes.cpp:512: error: '::lgetxattr' has not been
declared
BackupClientFileAttributes.cpp:520: error: '::lgetxattr' has not been
declared
BackupClientFileAttributes.cpp: In member function 'void
BackupClientFileAttributes::WriteExtendedAttr(const char*, int) const':
BackupClientFileAttributes.cpp:791: error: '::lsetxattr' has not been
declared
g++ -DNDEBUG -O2 -Wall -I../../lib/win32 -I../../lib/common -I../../
lib/compress -I../../lib/crypto -I../../lib/server -
DBOX_VERSION="\"0.09_autoconf_win32\"" -I/sw/include -c
BackupStoreDirectory.cpp -o ../../release/lib/backupclient/
BackupStoreDirectory.o
*** Error code 1
BackupStoreDirectory.cpp:42: warning: non-local variable '<anonymous
enum> dir_StreamFormatOptions' uses anonymous type
The last one is probably easy to sort out, but Darwin doesn't have
llistxattr, but it does have listxattr:
ssize_t
listxattr(const char *path, char *namebuf, size_t size, int
options);
What sort autoconf magic do I need to detect this?
Ben