[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ossec-list] 0.6-1 and Mac OS X
- Subject: [Ossec-list] 0.6-1 and Mac OS X
- From: daniel.cid at gmail.com (Daniel Cid)
- Date: Tue, 14 Mar 2006 11:28:47 -0400
Hi,
Which version are you using? I was able to make it work in the compile
farm from sourceforge, but their macos boxes have been unavailable for
many months now (10.1 and 10.2 versions)...
I have some ideas on how to fix it, but I will try to test them before send
anything to you...
Btw, if anyone has Mac os that would allow me to access for a day, I
would really
appreciate it.
Thanks,
--
Daniel B. Cid, CISSP
daniel.cid (at) gmail.com
http://www.ossec.net/hids/
On 3/14/06, Nerijus Krukauskas <nkrukauskas at gmail.com> wrote:
> Hi,
>
> When I try to build ossec hids (local) on Mac OS X, I get:
>
> gcc -DXML_VAR=\"var\" -Wall -I../ -I../headers -DLOCAL -DUSE_OPENSSL
> -DDarwin -DARGV0=\"os_xml\" -DXML_VAR=\"var\" -DOSSECHIDS -c os_xml.c
> os_xml_access.c os_xml_node_access.c os_xml_variables.c
> In file included from os_xml.c:18:
> ../headers/shared.h:80: error: conflicting types for 'socklen_t'
> /usr/include/sys/socket.h:99: error: previous declaration of
> 'socklen_t' was here
> make[1]: *** [xml] Error 1
>
> Well, that one is easily corrected by commenting out the line #80 in
> src/headers/shared.h. But then I get another one:
>
> Making rootcheck
> gcc -Wall -I../ -I../headers -DLOCAL -DUSE_OPENSSL -DDarwin
> -DARGV0=\"ossec-rootcheck\" -DXML_VAR=\"var\" -DOSSECHIDS -c *.c
> -D_GNU_SOURCE
> os_string.c:56:22: error: sys/exec.h: No such file or directory
> os_string.c:128: error: invalid application of 'sizeof' to incomplete
> type 'EXEC'
> os_string.c: In function 'os_string':
> os_string.c:188: error: invalid application of 'sizeof' to incomplete
> type 'EXEC'
> os_string.c:193: error: invalid application of 'sizeof' to incomplete
> type 'EXEC'
> os_string.c:193: error: dereferencing pointer to incomplete type
> os_string.c:193: error: 'OMAGIC' undeclared (first use in this function)
> os_string.c:193: error: (Each undeclared identifier is reported only once
> os_string.c:193: error: for each function it appears in.)
> os_string.c:193: error: dereferencing pointer to incomplete type
> os_string.c:193: error: 'NMAGIC' undeclared (first use in this function)
> os_string.c:193: error: dereferencing pointer to incomplete type
> os_string.c:193: error: 'ZMAGIC' undeclared (first use in this function)
> os_string.c:195: error: dereferencing pointer to incomplete type
> os_string.c:195: error: 'M_OLDSUN2' undeclared (first use in this function)
> os_string.c:195: error: dereferencing pointer to incomplete type
> os_string.c:195: error: dereferencing pointer to incomplete type
> os_string.c:195: error: invalid application of 'sizeof' to incomplete
> type 'struct exec'
> os_string.c:195: error: dereferencing pointer to incomplete type
> os_string.c:195: error: invalid application of 'sizeof' to incomplete
> type 'struct exec'
> os_string.c:205: error: dereferencing pointer to incomplete type
> os_string.c:205: error: dereferencing pointer to incomplete type
> make[1]: *** [rootcheck] Error 1
>
> Any ideas how to correct this?
>
> --
> http://nk99.org/
> _______________________________________________
> ossec-list mailing list
> ossec-list at ossec.net
> http://mailman.underlinux.com.br/mailman/listinfo/ossec-list
>
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.