Skip to content

Barnyard2-h error #8

Description

@YiQiuFengYe

hi,I according to document to deploy,when "Install Barnyard2-hz" make,it tip:
spo_hogzilla.c:3447:48: error: ‘struct ndpi_flow_struct’ has no member named ‘detected_os’
if(flow->ndpi_flow!=NULL && flow->ndpi_flow->detected_os!=NULL){
^
spo_hogzilla.c:3448:58: error: ‘struct ndpi_flow_struct’ has no member named ‘detected_os’
snprintf(text[c], textSize, "%s", flow->ndpi_flow->detected_os);
^
spo_hogzilla.c:3450:9: warning: zero-length gnu_printf format string [-Wformat-zero-length]
snprintf(text[c], textSize, "");
........
make[4]: *** [spo_hogzilla.o] Error 1
make[4]: Leaving directory /opt/barnyard2/src/output-plugins' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory /opt/barnyard2/src/output-plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /opt/barnyard2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /opt/barnyard2'
make: *** [all] Error 2

get the error,I use system:
Linux s 4.2.0-27-generic firnsy#32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

hope you can help me.
Thank you so much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions