Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NTop: Misc

PF_RING library builds with references to DNA components when DNA not present, breaking build of other programs against PF_RING

 

 

NTop misc RSS feed   Index | Next | Previous | View Threaded


branchnetconsulting at gmail

Jun 15, 2011, 1:15 PM

Post #1 of 3 (464 views)
Permalink
PF_RING library builds with references to DNA components when DNA not present, breaking build of other programs against PF_RING

PF_RING 4.6.6 (svn rev 4663) without DNA
Ubuntu 10.04 Server (Linux ons-nids 2.6.32-24-server #43-Ubuntu SMP Thu
Sep 16 16:05:42 UTC 2010 x86_64 GNU/Linux)

Compiling the PF_RING library generates no errors but it produces a
libpfring.so that references "dna_init" which breaks the "make" step for
building snort or daemonlogger against PF_RING, as seen in the snort or
daemonlogger config.log error line:
/opt/PF_RING/lib/libpfring.so: undefined reference to `dna_init'

This appears to be because pfring_mod_dna.o is being mistakenly
referenced in the Makefile produced by the PF_RING library ./configure
command:
OBJS = pfring.o pfring_mod.o pfring_mod_dna.o pfring_utils.o
${DNA_OBJS} ${VIRTUAL_OBJS} ${DAG_OBJS}

PF_RING library ./configure script reports I have no DNA
checking DNA support... no
plus I manually confirmed there is no libpfring_dna_x86_64.a anywhere on
my file systems.

There may be some error in how HAVE_DNA is being set or checked that
results in the build process acting like I have DNA when I don't.

If after running ./configure, I delete the "pfring_mod_dna.o" string
from the "OBJS =" line in the PF_RING library Makefile, I can then
make/make install the PF_RING library and successfully build snort and
daemonlogger against it.

Kevin Branch









_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


cardigliano at ntop

Jun 16, 2011, 12:51 AM

Post #2 of 3 (438 views)
Permalink
Re: PF_RING library builds with references to DNA components when DNA not present, breaking build of other programs against PF_RING [In reply to]

2011/6/15 Kevin Branch <branchnetconsulting [at] gmail>:
> PF_RING 4.6.6 (svn rev 4663) without DNA
> Ubuntu 10.04 Server (Linux ons-nids 2.6.32-24-server #43-Ubuntu SMP Thu Sep
> 16 16:05:42 UTC 2010 x86_64 GNU/Linux)
>
> Compiling the PF_RING library generates no errors but it produces a
> libpfring.so that references "dna_init" which breaks the "make" step for
> building snort or daemonlogger against PF_RING, as seen in the snort or
> daemonlogger config.log error line:
>    /opt/PF_RING/lib/libpfring.so: undefined reference to `dna_init'
>
> This appears to be because pfring_mod_dna.o is being mistakenly referenced
> in the Makefile produced by the PF_RING library ./configure command:
>    OBJS      = pfring.o pfring_mod.o pfring_mod_dna.o pfring_utils.o
> ${DNA_OBJS} ${VIRTUAL_OBJS} ${DAG_OBJS}
>
> PF_RING library ./configure script reports I have no DNA
>    checking DNA support... no
> plus I manually confirmed there is no libpfring_dna_x86_64.a anywhere on my
> file systems.
>
> There may be some error in how HAVE_DNA is being set or checked that results
> in the build process acting like I have DNA when I don't.
>
> If after running ./configure, I delete the "pfring_mod_dna.o" string from
> the "OBJS =" line in the PF_RING library Makefile, I can then make/make
> install the PF_RING library and successfully build snort and daemonlogger
> against it.
>
> Kevin Branch

Fixed. Could you please check it?
Thank you.

Regards
Alfredo
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


branchnetconsulting at gmail

Jun 16, 2011, 9:09 AM

Post #3 of 3 (440 views)
Permalink
Re: PF_RING library builds with references to DNA components when DNA not present, breaking build of other programs against PF_RING [In reply to]

Alfredo,

Yes, that did indeed fix the problem.

Thanks!
Kevin


On 6/16/2011 3:51 AM, Alfredo Cardigliano wrote:
> 2011/6/15 Kevin Branch<branchnetconsulting [at] gmail>:
>> PF_RING 4.6.6 (svn rev 4663) without DNA
>> Ubuntu 10.04 Server (Linux ons-nids 2.6.32-24-server #43-Ubuntu SMP Thu Sep
>> 16 16:05:42 UTC 2010 x86_64 GNU/Linux)
>>
>> Compiling the PF_RING library generates no errors but it produces a
>> libpfring.so that references "dna_init" which breaks the "make" step for
>> building snort or daemonlogger against PF_RING, as seen in the snort or
>> daemonlogger config.log error line:
>> /opt/PF_RING/lib/libpfring.so: undefined reference to `dna_init'
>>
>> This appears to be because pfring_mod_dna.o is being mistakenly referenced
>> in the Makefile produced by the PF_RING library ./configure command:
>> OBJS = pfring.o pfring_mod.o pfring_mod_dna.o pfring_utils.o
>> ${DNA_OBJS} ${VIRTUAL_OBJS} ${DAG_OBJS}
>>
>> PF_RING library ./configure script reports I have no DNA
>> checking DNA support... no
>> plus I manually confirmed there is no libpfring_dna_x86_64.a anywhere on my
>> file systems.
>>
>> There may be some error in how HAVE_DNA is being set or checked that results
>> in the build process acting like I have DNA when I don't.
>>
>> If after running ./configure, I delete the "pfring_mod_dna.o" string from
>> the "OBJS =" line in the PF_RING library Makefile, I can then make/make
>> install the PF_RING library and successfully build snort and daemonlogger
>> against it.
>>
>> Kevin Branch
> Fixed. Could you please check it?
> Thank you.
>
> Regards
> Alfredo
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

NTop misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.