[ntp:questions] Cross-compiling NTP for the Raspberry Pi

Harlan Stenn stenn at ntp.org
Tue Feb 18 21:28:11 UTC 2014


David Taylor writes:
> On 17/02/2014 21:03, Harlan Stenn wrote:
> []
> > Sincerely appreciated.  And please consider just making notes and
> > incremental changes on our wiki.  If you'd like to see a %COMMENT{}% box
> > in there to make this easier for notes just add it (or I can).  We can
> > easily clean it up later, or as we go, and that way we're not diverting
> > eyeballs.
> >
> > H
> 
> Yes, if you add that it might be helpful.  In the meanwhile, executing:

OK, I will look at that later today (assuming I remember)

> ../configure --host=armv6l-unknown-linux-gnueabihf 
> --build=x86_64-unknown-linux-gnu
> 
> I end up with this message:
> 
> checking if pthread_create() works... yes
> checking if select yields when using pthreads... cross
> configure: error: crossing compiling: use 
> --with-yielding_select=yes|no|manual
> 
> and I'm stuck at that point.  Do I need something extra on the 
> ../configure command line?

Yes, please try adding: --with-yielding_select=yes

to your ../configure command line.  This may not work - I've had a
report that this didn't work for somebody else, but since I have no
cross-compile environment handy I can't check it out.

I don't expect you to be able to debug this.

sntp/libevent/m4/openldap-thread-check.m4 is where this is coming from.
-- 
Harlan Stenn <stenn at ntp.org>
http://networktimefoundation.org - be a member!



More information about the questions mailing list