Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compil error on Archlinux arm(v7h) #139

Open
PowaBanga opened this issue Nov 18, 2024 · 0 comments
Open

Compil error on Archlinux arm(v7h) #139

PowaBanga opened this issue Nov 18, 2024 · 0 comments

Comments

@PowaBanga
Copy link

PowaBanga commented Nov 18, 2024

hi everybody,
I a trying to compil this addon on my archlinux arm from the AUR PKGBUILD, and i recieve this error message :

-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
  The C compiler

    "/usr/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/home/alarm/pkgbuild/kodi-addon-inputstream-rtmp/src/inputstream.rtmp-21.1.0-Omega/CMakeFiles/CMakeScratch/TryCompile-TLw8B2'

    Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_688dd/fast
    /usr/bin/make  -f CMakeFiles/cmTC_688dd.dir/build.make CMakeFiles/cmTC_688dd.dir/build
    make[1]: Entering directory '/home/alarm/pkgbuild/kodi-addon-inputstream-rtmp/src/inputstream.rtmp-21.1.0-Omega/CMakeFiles/CMakeScratch/TryCompile-TLw8B2'
    Building C object CMakeFiles/cmTC_688dd.dir/testCCompiler.c.o
    /usr/bin/cc   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -o CMakeFiles/cmTC_688dd.dir/testCCompiler.c.o -c /home/alarm/pkgbuild/kodi-addon-inputstream-rtmp/src/inputstream.rtmp-21.1.0-Omega/CMakeFiles/CMakeScratch/TryCompile-TLw8B2/testCCompiler.c
    cc: error: unrecognized command-line option '-mno-omit-leaf-frame-pointer'; did you mean '-fno-omit-frame-pointer'?
    make[1]: *** [CMakeFiles/cmTC_688dd.dir/build.make:78: CMakeFiles/cmTC_688dd.dir/testCCompiler.c.o] Error 1
    make[1]: Leaving directory '/home/alarm/pkgbuild/kodi-addon-inputstream-rtmp/src/inputstream.rtmp-21.1.0-Omega/CMakeFiles/CMakeScratch/TryCompile-TLw8B2'
    make: *** [Makefile:127: cmTC_688dd/fast] Error 2





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

Any ideas to fix this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant