Hello! It's worked: userland/lib ./configure --disable-numa --> no error/warning userland/lib rm libs userland/lib ./configure --disable-numa --> no error/warning userland/lib make --> no error/warning
userland/libpcap ./configure --> no error/warning userland/libpcap make (whole output: pastebin.com/zCKBnm2R) --> make: MIPS: Command not found --> make: *** [libpcap.a] Error 127 The mips is the architecture what I added to "AR = 'MIPS' " row - I guess the AR is stand for architecture (whole makefile: http://pastebin.com/i3FTM32J) (I tried it with lowercase too) What's wrong with it? I used to add architecture in this form before and the compiler "liked" it. :\ 2015-03-26 12:55 GMT+01:00 Alfredo Cardigliano <[email protected]>: > After deleting libs you have to run configure again. > > Alfredo > > On 26 Mar 2015, at 12:49, András Kónya <[email protected]> wrote: > > Hello! > > I downloaded it (svn co https://svn.ntop.org/svn/ntop/trunk/PF_RING/ > PF_RING), and started from the begin: > userland/lib ./configure --disable-numa > --> done without warning > > userland/lib make > --> ld: pfring_dna_bouncer.o: Relocations in generic ELF (EM: 62) > --> pfring_dna_bouncer.o: could not read symbols: File in wrong format > --> collect2: error: ld returned 1 exit status > --> make: *** [libpfring.so] Error 1 > > I deleted the libs here like in PF_RING-6.0.1 as you advice: > userland/lib make > --> ar x libs/libpfring_zero_x86_64.a > --> ar: libs/libpfring_zero_x86_64.a: No such file or directory > > I restore the libs and deleted only "libpfring_dna_*" > userland/lib make > --> ar x libs/libpfring_zero_x86_64.a > --> ar x libs/libpfring_dna_x86_64.a > --> ar: libs/libpfring_dna_x86_64.a: No such file or directory > > So as I see this version need the contains of libs folder, but with it I > get the same error with 6.0.1 before I deleted the libs folder as you > advice. :\ > > Thanks, > András Kónya > > 2015-03-26 12:26 GMT+01:00 Pavel Odintsov <[email protected]>: > >> Hello! >> >> You definitely should try PF_RING from SVN :) Looks like it added >> only in SVN version (and will be in future 6.0.3 release). >> >> On Thu, Mar 26, 2015 at 2:23 PM, 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 ) 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 >> > >> >> >> >> ------------------------------ >> >> >> >> Message: 5 >> >> Date: Thu, 26 Mar 2015 12:50:14 +0300 >> >> From: Pavel Odintsov <[email protected]> >> >> To: "[email protected]" <[email protected]> >> >> Subject: Re: [Ntop-misc] PF_RING userland to OpenWRT >> >> Message-ID: >> >> >> >> <calgsdbftfb00jp-sf_akvoobgpnev1gucfcqnhcto3n55+k...@mail.gmail.com> >> >> 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]> >> >> 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/ 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] >> >> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc >> >> >> >> >> >> >> >> -- >> >> Sincerely yours, Pavel Odintsov >> >> >> >> >> >> ------------------------------ >> >> >> >> _______________________________________________ >> >> Ntop-misc mailing list >> >> [email protected] >> >> 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 >> >> >> >> -- >> Sincerely yours, Pavel Odintsov >> _______________________________________________ >> 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 > > > > _______________________________________________ > 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
