[Snort-users] barnyard2 compile error on Solaris 10

David Lundy dlundy at ...15339...
Tue Jul 12 18:14:30 EDT 2011


I am trying to install barnyard2 version 1.9 on Solaris 10 on SPARC.  I get the following error when I do make:

make[3]: Entering directory `/export/home/dlundy/snort/barnyard2-1.9/barnyard2-1.9/src'
gcc -DHAVE_CONFIG_H -I. -I.. -Isfutil  -DBSD_COMP -D_REENTRANT  -g -O0 -mcpu=v9 -Wall -c barnyard2.c
gcc -DHAVE_CONFIG_H -I. -I.. -Isfutil  -DBSD_COMP -D_REENTRANT  -g -O0 -mcpu=v9 -Wall -c debug.c
gcc -DHAVE_CONFIG_H -I. -I.. -Isfutil  -DBSD_COMP -D_REENTRANT  -g -O0 -mcpu=v9 -Wall -c decode.c
gcc -DHAVE_CONFIG_H -I. -I.. -Isfutil  -DBSD_COMP -D_REENTRANT  -g -O0 -mcpu=v9 -Wall -c log.c
gcc -DHAVE_CONFIG_H -I. -I.. -Isfutil  -DBSD_COMP -D_REENTRANT  -g -O0 -mcpu=v9 -Wall -c log_text.c
gcc -DHAVE_CONFIG_H -I. -I.. -Isfutil  -DBSD_COMP -D_REENTRANT  -g -O0 -mcpu=v9 -Wall -c map.c
gcc -DHAVE_CONFIG_H -I. -I.. -Isfutil  -DBSD_COMP -D_REENTRANT  -g -O0 -mcpu=v9 -Wall -c mstring.c
In file included from plugbase.h:48,
                 from mstring.c:55:
/usr/include/net/route.h:65: error: field `ro_dst' has incomplete type
/usr/include/net/route.h:101: error: field `rt_dst' has incomplete type
/usr/include/net/route.h:102: error: field `rt_gateway' has incomplete type
make[3]: *** [mstring.o] Error 1
make[3]: Leaving directory `/export/home/dlundy/snort/barnyard2-1.9/barnyard2-1.9/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/dlundy/snort/barnyard2-1.9/barnyard2-1.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/dlundy/snort/barnyard2-1.9/barnyard2-1.9'
make: *** [all] Error 2

I found a similar posting for this problem with FreeBSD on the web but no resolution.  Need help on how to resolve this.

------------------------------------------------
David Lundy
Assistant IT Security Officer
University of the Pacific
Stockton, CA 95211
Email: dlundy at ...15340...<mailto:dlundy at ...15340...>
Voice: 209-946-3951
Fax: 209-946-2898

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20110712/5a8d79f3/attachment.html>


More information about the Snort-users mailing list