Snort mailing list archives
Re: Snort3 on FreeBSD - status?
From: Russ <rucombs () cisco com>
Date: Sat, 17 Sep 2016 06:17:19 -0400
Try the attached patch until we can get out a proper fix. Save the file and then do the following command from the top of the source tree:
patch -p1 < rpcent.diff This should get the build working but without RPC. On 9/17/16 12:00 AM, Dalten 22 wrote:
Same errors with gmake:service_plugins/service_rpc.cc:246:23: error: use of undeclared identifier 'getrpcent'; did you mean 'getnetent'?while ((rpc = getrpcent())) ^~~~~~~~~ getnetent /usr/include/netdb.h:226:16: note: 'getnetent' declared here struct netent *getnetent(void); ^service_plugins/service_rpc.cc:246:21: error: assigning to 'struct rpcent *' from incompatible type 'struct netent *'while ((rpc = getrpcent())) ^ ~~~~~~~~~~~service_plugins/service_rpc.cc:248:20: error: member access into incomplete type 'struct rpcent'if (rpc->r_name) ^service_plugins/service_rpc.cc:239:12: note: forward declaration of 'rpcent'struct rpcent* rpc; ^service_plugins/service_rpc.cc:251:36: error: member access into incomplete type 'struct rpcent'prog->program = rpc->r_number; ^service_plugins/service_rpc.cc:239:12: note: forward declaration of 'rpcent'struct rpcent* rpc; ^service_plugins/service_rpc.cc:254:46: error: member access into incomplete type 'struct rpcent'prog->name = snort_strdup(rpc->r_name); ^service_plugins/service_rpc.cc:239:12: note: forward declaration of 'rpcent'struct rpcent* rpc; ^service_plugins/service_rpc.cc:257:9: error: use of undeclared identifier 'endrpcent'; did you mean 'endnetent'?------------------------------------------------------------------------ *From:* Shirkdog <shirkdog () gmail com> *Sent:* Friday, September 16, 2016 9:10 PM *To:* Dalten 22 *Cc:* snort-users mailinglist *Subject:* Re: [Snort-users] Snort3 on FreeBSD - status? With FreeBSD, use gmake when compiling Snort and see if it works.On Sep 16, 2016 21:38, "Dalten 22" <Dalten22 () hotmail com <mailto:Dalten22 () hotmail com>> wrote:Folks, Has anyone successfully built Snort3 build 200+ on FreeBSD 10.x ? I have all the listed dependencies installed and I get all the way through a ./configure but I make always fails about half way due to some missing functions. Tried both automake and cmake paths. Thanks Aaron ------------------------------------------------------------------------------ _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net <mailto:Snort-users () lists sourceforge net> Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users <https://lists.sourceforge.net/lists/listinfo/snort-users> Snort-users list archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users <http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users> Please visit http://blog.snort.org to stay current on all the latest Snort news! ------------------------------------------------------------------------------ _______________________________________________ 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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users Please visit http://blog.snort.org to stay current on all the latest Snort news!
Attachment:
rpcent.diff
Description:
------------------------------------------------------------------------------
_______________________________________________ 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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users Please visit http://blog.snort.org to stay current on all the latest Snort news!
Current thread:
- Snort3 on FreeBSD - status? Dalten 22 (Sep 16)
- Re: Snort3 on FreeBSD - status? Shirkdog (Sep 16)
- Re: Snort3 on FreeBSD - status? Dalten 22 (Sep 16)
- Re: Snort3 on FreeBSD - status? Russ (Sep 17)
- Re: Snort3 on FreeBSD - status? Dalten 22 (Sep 17)
- Re: Snort3 on FreeBSD - status? Russ (Sep 18)
- Re: Snort3 on FreeBSD - status? Dalten 22 (Sep 19)
- Re: Snort3 on FreeBSD - status? Michael Altizer (Sep 21)
- Re: Snort3 on FreeBSD - status? Dalten 22 (Sep 16)
- Re: Snort3 on FreeBSD - status? Shirkdog (Sep 16)