Hi!
- OSX 10.9
- Xcode5
- same problem after installing the command line tools [by running
>/usr/bin/*xcode-select --install* as has been suggested in Apple support
forums] as they seem to be broken by default in Xcode5
Ossec install.sh starts fine at the beginning, but build aborts (terminal
output appended below).
Obviously I am no developer and am clueless, how to solve this on my own.
Anybody else run into this? Any idea?
Thanks!
Markus
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
--- Press ENTER to continue ---
5- Installing the system
- Running the Makefile
*** Making zlib (by Jean-loup Gailly and Mark Adler) ***
gcc -c -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\"
-DCLIENT -DUSE_OPENSSL -DDarwin -DHIGHFIRST -DARGV0=\"zlib\"
-DXML_VAR=\"var\" -DOSSECHIDS *.c
ar cru libz.a *.o
ranlib libz.a
cp -pr zlib.h zconf.h ../../headers/
cp -pr libz.a ../
*** Making os_xml ***
gcc -DXML_VAR=\"var\" -g -Wall -I../ -I../headers
-DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DDarwin -DHIGHFIRST
-DARGV0=\"os_xml\" -DXML_VAR=\"var\" -DOSSECHIDS -c os_xml.c
os_xml_access.c os_xml_node_access.c os_xml_variables.c os_xml_writer.c
ar cru os_xml.a os_xml.o os_xml_access.o os_xml_node_access.o
os_xml_variables.o os_xml_writer.o
ranlib os_xml.a
*** Making os_regex ***
gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT
-DUSE_OPENSSL -DDarwin -DHIGHFIRST -DARGV0=\"os_regex\"
-DXML_VAR=\"var\" -DOSSECHIDS -c *.c -Wall
ar cru os_regex.a *.o
ranlib os_regex.a
*** Making os_net ***
gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT
-DUSE_OPENSSL -DDarwin -DHIGHFIRST -DARGV0=\"os_net\" -DXML_VAR=\"var\"
-DOSSECHIDS -c os_net.c
ar cru os_net.a os_net.o
ranlib os_net.a
*** Making os_crypto ***
gcc -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT
-DUSE_OPENSSL -DDarwin -DHIGHFIRST -DARGV0=\"blowfish_op\"
-DXML_VAR=\"var\" -DOSSECHIDS -c bf_op.c bf_skey.c bf_enc.c
ar cru bf_op.a bf_op.o bf_skey.o bf_enc.o
ranlib bf_op.a
gcc -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT
-DUSE_OPENSSL -DDarwin -DHIGHFIRST -DARGV0=\"md5_op\" -DXML_VAR=\"var\"
-DOSSECHIDS -c md5.c md5_op.c
md5.c:158:27: warning: 'memset' call operates on objects of type
'struct MD5Context' while the size is based on a different type
'struct MD5Context *' [-Wsizeof-pointer-memaccess]
memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
~~~ ^~~
md5.c:158:27: note: did you mean to dereference the argument to 'sizeof'
(and
multiply it by the number of elements)?
memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
^~~
1 warning generated.
ar cru md5_op.a md5_op.o md5.o
ranlib md5_op.a
gcc -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT
-DUSE_OPENSSL -DDarwin -DHIGHFIRST -DARGV0=\"sha1_op\"
-DXML_VAR=\"var\" -DOSSECHIDS -c sha1_op.c
In file included from sha1_op.c:28:
./sha_locl.h:262:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 0,A,B,C,D,E,T,W[ 0]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:191:28: note: expanded from macro 'BODY_00_15'
(f)=xi+(e)+K_00_19+ROTATE((a),5)+F_00_19((b),(c),(d)); \
~~~~~~~^~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:262:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 0,A,B,C,D,E,T,W[ 0]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:192:13: note: expanded from macro 'BODY_00_15'
(b)=ROTATE((b),30);
~~~~~~~^~~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:263:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 1,T,A,B,C,D,E,W[ 1]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:191:28: note: expanded from macro 'BODY_00_15'
(f)=xi+(e)+K_00_19+ROTATE((a),5)+F_00_19((b),(c),(d)); \
~~~~~~~^~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:263:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 1,T,A,B,C,D,E,W[ 1]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:192:13: note: expanded from macro 'BODY_00_15'
(b)=ROTATE((b),30);
~~~~~~~^~~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:264:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 2,E,T,A,B,C,D,W[ 2]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:191:28: note: expanded from macro 'BODY_00_15'
(f)=xi+(e)+K_00_19+ROTATE((a),5)+F_00_19((b),(c),(d)); \
~~~~~~~^~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:264:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 2,E,T,A,B,C,D,W[ 2]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:192:13: note: expanded from macro 'BODY_00_15'
(b)=ROTATE((b),30);
~~~~~~~^~~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:265:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 3,D,E,T,A,B,C,W[ 3]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:191:28: note: expanded from macro 'BODY_00_15'
(f)=xi+(e)+K_00_19+ROTATE((a),5)+F_00_19((b),(c),(d)); \
~~~~~~~^~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:265:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 3,D,E,T,A,B,C,W[ 3]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:192:13: note: expanded from macro 'BODY_00_15'
(b)=ROTATE((b),30);
~~~~~~~^~~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:266:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 4,C,D,E,T,A,B,W[ 4]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:191:28: note: expanded from macro 'BODY_00_15'
(f)=xi+(e)+K_00_19+ROTATE((a),5)+F_00_19((b),(c),(d)); \
~~~~~~~^~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:266:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 4,C,D,E,T,A,B,W[ 4]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:192:13: note: expanded from macro 'BODY_00_15'
(b)=ROTATE((b),30);
~~~~~~~^~~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:267:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 5,B,C,D,E,T,A,W[ 5]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:191:28: note: expanded from macro 'BODY_00_15'
(f)=xi+(e)+K_00_19+ROTATE((a),5)+F_00_19((b),(c),(d)); \
~~~~~~~^~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:267:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 5,B,C,D,E,T,A,W[ 5]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:192:13: note: expanded from macro 'BODY_00_15'
(b)=ROTATE((b),30);
~~~~~~~^~~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:268:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 6,A,B,C,D,E,T,W[ 6]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:191:28: note: expanded from macro 'BODY_00_15'
(f)=xi+(e)+K_00_19+ROTATE((a),5)+F_00_19((b),(c),(d)); \
~~~~~~~^~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:268:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 6,A,B,C,D,E,T,W[ 6]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:192:13: note: expanded from macro 'BODY_00_15'
(b)=ROTATE((b),30);
~~~~~~~^~~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:269:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 7,T,A,B,C,D,E,W[ 7]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:191:28: note: expanded from macro 'BODY_00_15'
(f)=xi+(e)+K_00_19+ROTATE((a),5)+F_00_19((b),(c),(d)); \
~~~~~~~^~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:269:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 7,T,A,B,C,D,E,W[ 7]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:192:13: note: expanded from macro 'BODY_00_15'
(b)=ROTATE((b),30);
~~~~~~~^~~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:270:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 8,E,T,A,B,C,D,W[ 8]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:191:28: note: expanded from macro 'BODY_00_15'
(f)=xi+(e)+K_00_19+ROTATE((a),5)+F_00_19((b),(c),(d)); \
~~~~~~~^~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:270:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 8,E,T,A,B,C,D,W[ 8]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:192:13: note: expanded from macro 'BODY_00_15'
(b)=ROTATE((b),30);
~~~~~~~^~~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
In file included from sha1_op.c:28:
./sha_locl.h:271:2: error: unsupported inline asm: input with type
'unsigned long' matching output with type 'unsigned int'
BODY_00_15( 9,D,E,T,A,B,C,W[ 9]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sha_locl.h:191:28: note: expanded from macro 'BODY_00_15'
(f)=xi+(e)+K_00_19+ROTATE((a),5)+F_00_19((b),(c),(d)); \
~~~~~~~^~~~~~
./md32_common.h:214:19: note: expanded from macro 'ROTATE'
: "I"(n), "0"(a) \
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [sha1] Error 1
make[1]: *** [os_crypto] Error 2
Error Making os_crypto
make: *** [all] Error 1
Error 0x5.
Building error. Unable to finish the installation.
>>>>>>>>>>>>>>>>>>>
--
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.