From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] linuxptp: needs NPTL
Date: Sat, 15 Sep 2018 21:20:05 +0200 [thread overview]
Message-ID: <20180915192005.29373-1-fontaine.fabrice@gmail.com> (raw)
/home/buildroot/autobuild/run/instance-1/output/host/bin/or1k-linux-gcc phc_ctl.o phc.o sk.o util.o clockadj.o sysoff.o print.o version.o -lm -lrt -o phc_ctl
phc2sys.o: In function `do_loop':
phc2sys.c:(.text+0x18bc): undefined reference to `clock_nanosleep'
Fixes:
- http://autobuild.buildroot.org/results/a31e0a5ae15e1164115e4e5981ef5fb3c3284bcc
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/linuxptp/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/linuxptp/Config.in b/package/linuxptp/Config.in
index 3e18a0cb13..a32dbde2e1 100644
--- a/package/linuxptp/Config.in
+++ b/package/linuxptp/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LINUXPTP
bool "linuxptp"
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep()
help
The Linux PTP Project is the Precision Time Protocol
implementation according to IEEE standard 1588 for Linux.
@@ -11,3 +12,6 @@ config BR2_PACKAGE_LINUXPTP
not a goal.
http://linuxptp.sourceforge.net/
+
+comment "linuxptp needs a toolchain w/ NPTL"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
--
2.17.1
next reply other threads:[~2018-09-15 19:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-15 19:20 Fabrice Fontaine [this message]
2018-09-16 5:05 ` [Buildroot] [PATCH 1/1] linuxptp: needs NPTL Baruch Siach
2018-09-16 13:39 ` Thomas Petazzoni
2018-09-20 21:46 ` Peter Korsgaard
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=20180915192005.29373-1-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.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.