This error is not seen on the autobuilder, can you please check why it occurs only in your local setup? The macro probably needs to be enabled in a more targeted way.
Alex On Wed, 23 Mar 2022 at 09:02, wangmy <[email protected]> wrote: > > do_compile error : > | ../git/rngd_jitter.c: In function 'rngd_notime_start': > | ../git/rngd_jitter.c:56:45: error: invalid use of undefined type 'struct > jent_notime_ctx' > | 56 | ret = -pthread_attr_init(&thread_ctx->notime_pthread_attr); > > enable macro JENT_CONF_ENABLE_INTERNAL_TIMER to use struct jent_notime_ctx > > Signed-off-by: Wang Mingyu <[email protected]> > --- > meta/recipes-support/rng-tools/rng-tools_6.15.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/recipes-support/rng-tools/rng-tools_6.15.bb > b/meta/recipes-support/rng-tools/rng-tools_6.15.bb > index ae974f9f6f..0696351903 100644 > --- a/meta/recipes-support/rng-tools/rng-tools_6.15.bb > +++ b/meta/recipes-support/rng-tools/rng-tools_6.15.bb > @@ -34,6 +34,8 @@ INITSCRIPT_PARAMS = "start 03 2 3 4 5 . stop 30 0 6 1 ." > > SYSTEMD_SERVICE:${PN} = "rngd.service" > > +CFLAGS += " -DJENT_CONF_ENABLE_INTERNAL_TIMER " > + > # Refer autogen.sh in rng-tools > do_configure:prepend() { > cp ${S}/README.md ${S}/README > -- > 2.25.1 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#163580): https://lists.openembedded.org/g/openembedded-core/message/163580 Mute This Topic: https://lists.openembedded.org/mt/89971134/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
