[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-dev] [Bug 76] New: [PATCH] [SNP20070922] make all fails



http://www.ossec.net/bugs/show_bug.cgi?id=76

           Summary: [PATCH] [SNP20070922] make all fails
           Product: OSSEC
           Version: 1.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: install
        AssignedTo: ossec-dev@xxxxxxxxx
        ReportedBy: php-coder@xxxxxxxxxxxx


Hello!

make all -C src fails:

gcc -g -Wall -I../../ -I../../headers   -DUSE_OPENSSL    -DARGV0=\"shared\"
-DXML_VAR=\"var\" -DOSSECHIDS -c *.c
sec.c:54: error: expected ')' before '*' token
sec.c:68: error: expected ')' before '*' token
sec.c:215: error: expected ')' before '*' token
sec.c:358: error: expected ')' before '*' token
sec.c:376: error: expected ')' before '*' token
sec.c:392: error: expected ')' before '*' token
sec.c:406: error: expected ')' before '*' token
sec.c:425: error: expected ')' before '*' token
sec.c:525: error: expected ')' before '*' token
sec.c:536: error: expected ')' before '*' token
sec.c:572: error: expected ')' before '*' token
sec.c:756: error: expected ')' before '*' token
make[2]: *** [shared] Error 1

I found it on snapshot from 20070920 and reproduce it under snapshot from
20070922. After investigation I found a root of problem: in 20070912 snapshot
functions from src/os_crypto/shared/sec.c was moved to
src/os_crypto/shared/{keys,msgs}.c and structure keystruct was split to
keystore and keyentry. But in file sec.c leaved old versions of functions which
known nothing about keystruct splitting and this file wasn't removed.

In attach patch which removed sec.c file and also correct function's names in
comments.


-- 
Configure bugmail: http://www.ossec.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.