Hi All!
When installing SAC v101.6 (on a 2018 MacBook Pro, running “High Sierra 10.13.6), I am successful able to run:
% mkdir build
% cd build
% ../sac-101.6a/configure --prefix=/usr/local/sac > ../130612.build
% make >> ../130612.build
But running:
% make install >> ../130612.build
generates the following nasty looking errors::
/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)
^
strlcat.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
strlcat(char *dst, const char *src, size_t siz)
^
/usr/include/secure/_string.h:115:47: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
strlcat.c:45:1: error: conflicting types for '__builtin___strlcat_chk'
/usr/include/secure/_string.h:115:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^
strlcat.c:45:1: note: '__builtin___strlcat_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned
long)'
/usr/include/secure/_string.h:115:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^
strlcat.c:45:1: error: definition of builtin function '__builtin___strlcat_chk'
strlcat(char *dst, const char *src, size_t siz)
^
/usr/include/secure/_string.h:115:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^
1 warning and 4 errors generated.
make[3]: *** [strlcat.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [lib/libedit.a] Error 2
make: *** [all-recursive] Error 1
Any guidance welcome!
Cheers,
Barry
When installing SAC v101.6 (on a 2018 MacBook Pro, running “High Sierra 10.13.6), I am successful able to run:
% mkdir build
% cd build
% ../sac-101.6a/configure --prefix=/usr/local/sac > ../130612.build
% make >> ../130612.build
But running:
% make install >> ../130612.build
generates the following nasty looking errors::
/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)
^
strlcat.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
strlcat(char *dst, const char *src, size_t siz)
^
/usr/include/secure/_string.h:115:47: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^
/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
^
strlcat.c:45:1: error: conflicting types for '__builtin___strlcat_chk'
/usr/include/secure/_string.h:115:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^
strlcat.c:45:1: note: '__builtin___strlcat_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned
long)'
/usr/include/secure/_string.h:115:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^
strlcat.c:45:1: error: definition of builtin function '__builtin___strlcat_chk'
strlcat(char *dst, const char *src, size_t siz)
^
/usr/include/secure/_string.h:115:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^
1 warning and 4 errors generated.
make[3]: *** [strlcat.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [lib/libedit.a] Error 2
make: *** [all-recursive] Error 1
Any guidance welcome!
Cheers,
Barry