This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Cross compile libpcap and tcpdump

I would like to cross compile libpcap and tcpdump. I have tried both cross compiling from source and BitBake/Arago and unfortunately I have not had much success with it either method.

This is the command I execute when I try to cross compile tcpdump.

./configure --target=arm-arago-linux-gnueabi --host=arm-arago-linux-gnueabi --build=i386-linux

When I execute this command, the end result is....

checking Linux kernel version... unknown

configure: error: cannot determine linux version when cross-compiling

ricyutp@ricyutp-laptop:~/Downloads/tcpdump-4.2.1$

What are commands needed to cross-compile libpcap and tcpdump? Any help would be greatly appreciated.