I am getting the following compile error, trying this on a raspberry pi 3 (which should also work).
| /bin/sh: 1: arm-poky-linux-gnueabi-gcc -mno-thumb-interwork -marm -fuse-ld=bfd -fdebug-prefix-map=/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0=/usr/src/debug/fbtft-driver/1.0-r0 -fdebug-prefix-map=/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/mozcelikors/poky/build/tmp/work-shared/raspberrypi3/kernel-source=/usr/src/kernel: not found
| /home/mozcelikors/poky/build/tmp/work-shared/raspberrypi3/kernel-source/scripts/Makefile.build:320: recipe for target '/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/git/fbtft-core.o' failed
| make[3]: *** [/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/git/fbtft-core.o] Error 127
| /home/mozcelikors/poky/build/tmp/work-shared/raspberrypi3/kernel-source/Makefile:1508: recipe for target '_module_/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/git' failed
| make[2]: *** [_module_/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/git] Error 2
| make[2]: Leaving directory '/home/mozcelikors/poky/build/tmp/work-shared/raspberrypi3/kernel-build-artifacts'
| Makefile:146: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| make[1]: Leaving directory '/home/mozcelikors/poky/build/tmp/work-shared/raspberrypi3/kernel-source'
| Makefile:43: recipe for target 'default' failed
| make: *** [default] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/temp/log.do_compile.10253)
ERROR: Task (/home/mozcelikors/poky/meta-embeddev/recipes-framebuffer/fbtft-driver/fbtft-driver.bb:do_compile) failed with exit code '1'
Following lines are interesting:
| /bin/sh: 1: arm-poky-linux-gnueabi-gcc -mno-thumb-interwork -marm -fuse-ld=bfd -fdebug-prefix-map=/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0=/usr/src/debug/fbtft-driver/1.0-r0 -fdebug-prefix-map=/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/mozcelikors/poky/build/tmp/work-shared/raspberrypi3/kernel-source=/usr/src/kernel: not found
| /home/mozcelikors/poky/build/tmp/work-shared/raspberrypi3/kernel-source/scripts/Makefile.build:320: recipe for target '/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/git/fbtft-core.o' failed
Which I believe is related to the following portion of the recipe:
My suspection is that since this is done with the kernel space compiler, I might be missing possible unspecified dependencies. Also the error involves a host side directory /usr/src/kernel which is empty. I am curious what that is.
NOTE: For providing the virtual/kernel, I am using linux-raspberrypi-1_4.14 package.
I am getting the following compile error, trying this on a raspberry pi 3 (which should also work).
Following lines are interesting: | /bin/sh: 1: arm-poky-linux-gnueabi-gcc -mno-thumb-interwork -marm -fuse-ld=bfd -fdebug-prefix-map=/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0=/usr/src/debug/fbtft-driver/1.0-r0 -fdebug-prefix-map=/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/mozcelikors/poky/build/tmp/work-shared/raspberrypi3/kernel-source=/usr/src/kernel: not found
| /home/mozcelikors/poky/build/tmp/work-shared/raspberrypi3/kernel-source/scripts/Makefile.build:320: recipe for target '/home/mozcelikors/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/fbtft-driver/1.0-r0/git/fbtft-core.o' failed
Which I believe is related to the following portion of the recipe:
My suspection is that since this is done with the kernel space compiler, I might be missing possible unspecified dependencies. Also the error involves a host side directory /usr/src/kernel which is empty. I am curious what that is.
NOTE: For providing the virtual/kernel, I am using linux-raspberrypi-1_4.14 package.
Any help is appreciated.