All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Wunderlich <frank-w@public-files.de>
To: Stephen Hemminger <stephen@networkplumber.org>, netdev@vger.kernel.org
Subject: Aw: Re: Crosscompiling iproute2
Date: Tue, 25 May 2021 15:30:14 +0200	[thread overview]
Message-ID: <trinity-0fb4d69c-cf47-46fb-8a4d-522aee2627dd-1621949414214@3c-app-gmx-bs13> (raw)
In-Reply-To: <D24044ED-FAC6-4587-B157-A2082A502476@public-files.de>

> 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).

based on Makefile i tried this install line after building

make DESTDIR=$PRFX PREFIX=/usr/local SBINDIR=/usr/local/sbin ARPDDIR=/var/lib/arpd CONFDIR=/etc/iproute2 install

it installs to the local folder instead of system-directories, but error on target is still the same :(

same line with binaries from debian working, so i'm sure the command is right (and have depencies in linux kernel available), except there was any change in code causing this

any idea?

  parent reply	other threads:[~2021-05-25 13:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-16 14:51 Crosscompiling iproute2 Frank Wunderlich
2021-05-16 21:17 ` Stephen Hemminger
2021-05-17  7:44   ` Aw: " Frank Wunderlich
2021-05-17 19:36     ` Stephen Hemminger
2021-05-18 14:19       ` Aw: " Frank Wunderlich
2021-05-24 19:06       ` Frank Wunderlich
2021-05-24 21:36         ` Stephen Hemminger
2021-05-25 15:56           ` Frank Wunderlich
2021-05-25 16:08             ` Stephen Hemminger
2021-05-25 18:18               ` Aw: " Frank Wunderlich
2021-05-25 21:37                 ` Stephen Hemminger
2021-05-26  7:28                   ` Aw: " Frank Wunderlich
2021-05-25 13:30         ` Frank Wunderlich [this message]
2021-05-25 14:35 Frank Wunderlich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-0fb4d69c-cf47-46fb-8a4d-522aee2627dd-1621949414214@3c-app-gmx-bs13 \
    --to=frank-w@public-files.de \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.