Thread (13 messages) flat view 13 messages, 2 authors, 2021-05-26

Re: Crosscompiling iproute2

From: Frank Wunderlich <hidden>
Date: 2021-05-24 19:06:10

Am 17. Mai 2021 21:36:28 MESZ schrieb Stephen Hemminger [off-list ref]:
On Mon, 17 May 2021 09:44:21 +0200
This works for me:

make CC="$CC" LD="$LD" HOSTCC=gcc
Hi,

Currently have an issue i guess from install. After compile i install into local directory,pack it and unpack on target system (/usr/local/sbin).tried

https://github.com/frank-w/iproute2/blob/main/crosscompile.sh#L17

Basic ip commands work,but if i try e.g. this

ip link add name lanbr0 type bridge vlan_filtering 1 vlan_default_pvid 500

I get this:

Garbage instead of arguments "vlan_filtering ...". Try "ip link help".

I guess ip tries to call bridge binary from wrong path (tried $PRFX/usr/local/bin).

regards Frank
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help