Re: [Snort-users] Problems compiling with --enable-inline on CentOS

This is a discussion on Re: [Snort-users] Problems compiling with --enable-inline on CentOS within the Snort forums, part of the System Security and Security Related category; --===============0613524657== Content-Type: multipart/alternative; boundary="----=_Part_1834_21092689.1203618607097" ------=_Part_1834_21092689.1203618607097 Content-Type: text/plain; charset=ISO-8859-1 ...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008
David Thibault
 
Posts: n/a
Default Re: [Snort-users] Problems compiling with --enable-inline on CentOS

--===============0613524657==
Content-Type: multipart/alternative;
boundary="----=_Part_1834_21092689.1203618607097"

------=_Part_1834_21092689.1203618607097
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Nope, same (or similar) error:gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src
-I../src/sfutil -I/usr/include/pcap -I../src/output-plugins
-I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors
-I../src/preprocessors/flow -I../src/preprocessors/portscan
-I../src/preprocessors/flow/int-snort
-I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5
-I../src/target-based -I/usr/local/snort/include -I/usr/local/snort/include
-I/usr/local/snort/include -I/usr/local/snort/include
-I/usr/local/snort/include -fno-strict-aliasing -g -O2 -Wall
-DDYNAMIC_PLUGIN -DGIDS -DLIBNET_LIL_ENDIAN -fno-strict-aliasing -c inline.c
inline.c: In function 'InitInlinePostConfig':
inline.c:183: warning: pointer targets in passing argument 11 of
'libnet_build_ip' differ in signedness
inline.c:186: warning: pointer targets in passing argument 10 of
'libnet_build_tcp' differ in signedness
inline.c:190: warning: pointer targets in passing argument 11 of
'libnet_build_ip' differ in signedness
inline.c:192: warning: pointer targets in passing argument 13 of
'libnet_build_icmp_unreach' differ in signedness
inline.c:201: warning: pointer targets in passing argument 11 of
'libnet_build_ip' differ in signedness
inline.c:204: warning: pointer targets in passing argument 10 of
'libnet_build_tcp' differ in signedness
inline.c:208: warning: pointer targets in passing argument 11 of
'libnet_build_ip' differ in signedness
inline.c:210: warning: pointer targets in passing argument 13 of
'libnet_build_icmp_unreach' differ in signedness
inline.c: In function 'IpqLoop':
inline.c:282: warning: implicit declaration of function 'sig_check'
inline.c: In function 'RejectSocket':
inline.c:454: warning: pointer targets in passing argument 1 of
'libnet_do_checksum' differ in signedness
inline.c:461: warning: pointer targets in passing argument 2 of
'libnet_write_ip' differ in signedness
inline.c:494: warning: pointer targets in passing argument 1 of
'libnet_do_checksum' differ in signedness
inline.c:502: warning: pointer targets in passing argument 2 of
'libnet_write_ip' differ in signedness
inline.c: In function 'RejectLayer2':
inline.c:594: error: dereferencing pointer to incomplete type
inline.c:629: warning: pointer targets in passing argument 1 of
'libnet_do_checksum' differ in signedness
inline.c:635: warning: pointer targets in passing argument 1 of
'libnet_do_checksum' differ in signedness
inline.c:642: warning: pointer targets in passing argument 6 of
'libnet_build_ethernet' differ in signedness
inline.c:649: warning: pointer targets in passing argument 3 of
'libnet_write_link_layer' differ in signedness
inline.c:683: warning: pointer targets in passing argument 1 of
'libnet_do_checksum' differ in signedness
inline.c:689: warning: pointer targets in passing argument 1 of
'libnet_do_checksum' differ in signedness
inline.c:697: warning: pointer targets in passing argument 6 of
'libnet_build_ethernet' differ in signedness
inline.c:707: warning: pointer targets in passing argument 3 of
'libnet_write_link_layer' differ in signedness
make[3]: *** [inline.o] Error 1
make[3]: Leaving directory `/home/davidt/snort/snort-2.8.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/davidt/snort/snort-2.8.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/davidt/snort/snort-2.8.0.1'
make: *** [all] Error 2

This time I left off the other --enable-* statements and just went with the
following configure command (still pointing to all my libs and incs just in
case):
../configure --enable-inline --with-libpcap-includes=/usr/local/snort/include
--with-libpcap-libraries=/usr/local/snort/lib
--with-libpcre-includes=/usr/local/snort/include
--with-libpcre-libraries=/usr/local/snort/lib
--with-libnet-includes=/usr/local/snort/include
--with-libnet-libraries=/usr/local/snort/lib
--with-dnet-includes=/usr/local/snort/include
--with-dnet-libraries=/usr/local/snort/lib

Best,
Dave

On 2/21/08, David Thibault <dave@itstrategypartners.com> wrote:
>
> Thanks, Todd. I will try that and post the results.
>
> Best,
> Dave
>
> On 2/21/08, Todd Wease <twease@sourcefire.com> wrote:
> >
> > David,
> >
> > My only guess is that "struct ether_addr" is not getting defined on your
> > system. Try editing libnet-headers.h (most likely in
> > /usr/include/libnet). At or around line 391, remove the #if
> > (!__GLIBC__) / #endif lines and see if that solves the problem. If not,
> > please repost results.
> >
> > Thanks,
> > Todd
> >
> >
> > David Thibault wrote:
> > > Hello all,
> > >
> > > I have been banging my head against the keyboard for 2 days

> > now...=) I
> >
> > > am trying to install Snort 2.8.0.1 <http://2.8.0.1> on Centos 5.1. I

> >
> > > have tried using RPMs for the library and include dependencies, and
> > > tried with compiling everything from source. Every time I
> > > --enable-inline I get the following errors:
> > >
> > > make[3]: Entering directory `/home/davidt/snort/snort-2.8.0.1/src

