[Snort-users] Error compiling

Russ Combs rcombs at ...1935...
Fri Feb 26 10:35:50 EST 2010


That one is on me, not you.  Somehow that line went AWOL.

Russ

On Fri, Feb 26, 2010 at 10:19 AM, <redwookie at ...11827...> wrote:

> That worked, thanks.
> So, uuuhhh, can you explain what happened? Did I not do something initially
> that would've added that include?
> -Erik
>
>
> On Feb 26, 2010 10:08am, Russ Combs <rcombs at ...1935...> wrote:
> > Try adding this line:
> >
> > #include
> >
> > to the list of includes in inline.c and let me know how it goes.
> >
> > I'll get a bug on it.
> >
> > Thanks
> > Russ
> >
> > On Fri, Feb 26, 2010 at 9:54 AM, Red Wookie redwookie at ...11827...> wrote:
> >
> > Following suggestion from Rmkml I attempted compiling 2.8.5.3, but
> >
> > that was also unsuccessful with the same errors.
> >
> > -Erik
> >
> >
> >
> > On Fri, Feb 26, 2010 at 08:52, Red Wookie redwookie at ...11827...> wrote:
> >
> > > I'm trying to compile Snort 2.8.5.1 onto RHEL 5 using the
> >
> > > "--enable-sourcefire --enable-inline --enable-targetbased
> >
> > > --enable-reload" options, and during make I get the following error:
> >
> > >
> >
> > > inline.c: In function ‘RejectLayer2’:
> >
> > > inline.c:591: error: dereferencing pointer to incomplete type
> >
> > > make[3]: *** [inline.o] Error 1
> >
> > > make[3]: Leaving directory `/usr/local/snort-2.8.5.1/src'
> >
> > > make[2]: *** [all-recursive] Error 1
> >
> > > make[2]: Leaving directory `/usr/local/snort-2.8.5.1/src'
> >
> > > make[1]: *** [all-recursive] Error 1
> >
> > > make[1]: Leaving directory `/usr/local/snort-2.8.5.1'
> >
> > > make: *** [all] Error 2
> >
> > >
> >
> > > I realize this is probably from me forgetting to install a dependency
> >
> > > for the inline mode, but I cannot think of what it may be.  I have
> >
> > > PCRE, Libnet-1.0.2a, and Phil Wood's libpcap all installed.
> >
> > >
> >
> > > Thanks in advance for any help on this.
> >
> > > -Erik Martin
> >
> > >
> >
> >
> >
> >
> >
> >
> >
> > --
> >
> >
> > http://www.linkedin.com/in/ekmartin
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> >
> > Download Intel® Parallel Studio Eval
>
> >
> > Try the new software tools for yourself. Speed compiling, find bugs
> >
> > proactively, and fine-tune applications for parallel performance.
> >
> > See why Intel Parallel Studio got high marks during beta.
> >
> > http://p.sf.net/sfu/intel-sw-dev
> >
> > _______________________________________________
> >
> > Snort-users mailing list
> >
> > Snort-users at 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
> >
> >
> >
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20100226/3c046f93/attachment.html>


More information about the Snort-users mailing list