Barnyard2-h error

26 views
Skip to first unread message

smile176...@gmail.com

unread,
Oct 13, 2017, 4:13:52 AM10/13/17
to Hogzilla Users
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 #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.

Paulo Angelo

unread,
Oct 15, 2017, 8:31:38 PM10/15/17
to Hogzilla Users
Hi,

Check the used lib nDPI version. You can also try the last lib nDPI and the last Barnyard2-hz, both from the GitHub.


regards,

PA
Reply all
Reply to author
Forward
0 new messages