> >
> > > <http://2.8.0.1/src>'

> >
> > > gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil
> > > -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins
> > > -I../src/dynamic-plugins -I../src/preprocessors
> > > -I../src/preprocessors/flow -I../src/preprocessors/portscan
> > > -I../src/preprocessors/flow/int-snort
> > > -I../src/preprocessors/HttpInspect/include
> > > -I../src/preprocessors/Stream5 -I../src/target-based
> > > -I/usr/local/snort/include -I/usr/local/snort/include
> > > -I/usr/local/snort/include -I/usr/local/snort/include
> > > -I/usr/include/mysql -DENABLE_MYSQL -I/usr/local/snort/include
> > > -fno-strict-aliasing -O0 -g -Wall -pthread -I/usr/local/include
> > > -DDYNAMIC_PLUGIN -DGIDS -DLIBNET_LIL_ENDIAN -fno-strict-aliasing -c

> > inline.c
> > > inline.c: In function 'InitInlinePostConfig':
> > > inline.c:183: warning: pointer targets in passing argument 11 of
> > > 'libnet_build_ip' differ in signedness
> > > inline.c:186: warning: pointer targets in passing argument 10 of
> > > 'libnet_build_tcp' differ in signedness
> > > inline.c:190: warning: pointer targets in passing argument 11 of
> > > 'libnet_build_ip' differ in signedness
> > > inline.c:192: warning: pointer targets in passing argument 13 of
> > > 'libnet_build_icmp_unreach' differ in signedness
> > > inline.c:201: warning: pointer targets in passing argument 11 of
> > > 'libnet_build_ip' differ in signedness
> > > inline.c:204: warning: pointer targets in passing argument 10 of
> > > 'libnet_build_tcp' differ in signedness
> > > inline.c:208: warning: pointer targets in passing argument 11 of
> > > 'libnet_build_ip' differ in signedness
> > > inline.c:210: warning: pointer targets in passing argument 13 of
> > > 'libnet_build_icmp_unreach' differ in signedness
> > > inline.c: In function 'IpqLoop':
> > > inline.c:282: warning: implicit declaration of function 'sig_check'
> > > inline.c: In function 'RejectSocket':
> > > inline.c:454: warning: pointer targets in passing argument 1 of
> > > 'libnet_do_checksum' differ in signedness
> > > inline.c:461: warning: pointer targets in passing argument 2 of
> > > 'libnet_write_ip' differ in signedness
> > > inline.c:494: warning: pointer targets in passing argument 1 of
> > > 'libnet_do_checksum' differ in signedness
> > > inline.c:502: warning: pointer targets in passing argument 2 of
> > > 'libnet_write_ip' differ in signedness
> > > inline.c: In function 'RejectLayer2':
> > > inline.c:594: error: dereferencing pointer to incomplete type
> > > inline.c:629: warning: pointer targets in passing argument 1 of
> > > 'libnet_do_checksum' differ in signedness
> > > inline.c:635: warning: pointer targets in passing argument 1 of
> > > 'libnet_do_checksum' differ in signedness
> > > inline.c:642: warning: pointer targets in passing argument 6 of
> > > 'libnet_build_ethernet' differ in signedness
> > > inline.c:649: warning: pointer targets in passing argument 3 of
> > > 'libnet_write_link_layer' differ in signedness
> > > inline.c:683: warning: pointer targets in passing argument 1 of
> > > 'libnet_do_checksum' differ in signedness
> > > inline.c:689: warning: pointer targets in passing argument 1 of
> > > 'libnet_do_checksum' differ in signedness
> > > inline.c:697: warning: pointer targets in passing argument 6 of
> > > 'libnet_build_ethernet' differ in signedness
> > > inline.c:707: warning: pointer targets in passing argument 3 of
> > > 'libnet_write_link_layer' differ in signedness
> > > make[3]: *** [inline.o] Error 1
> > > make[3]: Leaving directory `/home/davidt/snort/snort-2.8.0.1/src

> >
> > > <http://2.8.0.1/src>'

> >
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/home/davidt/snort/snort-2.8.0.1/src

> >
> > > <http://2.8.0.1/src>'

> >
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/davidt/snort/snort-2.8.0.1

> >
> > > <http://2.8.0.1>'

> >
> > >
> > > Note that I am on x86_64 architecture, if that makes a

> > difference. For
> > > this attempt, I used the following library versions to fulfill

> > dependencies:
> > > 1) libpcap-0.9.8 compiled from source.
> > > 2) pcre-7.6 compiled from source.
> > > 3) libnet-1.0.2a compiled from source (I have seen the problems people
> > > have had with the 1.1.2 version coming from RPMs).
> > > 4) libdnet-1.11 compiled from source.
> > > 5) mysql-5.0.22-2.2.el5_1.1 from RPM.
> > > 6) libprelude-0.9.16.2 compiled from source.
> > > 7) iptables-devel-1.3.5-1.2.1 from RPM
> > >
> > > Here's the configure directive I'm using:
> > > ./configure --prefix=/usr/local/snort --enable-64bit-gcc
> > > --enable-prelude --enable-inline
> > > --with-libpcap-includes=/usr/local/snort/include
> > > --with-libpcap-libraries=/usr/local/snort/lib
> > > --with-libpcre-includes=/usr/local/snort/include
> > > --with-libpcre-libraries=/usr/local/snort/lib
> > > --with-libnet-includes=/usr/local/snort/include
> > > --with-libnet-libraries=/usr/local/snort/lib
> > > --with-dnet-includes=/usr/local/snort/include
> > > --with-dnet-libraries=/usr/local/snort/lib --with-mysql=/usr/bin
> > > --with-mysql-includes=/usr/include --with-mysql-libraries=/usr/lib64
> > > --with-libprelude-prefix=/usr/local

> > --with-libipq-includes=/usr/include
> > > --with-libipq-libraries=/usr/lib64
> > >
> > > I am happy to provide more info if necessary.
> > >
> > > As an aside, I'm also having problems with flexresp2 compilation, but
> > > that's a separate issue. At this point I'd like to try inline first

> > and
> > > see how it works before falling back on flexresp2.
> > >
> > > TIA,
> > > Dave
> > >
> > >

> >
> > >

> > ------------------------------------------------------------------------
> > >
> > >

> > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by: Microsoft
> > > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > >
> > >
> > >

> > ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Snort-users mailing list
> > > Snort-users@lists.sourceforge.net
> > > Go to this URL to change user options or unsubscribe:
> > > https://lists.sourceforge.net/lists/...fo/snort-users
> > > Snort-users list archive:
> > > http://www.geocrawler.com/redir-sf.p...st=snort-users

> >
> >

>
>


------=_Part_1834_21092689.1203618607097
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Nope, same (or similar) error:<div><div>gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan &nbsp;-I../src/preprocessors/flow/int-snort &nbsp;-I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I../src/target-based &nbsp;-I/usr/local/snort/include -I/usr/local/snort/include -I/usr/local/snort/include -I/usr/local/snort/include -I/usr/local/snort/include -fno-strict-aliasing &nbsp;-g -O2 -Wall -DDYNAMIC_PLUGIN -DGIDS -DLIBNET_LIL_ENDIAN -fno-strict-aliasing -c inline.c</div>
<div>inline.c: In function 'InitInlinePostConfig':</div><div>inline.c:183: warning: pointer targets in passing argument 11 of 'libnet_build_ip' differ in signedness</div><div>inline.c:186: warning: pointer targets in passing argument 10 of 'libnet_build_tcp' differ in signedness</div>
<div>inline.c:190: warning: pointer targets in passing argument 11 of 'libnet_build_ip' differ in signedness</div><div>inline.c:192: warning: pointer targets in passing argument 13 of 'libnet_build_icmp_unreach' differ in signedness</div>
<div>inline.c:201: warning: pointer targets in passing argument 11 of 'libnet_build_ip' differ in signedness</div><div>inline.c:204: warning: pointer targets in passing argument 10 of 'libnet_build_tcp' differ in signedness</div>
<div>inline.c:208: warning: pointer targets in passing argument 11 of 'libnet_build_ip' differ in signedness</div><div>inline.c:210: warning: pointer targets in passing argument 13 of 'libnet_build_icmp_unreach' differ in signedness</div>
<div>inline.c: In function 'IpqLoop':</div><div>inline.c:282: warning: implicit declaration of function 'sig_check'</div><div>inline.c: In function 'RejectSocket':</div><div>inline.c:454: warning: pointer targets in passing argument 1 of 'libnet_do_checksum' differ in signedness</div>
<div>inline.c:461: warning: pointer targets in passing argument 2 of 'libnet_write_ip' differ in signedness</div><div>inline.c:494: warning: pointer targets in passing argument 1 of 'libnet_do_checksum' differ in signedness</div>
<div>inline.c:502: warning: pointer targets in passing argument 2 of 'libnet_write_ip' differ in signedness</div><div>inline.c: In function 'RejectLayer2':</div><div>inline.c:594: error: dereferencing pointer to incomplete type</div>
<div>inline.c:629: warning: pointer targets in passing argument 1 of 'libnet_do_checksum' differ in signedness</div><div>inline.c:635: warning: pointer targets in passing argument 1 of 'libnet_do_checksum' differ in signedness</div>
<div>inline.c:642: warning: pointer targets in passing argument 6 of 'libnet_build_ethernet' differ in signedness</div><div>inline.c:649: warning: pointer targets in passing argument 3 of 'libnet_write_link_layer' differ in signedness</div>
<div>inline.c:683: warning: pointer targets in passing argument 1 of 'libnet_do_checksum' differ in signedness</div><div>inline.c:689: warning: pointer targets in passing argument 1 of 'libnet_do_checksum' differ in signedness</div>
<div>inline.c:697: warning: pointer targets in passing argument 6 of 'libnet_build_ethernet' differ in signedness</div><div>inline.c:707: warning: pointer targets in passing argument 3 of 'libnet_write_link_layer' differ in signedness</div>
<div>make[3]: *** [inline.o] Error 1</div><div>make[3]: Leaving directory `/home/davidt/snort/snort-<a href="http://2.8.0.1/src">2.8.0.1/src</a>'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/home/davidt/snort/snort-<a href="http://2.8.0.1/src">2.8.0.1/src</a>'</div>
<div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/home/davidt/snort/snort-<a href="http://2.8.0.1">2.8.0.1</a>'</div><div>make: *** [all] Error 2</div><div><br class="webkit-block-placeholder">
</div><div>This time I left off the other --enable-* statements and just went with the following configure command (still pointing to all my libs and incs just in case):</div><div>./configure --enable-inline --with-libpcap-includes=/usr/local/snort/include --with-libpcap-libraries=/usr/local/snort/lib --with-libpcre-includes=/usr/local/snort/include --with-libpcre-libraries=/usr/local/snort/lib --with-libnet-includes=/usr/local/snort/include --with-libnet-libraries=/usr/local/snort/lib --with-dnet-includes=/usr/local/snort/include --with-dnet-libraries=/usr/local/snort/lib</div>
<div><br class="webkit-block-placeholder"></div><div>Best,</div><div>Dave</div><br><div><span class="gmail_quote">On 2/21/08, <b class="gmail_sendername">David Thibault</b> &lt;<a href="mailto:dave@itstrategypartners.com">dave@its trategypartners.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks, Todd. &nbsp;I will try that and post the results.<div><br>&nbsp;</div><div>Best,</div><div>Dave<div><span class="e" id="q_1183ceee8dedb60f_1"><br><br><div><span class="gmail_quote">On 2/21/08, <b class="gmail_sendername">Todd Wease</b> &lt;<a href="mailto:twease@sourcefire.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">twease@sour cefire.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">

