Hi,
I was having problem installing sac-101.6a to my Mac OS 10.10.3 from the source code. The error message I get after exciting the code "make >> ../130612.build" is appended to the end of this email. I followed the quick installation code mentioned in "Readme.buildsac" file. There is no error message while executing the configure command, but only while executing make. I have Xcode 6.3.1 (6D1002) installed.
If there is any built version of SAC for Mac available then can you please send it to me? Otherwise, can you help me build SAC from the source code for my OS.
Thank you.
Sincerely,
Prashidha Kharel
PhD Student
School of Civil Engineering
University of Sydney
_____________________
Error Message:
strlcat.c:45:1: error: expected parameter declarator
strlcat(char *dst, const char *src, size_t siz)
^
/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_FORTIF...
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
strlcat.c:45:1: 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_FORTIF...
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
strlcat.c:45:1: 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_FORTIF...
^
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:111:44: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __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_FORTIF...
^
strlcat.c:45:1: error: conflicting types for '__builtin___strlcat_chk'
/usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __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:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __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:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __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
I was having problem installing sac-101.6a to my Mac OS 10.10.3 from the source code. The error message I get after exciting the code "make >> ../130612.build" is appended to the end of this email. I followed the quick installation code mentioned in "Readme.buildsac" file. There is no error message while executing the configure command, but only while executing make. I have Xcode 6.3.1 (6D1002) installed.
If there is any built version of SAC for Mac available then can you please send it to me? Otherwise, can you help me build SAC from the source code for my OS.
Thank you.
Sincerely,
Prashidha Kharel
PhD Student
School of Civil Engineering
University of Sydney
_____________________
Error Message:
strlcat.c:45:1: error: expected parameter declarator
strlcat(char *dst, const char *src, size_t siz)
^
/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_FORTIF...
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
strlcat.c:45:1: 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_FORTIF...
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
strlcat.c:45:1: 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_FORTIF...
^
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:111:44: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __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_FORTIF...
^
strlcat.c:45:1: error: conflicting types for '__builtin___strlcat_chk'
/usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __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:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __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:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __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
-
Hi,
I resend the e-mail of Brian Savage to another user with the “same” problem.
————
Compiling 101.6 on 10.9 will require and updated version of libedit. This problem was reported to me by another user.
Alternatively you can try to compile without libedit. This can be done through configure.
Brian
________
Cheers,
Milton
On May 5, 2015, at 03:46, Prashidha Kharel <prashidha.kharel<at>sydney.edu.au> wrote:
Hi,
I was having problem installing sac-101.6a to my Mac OS 10.10.3 from the source code. The error message I get after exciting the code "make >> ../130612.build" is appended to the end of this email. I followed the quick installation code mentioned in "Readme.buildsac" file. There is no error message while executing the configure command, but only while executing make. I have Xcode 6.3.1 (6D1002) installed.
If there is any built version of SAC for Mac available then can you please send it to me? Otherwise, can you help me build SAC from the source code for my OS.
Thank you.
Sincerely,
Prashidha Kharel
PhD Student
School of Civil Engineering
University of Sydney
_____________________
Error Message:
strlcat.c:45:1: error: expected parameter declarator
strlcat(char *dst, const char *src, size_t siz)
^
/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_FORTIF...
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
strlcat.c:45:1: 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_FORTIF...
^
/usr/include/secure/_common.h:30:32: note: expanded from macro
'_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
strlcat.c:45:1: 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_FORTIF...
^
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:111:44: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __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_FORTIF...
^
strlcat.c:45:1: error: conflicting types for '__builtin___strlcat_chk'
/usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __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:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __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:111:3: note: expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __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
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help