All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/dt-utils: new package
Date: Wed, 21 Jun 2017 22:24:11 +0200	[thread overview]
Message-ID: <20170621222411.747a5020@windsurf> (raw)
In-Reply-To: <20170621222326.3c64e6bf@windsurf>

Hello,

On Wed, 21 Jun 2017 22:23:26 +0200, Thomas Petazzoni wrote:
> Hello,
> 
> On Tue, 20 Jun 2017 17:24:43 +0200, Marcin Niestroj wrote:
> > Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
> > ---
> >  DEVELOPERS                   |  1 +
> >  package/Config.in            |  1 +
> >  package/dt-utils/Config.in   |  8 ++++++++
> >  package/dt-utils/dt-utils.mk | 15 +++++++++++++++
> >  4 files changed, 25 insertions(+)
> >  create mode 100644 package/dt-utils/Config.in
> >  create mode 100644 package/dt-utils/dt-utils.mk  
> 
> This package doesn't build with the following defconfig:
> 
> BR2_arm=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
> BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
> BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2017.05-444-g6c704ba.tar.bz2"
> BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y
> BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y
> BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
> # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
> BR2_TOOLCHAIN_EXTERNAL_CXX=y
> BR2_INIT_NONE=y
> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> BR2_SYSTEM_BIN_SH_NONE=y
> # BR2_PACKAGE_BUSYBOX is not set
> BR2_PACKAGE_DT_UTILS=y
> # BR2_TARGET_ROOTFS_TAR is not set

Sorry, forgot to give the error message:

  CC       src/fdtdump-fdtdump.o
  GEN      src/libdt-utils.pc
In file included from ./src/dt/list.h:4:0,
                 from ./src/dt/dt.h:5,
                 from src/dtblint-imx-pinmux.c:13:
./src/dt/common.h:181:22: error: static declaration of ?strlcpy? follows non-static declaration
 static inline size_t strlcpy(char *dest, const char *src, size_t size)
                      ^
In file included from ./src/dt/common.h:11:0,
                 from ./src/dt/list.h:4,
                 from ./src/dt/dt.h:5,
                 from src/dtblint-imx-pinmux.c:13:
/home/thomas/projets/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/string.h:424:15: note: previous declaration of ?strlcpy? was here
 extern size_t strlcpy(char *__restrict dst, const char *__restrict src,
               ^

(several times)

Could you fix those issues, and send an updated version?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2017-06-21 20:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-20 15:24 [Buildroot] [PATCH] package/dt-utils: new package Marcin Niestroj
2017-06-21 20:23 ` Thomas Petazzoni
2017-06-21 20:24   ` Thomas Petazzoni [this message]
2017-06-23 10:37   ` Marcin Niestroj

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=20170621222411.747a5020@windsurf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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.