David,<br> <br> My only guess is that &quot;struct ether_addr&quot; is not getting defined on your<br> system.&nbsp;&nbsp;Try editing libnet-headers.h (most likely in<br> /usr/include/libnet).&nbsp;&nbsp;At or around line 391, remove the #if<br>

(!__GLIBC__) / #endif lines and see if that solves the problem.&nbsp;&nbsp;If not,<br> please repost results.<br> <br> Thanks,<br> Todd<br> <br><br> David Thibault wrote:<br> &gt; Hello all,<br> &gt;<br> &gt; I have been banging my head against the keyboard for 2 days now...=)&nbsp;&nbsp;I<br>

<br>&gt; am trying to install Snort <a href="http://2.8.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.8.0.1</a> &lt;<a href="http://2.8.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://2.8.0.1</a>&gt; on Centos 5.1.&nbsp;&nbsp;I<br>
<br>&gt; have tried using RPMs for the library and include dependencies, and<br>
&gt; tried with compiling everything from source.&nbsp;&nbsp;Every time I<br> &gt; --enable-inline I get the following errors:<br> &gt;<br> &gt; make[3]: Entering directory `/home/davidt/snort/snort-<a href="http://2.8.0.1/src" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.8.0.1/src</a><br>

<br>&gt; &lt;<a href="http://2.8.0.1/src" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://2.8.0.1/src</a>&gt;'<br> <br>&gt; gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil<br>
&gt; -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins<br>
&gt; -I../src/dynamic-plugins -I../src/preprocessors<br> &gt; -I../src/preprocessors/flow -I../src/preprocessors/portscan<br> &gt;&nbsp;&nbsp;-I../src/preprocessors/flow/int-snort<br> &gt;&nbsp;&nbsp;-I../src/preprocessors/HttpInspect/include<br>

&gt; -I../src/preprocessors/Stream5 -I../src/target-based<br> &gt;&nbsp;&nbsp;-I/usr/local/snort/include -I/usr/local/snort/include<br> &gt; -I/usr/local/snort/include -I/usr/local/snort/include<br> &gt; -I/usr/include/mysql -DENABLE_MYSQL -I/usr/local/snort/include<br>

&gt; -fno-strict-aliasing&nbsp;&nbsp;-O0 -g -Wall -pthread -I/usr/local/include<br> &gt; -DDYNAMIC_PLUGIN -DGIDS -DLIBNET_LIL_ENDIAN -fno-strict-aliasing -c inline.c<br> &gt; inline.c: In function 'InitInlinePostConfig':<br>

&gt; inline.c:183: warning: pointer targets in passing argument 11 of<br> &gt; 'libnet_build_ip' differ in signedness<br> &gt; inline.c:186: warning: pointer targets in passing argument 10 of<br> &gt; 'libnet_build_tcp' differ in signedness<br>

&gt; inline.c:190: warning: pointer targets in passing argument 11 of<br> &gt; 'libnet_build_ip' differ in signedness<br> &gt; inline.c:192: warning: pointer targets in passing argument 13 of<br> &gt; 'libnet_build_icmp_unreach' differ in signedness<br>

&gt; inline.c:201: warning: pointer targets in passing argument 11 of<br> &gt; 'libnet_build_ip' differ in signedness<br> &gt; inline.c:204: warning: pointer targets in passing argument 10 of<br> &gt; 'libnet_build_tcp' differ in signedness<br>

&gt; inline.c:208: warning: pointer targets in passing argument 11 of<br> &gt; 'libnet_build_ip' differ in signedness<br> &gt; inline.c:210: warning: pointer targets in passing argument 13 of<br> &gt; 'libnet_build_icmp_unreach' differ in signedness<br>

&gt; inline.c: In function 'IpqLoop':<br> &gt; inline.c:282: warning: implicit declaration of function 'sig_check'<br> &gt; inline.c: In function 'RejectSocket':<br> &gt; inline.c:454: warning: pointer targets in passing argument 1 of<br>

&gt; 'libnet_do_checksum' differ in signedness<br> &gt; inline.c:461: warning: pointer targets in passing argument 2 of<br> &gt; 'libnet_write_ip' differ in signedness<br> &gt; inline.c:494: warning: pointer targets in passing argument 1 of<br>

&gt; 'libnet_do_checksum' differ in signedness<br> &gt; inline.c:502: warning: pointer targets in passing argument 2 of<br> &gt; 'libnet_write_ip' differ in signedness<br> &gt; inline.c: In function 'RejectLayer2':<br>

&gt; inline.c:594: error: dereferencing pointer to incomplete type<br> &gt; inline.c:629: warning: pointer targets in passing argument 1 of<br> &gt; 'libnet_do_checksum' differ in signedness<br> &gt; inline.c:635: warning: pointer targets in passing argument 1 of<br>

&gt; 'libnet_do_checksum' differ in signedness<br> &gt; inline.c:642: warning: pointer targets in passing argument 6 of<br> &gt; 'libnet_build_ethernet' differ in signedness<br> &gt; inline.c:649: warning: pointer targets in passing argument 3 of<br>

&gt; 'libnet_write_link_layer' differ in signedness<br> &gt; inline.c:683: warning: pointer targets in passing argument 1 of<br> &gt; 'libnet_do_checksum' differ in signedness<br> &gt; inline.c:689: warning: pointer targets in passing argument 1 of<br>

&gt; 'libnet_do_checksum' differ in signedness<br> &gt; inline.c:697: warning: pointer targets in passing argument 6 of<br> &gt; 'libnet_build_ethernet' differ in signedness<br> &gt; inline.c:707: warning: pointer targets in passing argument 3 of<br>

&gt; 'libnet_write_link_layer' differ in signedness<br> &gt; make[3]: *** [inline.o] Error 1<br> &gt; make[3]: Leaving directory `/home/davidt/snort/snort-<a href="http://2.8.0.1/src" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.8.0.1/src</a><br>
<br>&gt; &lt;<a href="http://2.8.0.1/src" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://2.8.0.1/src</a>&gt;'<br>
<br>&gt; make[2]: *** [all-recursive] Error 1<br> &gt; make[2]: Leaving directory `/home/davidt/snort/snort-<a href="http://2.8.0.1/src" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.8.0.1/src</a><br>
<br>&gt; &lt;<a href="http://2.8.0.1/src" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://2.8.0.1/src</a>&gt;'<br>
<br>&gt; make[1]: *** [all-recursive] Error 1<br> &gt; make[1]: Leaving directory `/home/davidt/snort/snort-<a href="http://2.8.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.8.0.1</a><br>
<br>&gt; &lt;<a href="http://2.8.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://2.8.0.1</a>&gt;'<br> <br>
&gt;<br> &gt; Note that I am on x86_64 architecture, if that makes a difference.&nbsp;&nbsp;For<br> &gt; this attempt, I used the following library versions to fulfill dependencies:<br> &gt; 1) libpcap-0.9.8 compiled from source.<br>

