Andras, ZC is available only for x86/x64 so on your platform please use the non-ZC portion of PF_RING
Luca On 03/31/2015 01:24 PM, András Kónya wrote: > Hello! > > I asked the help of yours in the last week about cross compiling > PF_RING-6.0.1 from Ubuntu 12.04 64bit to OpenWrt Barrier Breaker > (14.07, r42625) with > OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro-uClibc-0.9.33.2. > > There was two error what is solved by the help of yours (thanks!): > > 1.) when make PF_RING/USERLAND/LIB I got this error: > / > / > /pfring_dna_bouncer.o: could not read symbols: File in wrong format / > > *It is solved by deleted the PF_RING/USERLAND/LIB/LIBS folder.* > > 2.) when make PF_RING/USERLAND/LIBPCAP I got this error: > /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/ > *I solved it by cross compiled numactl and add the libnuma.a to cross > compiler.* > > The next step of my university project is cross compiling a program > what is depends on PF_RING/USERLAND/LIB and PF_RING/USERLAND/LIBPCAP > folders (I got this program from my teacher). When I make this > program, I get this error message: > /undifened reference to 'pfring_zc_...'/ > > The program using the PF_RING Zero Copy packet, but Zero Copy is > "deleted" from my PF_RING when I deleted the > "PF_RING/USERLAND/LIB/LIBS folder - fix me, but as I figure it out in > this LIBS folder there is packets (include ZC) precompiled for popular > architectures - but not for MIPS --> so this is why I can't compile > PF_RING/USERLAND/LIB with /LIBS subfolder (the OpenWRT SDK is > incompatible with these architectures). > > I tried to find the source files of ZC to cross compile it like I did > with libnuma, but I didn't find it. So now my question is: > - ZC is an open source code packet of PF_RING or not? > - if it is, where can I find ZC's source code (to cross compile it)? > - if not, and it's will be a little bit unashemad and sorry for, there > is any chance I get a cross compiled .a lib of it to mips? I would be > thankful. :) > > Your regards, > András Kónya > > > > > _______________________________________________ > 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
