we cache hw_cv_func_snprintf_c99 and hw_cv_func_vsnprintf_c99 in
meta/site/common-linux but somehow configure now tries to compute it
and since it uses ac_try_run they fail in cross compilation, as a result
configure decides to use rpl_snprintf and rpl_vsnprintf functions and
they fail during linking stage

Signed-off-by: Khem Raj <[email protected]>
---
 meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb 
b/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb
index 302cf9915f..1f4cba1bbd 100644
--- a/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb
+++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb
@@ -60,6 +60,8 @@ inherit autotools update-rc.d useradd systemd pkgconfig
 EXTRA_OECONF += "--with-net-snmp-config=no \
                  --without-ntpsnmpd \
                  ac_cv_header_readline_history_h=no \
+                 hw_cv_func_snprintf_c99=yes \
+                 hw_cv_func_vsnprintf_c99=yes \
                  --with-yielding_select=yes \
                  --with-locfile=redhat \
                  --without-rpath \
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115044): 
https://lists.openembedded.org/g/openembedded-devel/message/115044
Mute This Topic: https://lists.openembedded.org/mt/110783167/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to