Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Error Messages during bitbake for Emulator and solutions.

Error 1

/home/amrita/Desktop/EmuFeb3/build-qemux86broadband/tmp/work/x8664-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/memfd.c:40:12: error: static declaration of ‘memfdcreate’ follows non-static declaration | static int memfdcreate(const char name, unsigned int flags) | ^~~~~~~~~~~~ | In file included from /usr/include/x8664-linux-gnu/bits/mman-linux.h:115:0, | from /usr/include/x8664-linux-gnu/bits/mman.h:45, | from /usr/include/x8664-linux-gnu/sys/mman.h:41, | from /home/amrita/Desktop/EmuFeb3/build-qemux86broadband/tmp/work/x8664-linux/qemu-native/2.7.0-r1/qemu-2.7.0/include/sysemu/os-posix.h:29, | from /home/amrita/Desktop/EmuFeb3/build-qemux86broadband/tmp/work/x8664-linux/qemu-native/2.7.0-r1/qemu-2.7.0/include/qemu/osdep.h:104, | from /home/amrita/Desktop/EmuFeb3/build-qemux86broadband/tmp/work/x8664-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/memfd.c:28: | /usr/include/x8664-linux-gnu/bits/mman-shared.h:46:5: note: previous declaration of ‘memfdcreate’ was here | int memfdcreate (const char name, unsigned int flags) Feb3/build-qemux86broadband/tmp/work/x8664-linux/qemu-native/2.7.0-r1/qemu-2.7.0/rules.mak:59: recipe for target 'util/memfd.o' failed | make: [util/memfd.o] Error 1 | make: Waiting for unfinished jobs.... | /home/amrita/Desktop/EmuFeb3/build-qemux86broadband/tmp/work/x8664-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/path.c: In function ‘followpath’: | /home/amrita/Desktop/EmuFeb3/build-qemux86broadband/tmp/work/x8664-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/path.c:126:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] | if (!cursor-&gtpopulatedentries) | ^~ | /home/amrita/Desktop/EmuFeb3/build-qemux86broadband/tmp/work/x8664-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/path.c:128:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ | cursor = *source; | ^~~~~~ | WARNING: exit code 1 from a shell command. | ERROR: Function failed: docompile (log file is located at /home/amrita/Desktop/EmuFeb3/build-qemux86broadband/tmp/work/x8664-linux/qemu-native/2.7.0-r1/temp/log.docompile.9718) ERROR: Task (virtual:native:/home/amrita/Desktop/EmuFeb3/openembedded-core/meta/recipes-devtools/qemu/qemu2.7.0.bb:docompile) failed with exit code '1'

...