Skip to content

Compilation fail #13

@Bigomby

Description

@Bigomby

When using configure without any flags, compilation fails.

gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I../rbutil -g -O2 -Wall -c -o spo_alert_json.o spo_alert_json.c

spo_alert_json.c:504:70: error: ‘kafka_str’ undeclared (first use in this function)
         else if(!strncasecmp(tok, KAFKA_PROT,strlen(KAFKA_PROT)) && !kafka_str)
                                                                      ^
spo_alert_json.c:504:70: note: each undeclared identifier is reported only once for each function it appears in
In file included from spo_alert_json.c:57:0:
spo_alert_json.c:626:25: error: ‘eth_vendors_path’ undeclared (first use in this function)
             RB_IF_CLEAN(eth_vendors_path,eth_vendors_path = SnortStrdup(tok+strlen("eth_vendors=")),"%s(%i) param se
                         ^
../rbutil/rb_pointers.h:45:39: note: in definition of macro ‘RB_IF_CLEAN’
 #define RB_IF_CLEAN(P,CODE,...) do{if(P) FatalError(__VA_ARGS__); CODE;}while(0)
                                       ^
spo_alert_json.c: At top level:
spo_alert_json.c:248:13: warning: ‘DecRefcntPrintbuf’ defined but not used [-Wunused-function]
 static void DecRefcntPrintbuf(RefcntPrintbuf *rprintbuf) {
             ^
Makefile:380: fallo en las instrucciones para el objetivo 'spo_alert_json.o'
make[3]: *** [spo_alert_json.o] Error 1
make[3]: se sale del directorio '/home/diego/Documentos/src/github.com/redBorder/barnyard2/src/output-plugins'
Makefile:486: fallo en las instrucciones para el objetivo 'all-recursive'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio '/home/diego/Documentos/src/github.com/redBorder/barnyard2/src'
Makefile:400: fallo en las instrucciones para el objetivo 'all-recursive'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio '/home/diego/Documentos/src/github.com/redBorder/barnyard2'
Makefile:331: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions