Snort mailing list archives

Re: Error compiling


From: redwookie () gmail com
Date: Fri, 26 Feb 2010 15:19:21 +0000

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 () sourcefire com> 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 () gmail com> 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 () gmail com> 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 () 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






------------------------------------------------------------------------------
Download Intel&#174; 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 () 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: