I built the Rom and there is an error in the kernel, how do I do that? - build

clang-14: error: assembler command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/home/cirrus/roms/Spark-Rom-pyro/kernel/xiaomi/markw/arch/arm64/kernel/vdso/Makefile:74: arch/arm64/kernel/vdso/vgettimeofday.o] Error 1
make[1]: *** [arch/arm64/Makefile:260: vdso_prepare] Error 2
make[1]: Leaving directory '/home/cirrus/roms/Spark-Rom-pyro/out/target/product/markw/obj/KERNEL_OBJ'
make: *** [Makefile:152: sub-make] Error 2
clang-14: error: assembler command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/home/cirrus/roms/Spark-Rom-pyro/kernel/xiaomi/markw/arch/arm64/kernel/vdso/Makefile:74: arch/arm64/kernel/vdso/vgettimeofday.o] Error 1
make[1]: *** [arch/arm64/Makefile:260: vdso_prepare] Error 2
make[1]: Leaving directory '/home/cirrus/roms/Spark-Rom-pyro/out/target/product/markw/obj/KERNEL_OBJ'
make: *** [Makefile:152: sub-make] Error 2

Related

Cannot compile MEGA api

I'm using Windows 7 64bits and been trying to compile the MEGA api with MSYS2 using the autotools, but after running 'make' compilation stops showing this error:
# make
make all-recursive
make[1]: Entering directory '/d/sdk-develop'
Making all in include
make[2]: Entering directory '/d/sdk-develop/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/d/sdk-develop/include'
make[2]: Entering directory '/d/sdk-develop'
CXX examples/megacli-megacli.o
In file included from D:/msys64/mingw64/include/zconf.h:475,
from D:/msys64/mingw64/include/zlib.h:34,
from ./include/mega/win32/meganet.h:26,
from ./include/mega.h:76,
from examples/megacli.cpp:22:
./include/mega/win32/megafs.h:170:10: error: 'bool mega::WinFileAccess::ftruncate64()' marked 'override', but does not override
170 | bool ftruncate() override;
| ^~~~~~~~~
make[2]: *** [Makefile:2742: examples/megacli-megacli.o] Error 1
make[2]: Leaving directory '/d/sdk-develop'
make[1]: *** [Makefile:3294: all-recursive] Error 1
make[1]: Leaving directory '/d/sdk-develop'
make: *** [Makefile:1495: all] Error 2

undefined reference to qt_static_plugin_QWaylandEglStreamBufferIntegrationPlugin

Got the following error while building Qt 5.12.7 in static mode, on Debian 10 32 bits:
error: undefined reference to 'qt_static_plugin_QWaylandEglStreamBufferIntegrationPlugin()'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:80: qwindow-compositor] Error 1
make[4]: Leaving directory '/home/user/qt/static/qtwayland/examples/wayland/qwindow-compositor'
make[3]: *** [Makefile:59: sub-qwindow-compositor-make_first] Error 2
make[3]: Leaving directory '/home/user/qt/static/qtwayland/examples/wayland'
make[2]: *** [Makefile:47: sub-wayland-make_first] Error 2
make[2]: Leaving directory '/home/user/qt/static/qtwayland/examples'
make[1]: *** [Makefile:74: sub-examples-make_first] Error 2
make[1]: Leaving directory '/home/user/qt/static/qtwayland'
make: *** [Makefile:600: module-qtwayland-make_first] Error 2
I configured with the following options:
$ ../qt-everywhere-src-5.12.7/configure -prefix $PWD/qtbase -opensource -static -qt-xcb -confirm-license -skip qtwebengine
Anybody can give me a hint on what's going on?
Non static build went fine, I did it just before.

Error: installting GDB-8.1 with target=mips-elf-linux

Below error occurs while installing gdb-8.1 on Ubuntu-16.04-TLS with target configuration>> --target=mips-elf-linux:
make[4]: Leaving directory '/home/../gdb-installation/gdb-8.1-mips32be/bfd/po'
make[4]: Entering directory '/home/../gdb-installation/gdb-8.1-mips32be/bfd'
make[5]: Entering directory '/home/.../gdb-installation/gdb-8.1-mips32be/bfd'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Leaving directory '/home/.../gdb-installation/gdb-8.1-mips32be/bfd'
make[4]: Leaving directory '/home/.../gdb-installation/gdb-8.1-mips32be/bfd'
Makefile:1748: recipe for target 'install-recursive' failed
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory '/home/.../gdb-installation/gdb-8.1-mips32be/bfd'
Makefile:1885: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory '/home/.../gdb-installation/gdb-8.1-mips32be/bfd'
Makefile:2756: recipe for target 'install-bfd' failed
make[1]: *** [install-bfd] Error 2
make[1]: Leaving directory '/home/.../gdb-installation/gdb-8.1-mips32be'
Makefile:2223: recipe for target 'install' failed
make: *** [install] Error 2
Kindly help me fix this!

Telegram compilation process: recipe for target 'CMakeFiles/MetaLang.dir/all' failed

I was following Telegram's compile process at here and in the last step when compiling the app itself it gives me this error, to be brief the error's final lines are:
CMakeFiles/MetaLang.dir/build.make:189: recipe for target 'MetaLang' failed
make[2]: *** [MetaLang] Error 1
CMakeFiles/Makefile2:721: recipe for target 'CMakeFiles/MetaLang.dir/all' failed
make[1]: *** [CMakeFiles/MetaLang.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
P.S. my OS is Ubuntu 16.04 and the folder in which the process is going on is ~/Documents/Telegram/

make "sumo 0.17.1" on ubuntu 13.10

I installed and tested v0.19.1 successfully before, however, I needed to downgrade to 0.17.1 in order to run some example in omnetpp's veins simulator.
Whenever I run the "make" command, I get the following error:
/usr/bin/ld: ./utils/foxtools/libfoxtools.a(MFXMutex.o): undefined reference to symbol 'pthread_mutexattr_settype##GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [sumo-gui] Error 1
make[3]: Leaving directory `/home/maamoun/pkgs/sumo-0.17.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/maamoun/pkgs/sumo-0.17.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/maamoun/pkgs/sumo-0.17.1/src'
make: *** [all-recursive] Error 1
What am I missing?!
Problem solved, had to install libproj-dev and include proj in the ./configure using the --with-proj-includes=DIR
[EDIT] after 15 minutes of making, same error raised again!!!