Use the real gcc instead of Apple's llvm/clang/whatever it is these days.

On Fri, Apr 27, 2012 at 2:18 PM, Gappa <gapp...@gmail.com> wrote:
> hi everyone,
> i'm trying to install ossec on my Mac.
>
> I get this error:
>
> gcc -g -Wall -I../../ -I../../headers  -DDEFAULTDIR=\"/var/ossec\"
> -DUSE_OPENSSL -DDarwin -DHIGHFIRST    -DARGV0=\"sha1_op\" -DXML_VAR=\"var\"
> -DOSSECHIDS -c sha1_op.c
>
> In file included from sha1_op.c:27:
>
> sha_locl.h: In function ‘sha1_block_host_order’:
>
> sha_locl.h:261: error: unsupported inline asm: input constraint with a
> matching output constraint of incompatible type!
>
> sha_locl.h:261: error: unsupported inline asm: input constraint with a
> matching output constraint of incompatible type!
>
> sha_locl.h:262: error: unsupported inline asm: input constraint with a
> matching output constraint of incompatible type!
>
> sha_locl.h:262: error: unsupported inline asm: input constraint with a
> matching output constraint of incompatible type!
>
> ………..
>
> ……….
>
> sha_locl.h:344: error: unsupported inline asm: input constraint with a
> matching output constraint of incompatible type!
>
> sha_locl.h:345: error: unsupported inline asm: input constraint with a
> matching output constraint of incompatible type!
>
> sha_locl.h:345: error: unsupported inline asm: input constraint with a
> matching output constraint of incompatible type!
>
> sha_locl.h:345: error: unsupported inline asm: input constraint with a
> matching output constraint of incompatible type!
>
> make[2]: *** [sha1] Error 1
>
> make[1]: *** [os_crypto] Error 2
>
>
> I searched for some prerequisites to install on the Mac and i only found
> XCode, i have it.
>
> Can anyone help me with this error?
>
> Thanks
>
> Gappa

Reply via email to