Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-11 Thread David Taylor
On 09/03/2014 23:20, John Hasler wrote: I believe you want this: libcap-dev - development libraries and header files for libcap2 Thanks, John. I was trying that first as the easiest solution, but that package is already installed, and the latest version. -- Cheers, David Web: http://www.sa

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-09 Thread John Hasler
I believe you want this: libcap-dev - development libraries and header files for libcap2 -- John Hasler jhas...@newsguy.com Dancing Horse Hill Elmwood, WI USA ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-09 Thread Mike George
David: I sent you some suggestions off-list for setting up the cross-compile environment. Mike On 3/9/2014 09:21, David Taylor wrote: On 09/03/2014 01:53, Mike George wrote: David: It doesn't look like libcap is included in the rpi toolchain. I was able to build a kernel using the directi

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-09 Thread David Taylor
On 08/03/2014 23:11, Mike George wrote: David: The configure script checks to see if you have the necessary dependencies for the options you have chosen. If not, it sets the option to "no". You should see it reported in the messages. Of course the compile will also work, just without the optio

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-09 Thread David Taylor
On 09/03/2014 01:53, Mike George wrote: David: It doesn't look like libcap is included in the rpi toolchain. I was able to build a kernel using the directions on your website but I failed building NTP. I think capability.h should be present under arm-bcm2708hardfp-linux-gnueabi/arm-bcm2708hard

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-08 Thread Mike George
David: It doesn't look like libcap is included in the rpi toolchain. I was able to build a kernel using the directions on your website but I failed building NTP. I think capability.h should be present under arm-bcm2708hardfp-linux-gnueabi/arm-bcm2708hardfp-linux-gnueabi/sysroot/usr/include/sys/

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-08 Thread Mike George
David: The configure script checks to see if you have the necessary dependencies for the options you have chosen. If not, it sets the option to "no". You should see it reported in the messages. Of course the compile will also work, just without the option you requested. I think there was a

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-08 Thread Steve Kostecke
On 2014-03-08, Mike George wrote: > On my ubuntu machine that I built NTP on I installed > libcap2 > libcap-dev > Not sure if I needed the -dev but I didn't try without it. libcap-dev provides the development files associated with libcap2. So you need both to compile software which u

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-08 Thread David Taylor
On 08/03/2014 17:03, Mike George wrote: David: Maybe your build environment is missing libcaps. On my ubuntu machine that I built NTP on I installed libcap2 libcap-dev Not sure if I needed the -dev but I didn't try without it. Mike =

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-08 Thread Mike George
David: Maybe your build environment is missing libcaps. On my ubuntu machine that I built NTP on I installed libcap2 libcap-dev Not sure if I needed the -dev but I didn't try without it. Mike On 3/8/2014 07:14, David Taylor wrote: ===

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-08 Thread David Taylor
Initial write-up is here: http://www.satsignal.eu/raspberry-pi/kernel-cross-compile.html#ntp Comments and corrections welcomed. Many, many thanks for the group here, without whose help this would not have been possible for this Linux novice. -- Cheers, David Web: http://www.satsignal.eu

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-08 Thread David Taylor
Per, Brian, Harlan, Thank you all for your help. Per, you are correct to ask whether configure worked with "--host=arm-bcm2708hardfp-linux-gnueabi-". It did not, and as you and Harlan noted the trailing "-" had to be dropped. The following script successfully produces a binary which runs o

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-07 Thread Harlan Stenn
--target should not be needed. Only --build (where is it being built) and --host (where will it be running) should matter. H -- Brian Inglis writes: > On 2014-03-07 13:42, David Taylor wrote: > > On 07/03/2014 18:10, Charles Swiger wrote: > >> Hi-- > >> > >> On Mar 7, 2014, at 7:30 AM, David Tayl

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-07 Thread Brian Inglis
On 2014-03-07 13:42, David Taylor wrote: On 07/03/2014 18:10, Charles Swiger wrote: Hi-- On Mar 7, 2014, at 7:30 AM, David Taylor wrote: [ ... ] No, still getting an ntpd which is 2.87 MB in size, whereas on the Raspberry Pi native build it's 2.0 MB. The Intel Debian version is 2.74 MB.

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-07 Thread Harlan Stenn
David Taylor writes: > >> Harlan, I wish it were as easy as setting the path, but doing an "ls" on > >> that directory shows that all the tools have the prefix in front of > >> their normal file name, for example: > >> > >> $ ls > >> /home/david/kernel/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnue

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-07 Thread Per Hedeland
In article David Taylor writes: > >There's a discrepancy here I am unsure about. When I run the script: > >sntp/libevent/build-aux/config.guess > >on the Raspberry Pi, for "host" I get: > > armv6l-unknown-linux-gnueabihf > >but, as you will see, the prefix above is: > > arm-bcm2708hardf

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-07 Thread David Taylor
On 07/03/2014 18:10, Charles Swiger wrote: Hi-- On Mar 7, 2014, at 7:30 AM, David Taylor wrote: [ ... ] No, still getting an ntpd which is 2.87 MB in size, whereas on the Raspberry Pi native build it's 2.0 MB. The Intel Debian version is 2.74 MB. Run 'file ntpd' to see which architecture

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-07 Thread Steve Kostecke
On 2014-03-07, David Taylor wrote: > No, still getting an ntpd which is 2.87 MB in size, whereas on the > Raspberry Pi native build it's 2.0 MB. The Intel Debian version is 2.74 MB. Use file(1) to see useful build details about each ntpd. e.g. me@home:~$ file /usr/sbin/ntpd /usr/sbin/ntpd: E

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-07 Thread Charles Swiger
Hi-- On Mar 7, 2014, at 7:30 AM, David Taylor wrote: [ ... ] > No, still getting an ntpd which is 2.87 MB in size, whereas on the Raspberry > Pi native build it's 2.0 MB. The Intel Debian version is 2.74 MB. Run 'file ntpd' to see which architecture it's compiled for. (The size of ntpd is n

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-07 Thread David Taylor
On 07/03/2014 12:24, Harlan Stenn wrote: David Taylor writes: [] Rob, Harlan, Thanks for your continuing help. Harlan, I wish it were as easy as setting the path, but doing an "ls" on that directory shows that all the tools have the prefix in front of their normal file name, for example: $ l

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-07 Thread Harlan Stenn
David Taylor writes: > On 06/03/2014 20:24, Rob Windgassen wrote: > > On Thu, 06 Mar 2014 16:20:27 +, David Taylor wrote: > [] > >> How, in very simple terms, may I apply the same for cross-compiling NTP? > > > > When your kernel cross-compile was succesful you want to use the same > > compiler

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-07 Thread David Taylor
On 06/03/2014 20:24, Rob Windgassen wrote: On Thu, 06 Mar 2014 16:20:27 +, David Taylor wrote: [] How, in very simple terms, may I apply the same for cross-compiling NTP? When your kernel cross-compile was succesful you want to use the same compiler. You can achieve that by setting CC on

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-06 Thread Harlan Stenn
David, I think you might only need to put: /home/david/kernel/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/ in the front of your PATH and then follow the NTP instructions. H -- David Taylor writes: > On 06/03/2014 05:53, Harlan Stenn wrote: > > I'm very comfortable that the process de

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-06 Thread Rob Windgassen
On Thu, 06 Mar 2014 05:53:10 +, Harlan Stenn wrote: > You wrote: > >> The description on >> http://support.ntp.org/bin/view/Dev/Cross-compilingNTP mentions a >> "proper" cross-compile environment and somewhat later continues with >> >> "gcc (which is symlinked to )" > > No, gcc in that spe

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-06 Thread Rob Windgassen
On Thu, 06 Mar 2014 16:20:27 +, David Taylor wrote: > I looked for gcc on my system and found: > > /home/david/kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf- raspbian/lib/gcc > /home/david/kernel/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf- raspbian/share/doc/gcc-linaro-arm-li

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-06 Thread David Taylor
On 06/03/2014 05:53, Harlan Stenn wrote: I'm very comfortable that the process described at: http://support.ntp.org/bin/view/Dev/Cross-compilingNTP is correct. It happens to follow the recommended process for cross-compiling projects that use autoconf/automake. NTP is one of these. I've us

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-06 Thread David Taylor
On 05/03/2014 22:56, Harlan Stenn wrote: [] One of those is apparently instructions on building an RPi kernel, and the other instructions are for building NTP. NTP's build system does not use CCPREFIX or PLATFORM. Correct - I was expecting there to be some commonality in cross-compiling, but

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-06 Thread Harlan Stenn
I'm very comfortable that the process described at: http://support.ntp.org/bin/view/Dev/Cross-compilingNTP is correct. It happens to follow the recommended process for cross-compiling projects that use autoconf/automake. NTP is one of these. I've used it many times before at several locations

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-05 Thread Rob Windgassen
On Wed, 05 Mar 2014 09:43:34 +, David Taylor wrote: > I am trying to cross-compile NTP for the Raspberry Pi, and I am > following the instructions for NTP here: > >http://support.ntp.org/bin/view/Dev/Cross-compilingNTP > > and the successful cross-compile I did for the RPi kernel here: >

Re: [ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-05 Thread Harlan Stenn
David Taylor writes: > I am trying to cross-compile NTP for the Raspberry Pi, and I am > following the instructions for NTP here: > >http://support.ntp.org/bin/view/Dev/Cross-compilingNTP > > and the successful cross-compile I did for the RPi kernel here: > >http://www.satsignal.eu/rasp

[ntp:questions] Help with cross-compiling NTP for the Raspberry Pi requested

2014-03-05 Thread David Taylor
I am trying to cross-compile NTP for the Raspberry Pi, and I am following the instructions for NTP here: http://support.ntp.org/bin/view/Dev/Cross-compilingNTP and the successful cross-compile I did for the RPi kernel here: http://www.satsignal.eu/raspberry-pi/kernel-cross-compile.html Ju