./autogen.sh
./configure CC=llvm-gcc CXX=llvm-g++ --prefix=/usr/local
make
../../include/sys/timer.h:35:9: warning: 'USEC_PER_SEC' macro redefined
#define USEC_PER_SEC 1000000 /* microseconds per second */
^
/System/Library/Frameworks/Kernel.framework/Headers/mach/clock_types.h:85:9: note: previous definition is
here
#define USEC_PER_SEC 1000000ull /* microseconds per second */
^
In file included from spl-atomic.c:32:
In file included from ../../include/sys/atomic.h:34:
In file included from ../../include/sys/types.h:42:
../../include/sys/stropts.h:125:1: error: static declaration of 'memchr' follows non-static declaration
memchr(const void *s, int c, size_t n)
^
/System/Library/Frameworks/Kernel.framework/Headers/libkern/libkern.h:150:14: note: previous declaration is
here
extern void *memchr(const void *, int, size_t);
^
spl-atomic.c:51:68: warning: incompatible pointer to integer conversion passing 'void *' to parameter of
type 'uint64_t' (aka 'unsigned long long') [-Wint-conversion]
return (void *)__sync_val_compare_and_swap((uint64_t *)target, cmp, new);
^~~
spl-atomic.c:51:73: warning: incompatible pointer to integer conversion passing 'void *' to parameter of
type 'uint64_t' (aka 'unsigned long long') [-Wint-conversion]
return (void *)__sync_val_compare_and_swap((uint64_t *)target, cmp, new);
^~~
3 warnings and 1 error generated.
make[3]: *** [spl-spl-atomic.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Making all in KernelExports
CC kextsymboltool.o
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-variable'?
[-Wunknown-warning-option]
In file included from ../../../module/zfs/KernelExports/kextsymboltool.c:23:
In file included from /usr/include/libc.h:37:
../../../lib/libspl/include/string.h:32:15: error: expected parameter declarator
extern size_t strlcat(char *dst, const char *src, size_t dstsize);
^
/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
In file included from ../../../module/zfs/KernelExports/kextsymboltool.c:23:
In file included from /usr/include/libc.h:37:
../../../lib/libspl/include/string.h:32:15: error: expected ')'
/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
../../../lib/libspl/include/string.h:32:15: note: to match this '('
/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
In file included from ../../../module/zfs/KernelExports/kextsymboltool.c:23:
In file included from /usr/include/libc.h:37:
../../../lib/libspl/include/string.h:32:15: error: conflicting types for '__builtin___strlcat_chk'
extern size_t strlcat(char *dst, const char *src, size_t dstsize);
^
/usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
^
../../../lib/libspl/include/string.h:32:15: note: '__builtin___strlcat_chk' is a builtin with type 'unsigned
long (char *, const char *, unsigned long, unsigned long)'
/usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
^
In file included from ../../../module/zfs/KernelExports/kextsymboltool.c:23:
In file included from /usr/include/libc.h:37:
../../../lib/libspl/include/string.h:33:15: error: expected parameter declarator
extern size_t strlcpy(char *dst, const char *src, size_t len);
^
/usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy'
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
In file included from ../../../module/zfs/KernelExports/kextsymboltool.c:23:
In file included from /usr/include/libc.h:37:
../../../lib/libspl/include/string.h:33:15: error: expected ')'
/usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy'
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
../../../lib/libspl/include/string.h:33:15: note: to match this '('
/usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy'
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
In file included from ../../../module/zfs/KernelExports/kextsymboltool.c:23:
In file included from /usr/include/libc.h:37:
../../../lib/libspl/include/string.h:33:15: error: conflicting types for '__builtin___strlcpy_chk'
extern size_t strlcpy(char *dst, const char *src, size_t len);
^
/usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy'
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))
^
../../../lib/libspl/include/string.h:33:15: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned
long (char *, const char *, unsigned long, unsigned long)'
/usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy'
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))
^
1 warning and 6 errors generated.
make[4]: *** [kextsymboltool.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
well got something working under 10.8.4, copied files across to 10.neuf and no go so far
--
See http://MacZFS.org/ for more information on this project.
---
You received this message because you are subscribed to the Google Groups "MacZFS-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maczfs-devel...@googlegroups.com.
Visit this group at http://groups.google.com/group/maczfs-devel.