fatal error: omp.h: No such file or directory #yocto
Hi community Member,
I am trying to build core-image-minimal-xfce with below configuration. Poky (master branch)
meta-openembedde (master branch)
BB_VERSION = "1.47.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
DISTRO = "poky"
DISTRO_VERSION = "3.1+snapshot-20200620" TUNE_FEATURES = "aarch64"
kindly help me out on this . do i missed any thing here
Errror:
4.15.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c ../../git/build/parseSpec.c -fPIC -DPIC -o .libs/parseSpec.o
| ../../git/build/parseSpec.c:10:10: fatal error: omp.h: No such file or directory | 10 | #include <omp.h> | | ^~~~~~~ | compilation terminated. | make[2]: *** [Makefile:642: parseSpec.lo] Error 1 | make[2]: *** Waiting for unfinished jobs.... | make[2]: Leaving directory '/opt/Projects/Amlogic-project/amlogic-g1-master/tmp/work/x86_64-linux/rpm-native/1_4.15.1-r0/build/build' | make[1]: *** [Makefile:1359: all-recursive] Error 1 | make[1]: Leaving directory '/opt/Projects/Amlogic-project/amlogic-g1-master/tmp/work/x86_64-linux/rpm-native/1_4.15.1-r0/build' | make: *** [Makefile:788: all] Error 2 | WARNING: exit code 1 from a shell command. |
ERROR: Task (virtual:native:/opt/Projects/Amlogic-project/Project-layers/poky/meta/recipes-devtools/rpm/rpm_4.15.1.bb:do_compile) failed with exit code '1'
Quoted 32 lines · Rahul Chauhan
Hi community Member,
I am trying to build core-image-minimal-xfce with below configuration.
Poky (master branch)
meta-openembedde (master branch)BB_VERSION = "1.47.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-poky-linux" DISTRO = "poky" DISTRO_VERSION = "3.1+snapshot-20200620" TUNE_FEATURES = "aarch64"kindly help me out on this . do i missed any thing here
Errror:
4.15.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c../../git/build/parseSpec.c-fPIC -DPIC -o.libs/parseSpec.o|../../git/build/parseSpec.c:10:10: fatal error:omp.h: No such file or directory| 10 | #include <omp.h> | | ^~~~~~~ | compilation terminated. | make[2]: *** [Makefile:642: parseSpec.lo] Error 1 | make[2]: *** Waiting for unfinished jobs.... | make[2]: Leaving directory '/opt/Projects/Amlogic-project/amlogic-g1-master/tmp/work/x86_64-linux/rpm-native/1_4.15.1-r0/build/build' | make[1]: *** [Makefile:1359: all-recursive] Error 1
| make[1]: Leaving directory '/opt/Projects/Amlogic-project/amlogic-g1-master/tmp/work/x86_64-linux/rpm-native/1_4.15.1-r0/build'
Quoted 6 lines
| make: *** [Makefile:788: all] Error 2 | WARNING: exit code 1 from a shell command. |ERROR: Task (virtual:native:/opt/Projects/Amlogic-project/Project- layers/poky/meta/recipes-devtools/rpm/rpm_4.15.1.bb:do_compile) failed with exit code '1'
Which distro is this on? Are you using buildtools-tarball?
If so, there is an open bug for this:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13899
3.1.1 buildtools is here:
http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.1/buildtools/
although due to another issues we recently became aware of we're planning to use 3.2 M1's buildtools (which is in QA atm).
Staged here for now:
https://autobuilder.yocto.io/pub/releases/yocto-3.2_M1.rc1/buildtools/
Cheers,
Richard
Quoted 16 lines · Rahul Chauhan
Hi community Member,
I am trying to build core-image-minimal-xfce with below configuration. Poky (master branch)
meta-openembedde (master branch)
BB_VERSION = "1.47.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
DISTRO = "poky"
DISTRO_VERSION = "3.1+snapshot-20200620" TUNE_FEATURES = "aarch64"kindly help me out on this . do i missed any thing here
Quoted 7 lines
Errror:
4.15.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c ../../git/build/parseSpec.c -fPIC -DPIC -o.libs/parseSpec.o|../../git/build/parseSpec.c:10:10: fatal error:omp.h: No such file or directory| 10 | #include <omp.h> | | ^~~~~~~
which distro and version are you on ? Some distros package libomp separately and is not installed by default. So you might be able to get through by installing the required dependency on your build host.
Quoted 17 lines
| compilation terminated. | make[2]: *** [Makefile:642: parseSpec.lo] Error 1 | make[2]: *** Waiting for unfinished jobs.... | make[2]: Leaving directory'
/opt/Projects/Amlogic-project/amlogic-g1-master/tmp/work/x86_64-linux/rpm-native/1_4.15.1-r0/build/build' | make[1]: *** [Makefile:1359: all-recursive] Error 1
| make[1]: Leaving directory '/opt/Projects/Amlogic-project/amlogic-g1-master/tmp/work/x86_64-linux/rpm-native/1_4.15.1-r0/build'| make: *** [Makefile:788: all] Error 2 | WARNING: exit code 1 from a shell command. |ERROR: Task (virtual:native:/opt/Projects/Amlogic-project/Project-layers/poky/meta/recipes-devtools/rpm/rpm_4.15.1.bb:do_compile) failed with exit code '1'