Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fail #13

Open
Bigomby opened this issue Jul 4, 2016 · 0 comments
Open

Compilation fail #13

Bigomby opened this issue Jul 4, 2016 · 0 comments
Labels

Comments

@Bigomby
Copy link

Bigomby commented Jul 4, 2016

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
@Bigomby Bigomby added the bug label Jul 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant