On Mon, Jan 02, 2017 at 03:15:41PM +0100, Axel Holzinger wrote: > I try to cross compile linuxptpt on Xubuntu 16.04 for i686 32 bit with a > Linux 4.1.15 cross tool chain for ARM's imx6 and gcc 5.2.0, but I get some > erros and I'm not expert enough to get this resolved, unfortunately. > > Perhaps somebody reading this list has an idea what I did do wrong. > > This is the make output: > imx6@imx6-VirtualBox:~/Projects/linuxptp-1.8$ make > arm-poky-linux-gnueabi-gcc -Wall -DVER=1.8 -D_GNU_SOURCE > -DHAVE_ONESTEP_SYNC -c -o ptp4l.o ptp4l.c
... > CC=arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon > -mtune=cortex-a9 > --sysroot=/opt/fsl-imx-x11/4.1.15-1.2.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi ... > SDKTARGETSYSROOT=/opt/fsl-imx-x11/4.1.15-1.2.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi Probably you only need to add --sysroot make EXTRA_CFLAGS=--sysroot=$SDKTARGETSYSROOT HTH, Richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users