&gt; 2) pcre-7.6 compiled from source.<br> &gt; 3) libnet-1.0.2a compiled from source (I have seen the problems people<br> &gt; have had with the 1.1.2 version coming from RPMs).<br> &gt; 4) libdnet-1.11 compiled from source.<br>

&gt; 5) mysql-5.0.22-2.2.el5_1.1 from RPM.<br> &gt; 6) libprelude-0.9.16.2 compiled from source.<br> &gt; 7) iptables-devel-1.3.5-1.2.1 from RPM<br> &gt;<br> &gt; Here's the configure directive I'm using:<br> &gt; ./configure --prefix=/usr/local/snort --enable-64bit-gcc<br>

&gt; --enable-prelude --enable-inline<br> &gt; --with-libpcap-includes=/usr/local/snort/include<br> &gt; --with-libpcap-libraries=/usr/local/snort/lib<br> &gt; --with-libpcre-includes=/usr/local/snort/include<br> &gt; --with-libpcre-libraries=/usr/local/snort/lib<br>

&gt; --with-libnet-includes=/usr/local/snort/include<br> &gt; --with-libnet-libraries=/usr/local/snort/lib<br> &gt; --with-dnet-includes=/usr/local/snort/include<br> &gt; --with-dnet-libraries=/usr/local/snort/lib --with-mysql=/usr/bin<br>

