Snort mailing list archives

barnyard2 compile error on Solaris 10


From: David Lundy <dlundy () PACIFIC EDU>
Date: Tue, 12 Jul 2011 22:14:30 +0000

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 () pacific edu<mailto:dlundy () pacific edu>
Voice: 209-946-3951
Fax: 209-946-2898

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Please see http://www.snort.org/docs for documentation

Current thread: