cross compiling ARPing tool for ARM platform

80 views
Skip to first unread message

jeb...@tonboimaging.com

unread,
Jul 21, 2016, 8:23:25 AM7/21/16
to Synscan
Hi,
I have tried to portARPing to ARM platform.

I have installed libpcab and libnet packages to ARM platform. I have used the following configure command for ARPing tool,

 ./configure --host=arm-none-linux-gnueabi --prefix=/opt/dvr_rdk/ti816x/snmp/final

It returns with the following error:

configure: error: in `/home/jebaraj/dm8168/snmp/arping-2.16':
configure: error: cannot run test program while cross compiling
See `config.log' for more details


I have attached the config.log for your reference. Any suggestion to fix this error?

Thanks,
Jebaraj
config.log

Thomas Habets

unread,
Oct 25, 2016, 6:49:48 AM10/25/16
to synscan
On 21 July 2016 at 13:23, <jeb...@tonboimaging.com> wrote:
> configure: error: in `/home/jebaraj/dm8168/snmp/arping-2.16':
> configure: error: cannot run test program while cross compiling
> See `config.log' for more details

Sorry for the very late reply. I'm not too familiar with cross
compiling. Arping itself works on ARM, since it works on Raspberry Pi.

The config.log says:
/home/jebaraj/dm8168/snmp/arping-2.16/conftest.c:88: undefined
reference to `cap_init'

Could you try installing libcap (in addition to libpcap you already
installed), and try again?

--
typedef struct me_s {
char name[] = { "Thomas Habets" };
char email[] = { "tho...@habets.se" };
char kernel[] = { "Linux" };
char *pgpKey[] = { "http://www.habets.pp.se/pubkey.txt" };
char pgp[] = { "9907 8698 8A24 F52F 1C2E 87F6 39A4 9EEA 460A 0169" };
char coolcmd[] = { "echo '. ./_&. ./_'>_;. ./_" };
} me_t;
Reply all
Reply to author
Forward
0 new messages