Re: [ossec-list] Ossec 2.6 Compile errors on Mac Os 10.7.3
It's in the thread, but see: https://trac.macports.org/wiki/UsingTheRightCompiler Short version is I install macports, and then install their version, macports-gcc-4.7, then used the gcc_select command to choose that compiler instead of the one that comes with OSX. Daniel wrote: How is it you do this? On Friday, 27 April 2012 14:49:09 UTC-4, dan (ddpbsd) wrote: Use the real gcc instead of Apple's llvm/clang/whatever it is these days. -- ___ bil hays Infrastructure Manager Computer Science, UNC CH www.cs.unc.edu/~hays -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [ossec-list] Ossec 2.6 Compile errors on Mac Os 10.7.3
How is it you do this? On Friday, 27 April 2012 14:49:09 UTC-4, dan (ddpbsd) wrote: > > 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 > > 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 > -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [ossec-list] Ossec 2.6 Compile errors on Mac Os 10.7.3
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 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
[ossec-list] Ossec 2.6 Compile errors on Mac Os 10.7.3
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