Hi András you are adding —disable-numa in the wrong place, you should go to userland/lib
Alfredo > On 26 Mar 2015, at 12:23, András Kónya <[email protected]> wrote: > > Hello! > > I get a warning - there isn't an option like this: > configure: WARNING: unrecognized options: --disable-numa > > I did it in PF_RING-6.0.1 and 6.0.2 too, and the same error. > > I read the --help of ./configure ( http://pastebin.com/ChJU0JE3 > <http://pastebin.com/ChJU0JE3> ) and try to figure out the rules of > disable-feature option (and also the without-package option). As I see, there > is pre-defined features and packages what you can disable, and these commands > isn't contain "numa" - so as I see you can't disable numa, but fix me. > > Thank you, > András Kónya > > Ps.: sorry for the new thread, I just realized that I'm in digest mode, so I > didn't get the letters one-by-one and I had to make a new thread - no I turn > digest mode off. > > > ------------------------------ > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://listgateway.unipi.it/mailman/private/ntop-misc/attachments/20150326/014d0569/attachment-0001.htm > > <http://listgateway.unipi.it/mailman/private/ntop-misc/attachments/20150326/014d0569/attachment-0001.htm>> > > ------------------------------ > > Message: 5 > Date: Thu, 26 Mar 2015 12:50:14 +0300 > From: Pavel Odintsov <[email protected] > <mailto:[email protected]>> > To: "[email protected] <mailto:[email protected]>" > <[email protected] <mailto:[email protected]>> > Subject: Re: [Ntop-misc] PF_RING userland to OpenWRT > Message-ID: > <calgsdbftfb00jp-sf_akvoobgpnev1gucfcqnhcto3n55+k...@mail.gmail.com > <mailto:calgsdbftfb00jp-sf_akvoobgpnev1gucfcqnhcto3n55%[email protected]>> > Content-Type: text/plain; charset=UTF-8 > > Hello! > > You could try ./configure --disable-numa when compiling pf_ring > library. NUMA support is not mandatory. > > On Thu, Mar 26, 2015 at 12:46 PM, Andr?s K?nya <[email protected] > <mailto:[email protected]>> wrote: > > Hello! > > > > The solution of yours is solved the problem, the lib folder is cross > > compiled. Thank a lot. :) > > > > But now I'm stuck again with libpcap library. I get this error message: > > OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/mips-openwrt-linux-uclibc/bin/ld: > > cannot find -lnuma > > collect2: error: ld returned 1 exit status > > > > First I thought the problem is with libnuma - there isn't libnuma for > > OpenWRT, and this is obviously not depends on PF_RING, so I go for further > > information to openwrt forums. From there, I get this answer: > >> > >> libnuma is not available in OpenWrt you have to create a package in > >> buildroot or compile it with the SDK > > > > > > And they give me some links where is tutorials for package creating or > > compiling a "module" to OpenWRT. But before I start this process (maybe I > > didn't mention that I'm completely new in compiling, so that process will be > > long for me :) ) I would like get the approve of yours: this is the only way > > I can make libnuma package for OpenWRT cross compiler and go through this > > problem? I read some article about PF_RING compiling to OpenWRT and nobody, > > nowhere mentioned it you have to make a package or compile a system lib. :\ > > > > OS: Ubuntu 12.04 64bit > > OpenWRT: Barrier Breaker (14.07, r42625) (but maybe I have to make a new > > one...) > > SDK: OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro-uClibc-0.9.33.2 (but > > maybe I have to make a new one...) > > > > Thanks a lot, > > Andr?s K?nya > > > > > > Hello! > > > >>>>checking PF_RING ZC support... yes > > > > Try to remove folder with name "libs" in userland/lib folder and run > > ./configure and make again. This action should disable ZC support in > > PF_RING library. > > > > In addition to this you could try PF_RING version from SVN: svn co > > https://svn.ntop.org/svn/ntop/trunk/PF_RING/ > > <https://svn.ntop.org/svn/ntop/trunk/PF_RING/> It's more reliable and > > stable. > > > > BTW, PF_RING folks, could you add ability to disable zc support for > > PF_RING as ./configure flag --disable-zc ? > > > > ________________________________ > > > > _______________________________________________ > > Ntop-misc mailing list > > [email protected] <mailto:[email protected]> > > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > <http://listgateway.unipi.it/mailman/listinfo/ntop-misc> > > > > -- > Sincerely yours, Pavel Odintsov > > > ------------------------------ > > _______________________________________________ > Ntop-misc mailing list > [email protected] <mailto:[email protected]> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > <http://listgateway.unipi.it/mailman/listinfo/ntop-misc> > > End of Ntop-misc Digest, Vol 129, Issue 26 > ****************************************** > > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
