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

David Taylor david-taylor at blueyonder.co.uk.invalid
Mon Feb 17 07:49:27 UTC 2014

On 16/02/2014 21:28, Harlan Stenn wrote:
> The location of that script moved recently.
> Try:
>    ./sntp/libevent/build-aux/config.guess
> if you are in the main source directory.
> And I have not done this in a while - there might be something good to
> be said to trying:
>   ./sntp/scripts/cvo.sh
> instead.  Not sure - as I said, I haven't had to do a cross compile in a
> long time.
> And it's a wiki - as you come across improvements, please make them.
> H


Thanks, this is making a start.

The first method on the build and host systems returned:


which looks reasonable to me.  For your interest, the second method 

./sntp/scripts/cvo.sh: 1: ./sntp/scripts/cvo.sh: config.guess: not found
gronk - config.guess returned 0 pieces, not 3 pieces!

Having made a new sub-directory, and then running:

   ../configure --host=armv6l-unknown-linux-gnueabihf 

gave an error:

checking if pthread_create() works... yes
checking if select yields when using pthreads... cross
configure: error: crossing compiling: use 

  and I am unsure what it's telling me.  Should I add another option to 
the configure command?  And if so, what is the correct value for 

This all looks rather different from when I did the kernel re-compile, 
where I needed to specify things like CCPREFIX:


Web: http://www.satsignal.eu

More information about the questions mailing list