From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sat, 16 Jul 2016 20:24:34 +0200 Subject: [Buildroot] [PATCH] package/pppd: disable for musl toolchains In-Reply-To: <1468685298-29083-1-git-send-email-romain.naour@gmail.com> References: <1468685298-29083-1-git-send-email-romain.naour@gmail.com> Message-ID: <20160716202434.0a3a6440@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Sat, 16 Jul 2016 18:08:18 +0200, Romain Naour wrote: > For the same reason as for ipsec-tools [1], disable pppd for musl > toolchains. > It also include which is not provided by musl [2]. > > This fixes a compilation error with musl libc because of undeclared > __P and missing sys/cdefs.h include. > > Propagate the dependency to network-manager and rp-pppoe > packages. > > [1] 33499484e457018203023cdfdd5286478f2ae381 > [2] http://wiki.musl-libc.org/wiki/FAQ#Q:_I.27m_trying_to_compile_something_against_musl_and_I_get_error_messages_about_sys.2Fcdefs.h > > Signed-off-by: Romain Naour > --- > package/network-manager/Config.in | 1 + > package/pppd/Config.in | 5 +++-- > package/rp-pppoe/Config.in | 5 +++-- > 3 files changed, 7 insertions(+), 4 deletions(-) I've added a Config.in comment in the network-manager package, and applied. Thanks! It's a bit sad that we have to disable packages just because of silly __P macros, but there are indeed tons of them in pppd :-/ Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com