Hello everyone,

I have a question related to compiling PF_RING. I want to cross compile it for 
ARM, and
I encountered some issues. I was able to cross-compile the kernel module, 
however I'm having some bigger
trouble while doing the same for "userland" codes.

The problem arises when trying to cross-compile the folder userland/lib. 
Regardless of what combination
of cross-compilation options I use, at some point I get some unmet dependencies 
or unrecognized files.

For example, when compiling with:
> make CC=arm-linux-gnueabi-gcc CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm
I get:
> pfring_dna_bouncer.o: file not recognized: File format not recognized

I found out that the folder userland/lib/libs contains some dependencies that 
probably work only for x86.
Thus, is it actually possible to cross-compile your software for ARM? Or the 
other hand, the Makefile contains
${CROSS_COMPILE} variables, so it would suggest there is a way for achieving 
this.

Thank you for any help/advice!
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to