&gt; --with-mysql-includes=/usr/include --with-mysql-libraries=/usr/lib64<br> &gt; --with-libprelude-prefix=/usr/local --with-libipq-includes=/usr/include<br> &gt; --with-libipq-libraries=/usr/lib64<br> &gt;<br> &gt; I am happy to provide more info if necessary.<br>

&gt;<br> &gt; As an aside, I'm also having problems with flexresp2 compilation, but<br> &gt; that's a separate issue. At this point I'd like to try inline first and<br> &gt; see how it works before falling back on flexresp2.<br>

&gt;<br> &gt; TIA,<br> &gt; Dave<br> &gt;<br> &gt;<br> <br>&gt; ------------------------------------------------------------------------<br> &gt;<br> &gt; -------------------------------------------------------------------------<br>

&gt; This SF.net email is sponsored by: Microsoft<br> &gt; Defy all challenges. Microsoft(R) Visual Studio 2008.<br> &gt; <a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>

&gt;<br> &gt;<br> &gt; ------------------------------------------------------------------------<br> &gt;<br> &gt; _______________________________________________<br > &gt; Snort-users mailing list<br> &gt; <a href="mailto:Snort-users@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Snort-users@lists.sourceforge.net</a><br>

&gt; Go to this URL to change user options or unsubscribe:<br> &gt; <a href="https://lists.sourceforge.net/lists/listinfo/snort-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.sourceforge.net/lists/listinfo/snort-users</a><br>
&gt; Snort-users list archive:<br>
&gt; <a href="http://www.geocrawler.com/redir-sf.php3?list=snort-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.geocrawler.com/redir-sf.php3?list=snort-users</a><br> <br> </blockquote>
</div><br>&nbsp;</span></div></div>
</blockquote></div><br>&nbsp;</div>

------=_Part_1834_21092689.1203618607097--


--===============0613524657==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============0613524657==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=snort-users
--===============0613524657==--

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:39 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0