[Oisf-users] Make process fails after successful configure --enable-dag.

Marcos Rodriguez marcos.e.rodriguez at gmail.com
Mon Apr 16 21:18:52 UTC 2012


Hi All,

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:

uname -m = x86_64
uname -r = 3.3.1-3.fc16.x86_64
uname -s = Linux
uname -v = #1 SMP Wed Apr 4 18:08:51 UTC 2012


./configure --prefix=`pwd` --enable-dag

*# Confirmation that my dag libraries are present.*

checking dagapi.h usability... yes
checking dagapi.h presence... yes
checking for dagapi.h... yes
checking for dag_open in -ldag... yes

*
*
*Once this has completed, I get the summary: *

Suricata Configuration:
  AF_PACKET support:                       yes
  PF_RING support:                            no
  NFQueue support:                            no
  IPFW support:                                 no
  DAG enabled:                             yes
  Napatech enabled:                        no

*So I'm free to run make, which errors out with these messages.*

source-erf-dag.o: In function `*ReceiveErfDagThreadInit*':
/media/disk2/oisf/src/source-erf-dag.c:181: undefined reference to
`dag_parse_name'
/media/disk2/oisf/src/source-erf-dag.c:194: undefined reference to
`dag_open'
/media/disk2/oisf/src/source-erf-dag.c:205: undefined reference to
`dag_rx_get_stream_count'
/media/disk2/oisf/src/source-erf-dag.c:232: undefined reference to
`dag_set_mode'
/media/disk2/oisf/src/source-erf-dag.c:241: undefined reference to
`dag_attach_stream'
/media/disk2/oisf/src/source-erf-dag.c:250: undefined reference to
`dag_start_stream'
/media/disk2/oisf/src/source-erf-dag.c:273: undefined reference to
`dag_set_stream_poll'
source-erf-dag.o: In function `*ReceiveErfDagCloseStream*':
/media/disk2/oisf/src/source-erf-dag.c:553: undefined reference to
`dag_stop_stream'
/media/disk2/oisf/src/source-erf-dag.c:554: undefined reference to
`dag_detach_stream'
source-erf-dag.o: In function `*ReceiveErfDagLoop*':
/media/disk2/oisf/src/source-erf-dag.c:320: undefined reference to
`dag_advance_stream'
source-erf-dag.o: In function `*ReceiveErfDagCloseStream*':
/media/disk2/oisf/src/source-erf-dag.c:555: undefined reference to
`dag_close'

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(


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.


marcos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-users/attachments/20120416/ab8ba709/attachment-0002.html>


More information about the Oisf-users mailing list