Hi All,<div><br></div><div>I'm having a neat issue while attempting to build the latest Suricata development release with regards to the --enable-dag switch. Here is my configure line:</div><div><br></div><div><div>uname -m = x86_64</div>
<div>uname -r = 3.3.1-3.fc16.x86_64</div><div>uname -s = Linux</div><div>uname -v = #1 SMP Wed Apr 4 18:08:51 UTC 2012</div></div><div><br></div><div><br></div><div>./configure --prefix=`pwd` --enable-dag</div><div><br></div>
<div><b># Confirmation that my dag libraries are present.</b></div><div><br></div><div><div>checking dagapi.h usability... yes</div><div>checking dagapi.h presence... yes</div><div>checking for dagapi.h... yes</div><div>checking for dag_open in -ldag... yes</div>
</div><div><br></div><div><b><br></b></div><div><div><b>Once this has completed, I get the summary: </b></div></div><div><br></div><div><div>Suricata Configuration:</div><div> AF_PACKET support: yes</div>
<div> PF_RING support: no</div><div> NFQueue support: no</div><div> IPFW support: no</div><div> DAG enabled: yes</div>
<div> Napatech enabled: no</div></div><div><br></div><div><b>So I'm free to run make, which errors out with these messages.</b></div><div><br></div><div><div>source-erf-dag.o: In function `<b>ReceiveErfDagThreadInit</b>':</div>
<div>/media/disk2/oisf/src/source-erf-dag.c:181: undefined reference to `dag_parse_name'</div><div>/media/disk2/oisf/src/source-erf-dag.c:194: undefined reference to `dag_open'</div><div>/media/disk2/oisf/src/source-erf-dag.c:205: undefined reference to `dag_rx_get_stream_count'</div>
<div>/media/disk2/oisf/src/source-erf-dag.c:232: undefined reference to `dag_set_mode'</div><div>/media/disk2/oisf/src/source-erf-dag.c:241: undefined reference to `dag_attach_stream'</div><div>/media/disk2/oisf/src/source-erf-dag.c:250: undefined reference to `dag_start_stream'</div>
<div>/media/disk2/oisf/src/source-erf-dag.c:273: undefined reference to `dag_set_stream_poll'</div><div>source-erf-dag.o: In function `<b>ReceiveErfDagCloseStream</b>':</div><div>/media/disk2/oisf/src/source-erf-dag.c:553: undefined reference to `dag_stop_stream'</div>
<div>/media/disk2/oisf/src/source-erf-dag.c:554: undefined reference to `dag_detach_stream'</div><div>source-erf-dag.o: In function `<b>ReceiveErfDagLoop</b>':</div><div>/media/disk2/oisf/src/source-erf-dag.c:320: undefined reference to `dag_advance_stream'</div>
<div>source-erf-dag.o: In function `<b>ReceiveErfDagCloseStream</b>':</div><div>/media/disk2/oisf/src/source-erf-dag.c:555: undefined reference to `dag_close'</div></div><div><br></div><div>This is strange to me because the dagapi.h is included in source-erf-dag.c and the references are defined in dagapi.h. Color me confused :o(</div>
<div><br></div><div><br></div><div>Short story long, what rookie mistake am I making? Thanks in advance! I hope to add more Endace DAG related topics for later discussion down the road. </div><div><br></div><div><br></div>
<div>marcos </div>