Snort mailing list archives
Barnyard compile on Solaris 2.7..
From: Chris Keladis <Chris.Keladis () cmc cwo net au>
Date: Sun, 16 Dec 2001 01:24:25 +1100
Morning all,
I was planning on trying out Barnyard today, and grabbed the 0.1.0-beta4
version from www.snort.org to compile on a SPARC Solaris 2.7 machine.
Here is a snippet from 'make':
make all-recursive
Making all in src
Making all in output-plugins
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -DBSD_COMP
-I../mysql-3
.23.42-sun-solaris2.7-sparc/include -DWITH_MYSQL -g -O2 -Wall -c
op_decode.c
In file included from ../../src/barnyard.h:27,
from op_decode.h:29,
from op_decode.c:24:
./../src/event.h:26: parse error before `u_int32_t'
../../src/event.h:26: warning: no semicolon at end of struct or union
../../src/event.h:27: warning: type defaults to `int' in declaration of
`sig_id'
../../src/event.h:27: warning: data definition has no type or storage
class
../../src/event.h:28: parse error before `sig_rev'
../../src/event.h:28: warning: type defaults to `int' in declaration of
`sig_rev
'
I don't know the full details of the error, but i know it has to do with
the definition of u_int*_t on Solaris (searching google revealed this to
be a common portability problem).
Tried to get the latest version from the anonymous CVS but kept getting
access denied. I will probably try this again tomorrow, to see if it was
perhaps due to scheduled outages, etc (or something stupid i did).
This is what 'configure' reported when it searched for u_int*_t:
checking for u_int8_t... no
checking for u_int16_t... no
checking for u_int32_t... no
Just wondering if this is fixed in the latest CVS version, or if anyone
has come across it..
I'll try and look at it further when i have some time later today.
Thanks,
Chris.
_______________________________________________
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
Current thread:
- Barnyard compile on Solaris 2.7.. Chris Keladis (Dec 15)
- Re: Barnyard compile on Solaris 2.7.. Andy Steingruebl (Dec 18)
- Re: Barnyard compile on Solaris 2.7.. Brian (Dec 18)
- Re: Barnyard compile on Solaris 2.7.. Andy Steingruebl (Dec 18)
