[Snort-users] Problems compiling SnortSam on OpenBSD

ML mail mlnospam at ...131...
Wed Sep 5 11:24:32 EDT 2012


Hi,

I would like to integrate SnortSam in my Snort installation and therefore I am currently trying to compile the latest version 2.70 of it on OpenBSD 4.9 (i386). It looks like I can't get it to compile as I get some errors and no snortsam binary at the end :(

Here is the output of makeshortsam.sh:

-------------------------------------------------------------------------------

Building SnortSam (release)
-------------------------------------------------------------------------------
ssp_pf.c: In function 'PFParse':
ssp_pf.c:134: error: storage size of 'paddr' isn't known
ssp_pf.c:221: error: 'DIOCBEGINADDRS' undeclared (first use in this function)
ssp_pf.c:221: error: (Each undeclared identifier is reported only once
ssp_pf.c:221: error: for each function it appears in.)
ssp_pf.c:230: error: 'struct pfioc_rule' has no member named 'pool_ticket'
ssp_pf.c:293: error: 'struct pfioc_rule' has no member named 'pool_ticket'
ssp_pf.c:356: error: 'struct pfioc_rule' has no member named 'pool_ticket'
ssp_pf.c:420: error: 'struct pfioc_rule' has no member named 'pool_ticket'
ssp_pf.c:463: error: 'struct pfioc_rule' has no member named 'pool_ticket'
-------------------------------------------------------------------------------
Building SnortSam (debug)
-------------------------------------------------------------------------------
ssp_pf.c: In function 'PFParse':
ssp_pf.c:134: error: storage size of 'paddr' isn't known
ssp_pf.c:221: error: 'DIOCBEGINADDRS' undeclared (first use in this function)
ssp_pf.c:221: error: (Each undeclared identifier is reported only once
ssp_pf.c:221: error: for each function it appears in.)
ssp_pf.c:230: error: 'struct pfioc_rule' has no member named 'pool_ticket'
ssp_pf.c:293: error: 'struct pfioc_rule' has no member named 'pool_ticket'
ssp_pf.c:356: error: 'struct pfioc_rule' has no member named 'pool_ticket'
ssp_pf.c:420: error: 'struct pfioc_rule' has no member named 'pool_ticket'
ssp_pf.c:463: error: 'struct pfioc_rule' has no member named 'pool_ticket'
Done.

Anyone know what is going wrong here?

Best,
ML




More information about the Snort-users mailing list