[SAC-HELP] Mac OS installation problem (from source)

Prashidha Kharel prashidha.kharel at sydney.edu.au
Mon May 4 18:46:27 PDT 2015


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/sac-help/attachments/20150505/fcd3da08/attachment.html>


More information about the sac-help mailing list