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

catherine.wei1989 at gmail.com catherine.wei1989 at gmail.com
Fri Feb 6 05:58:56 UTC 2015


On Wednesday, February 19, 2014 at 4:34:59 AM UTC+8, David J Taylor wrote:
> From: Charles Swiger
> 
> Yes, you need to add --with-yielding_select=yes.
> (Or no, depending on what select() does on the target platform.)
> 
> ./configure normally runs a set of tests to figure all of this stuff out, 
> but those tests
> need to run on the target and not on the build platform when 
> cross-compiling.  If you
> don't already know the right answers, run ./configure on the target platform 
> and use
> those results when cross-compiling from a faster platform.
> 
> Regards,
> -Chuck
> ================================
> 
> Just what I needed to know, Chuck.  Running .\configure on the Raspberry Pi, 
> and saving the output shows three separate lines saying:
> 
>   checking if select yields when using pthreads... yes
> 
> so I guess I need "yes".  Quite why configure needs to check this three 
> times, on an already very slow RPi PC, is a mystery!
> 
> [sorry for non-standard quoting]
> 
> Cheers,
> David
> -- 
> SatSignal Software - Quality software written to your requirements
> Web: http://www.satsignal.eu
> Email: david-taylor at blueyonder.co.uk


Hi Chuck,
I met this problem too. When I add the --with-yielding_select=yes, the build succeeds, but I don't quite understand what the "--with-yielding_select=yes" is used for. Also, when I add --with-yielding_select=no or --with-yielding_select=manual, the build still passes.



More information about the questions mailing list