Guest User

Untitled

a guest
Sep 25th, 2024
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
  2. The C compiler
  3.  
  4. "/usr/bin/cc"
  5.  
  6. is not able to compile a simple test program.
  7.  
  8. It fails with the following output:
  9.  
  10. Change Dir: '/home/josh/Source code/AUR packages/tagutil/src/tagutil-3.1/build/CMakeFiles/CMakeScratch/TryCompile-7dEgay'
  11.  
  12. Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_b79d6/fast
  13. /usr/bin/make -f CMakeFiles/cmTC_b79d6.dir/build.make CMakeFiles/cmTC_b79d6.dir/build
  14. make[1]: Entering directory '/home/josh/Source code/AUR packages/tagutil/src/tagutil-3.1/build/CMakeFiles/CMakeScratch/TryCompile-7dEgay'
  15. Building C object CMakeFiles/cmTC_b79d6.dir/testCCompiler.c.o
  16. /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/josh/Source code/AUR packages/tagutil/src=/usr/src/debug/tagutil -flto=auto -o CMakeFiles/cmTC_b79d6.dir/testCCompiler.c.o -c "/home/josh/Source code/AUR packages/tagutil/src/tagutil-3.1/build/CMakeFiles/CMakeScratch/TryCompile-7dEgay/testCCompiler.c"
  17. cc1: error: invalid argument ‘/home/josh/Source’ to ‘-ffile-prefix-map’
  18. cc1: error: invalid argument ‘/home/josh/Source’ to ‘-ffile-prefix-map’
  19. cc1: error: invalid argument ‘/home/josh/Source’ to ‘-ffile-prefix-map’
  20. make[1]: *** [CMakeFiles/cmTC_b79d6.dir/build.make:78: CMakeFiles/cmTC_b79d6.dir/testCCompiler.c.o] Error 1
  21. make[1]: Leaving directory '/home/josh/Source code/AUR packages/tagutil/src/tagutil-3.1/build/CMakeFiles/CMakeScratch/TryCompile-7dEgay'
  22. make: *** [Makefile:127: cmTC_b79d6/fast] Error 2
  23.  
  24.  
  25.  
  26.  
  27.  
  28. CMake will not be able to correctly generate this project.
  29. Call Stack (most recent call first):
  30. CMakeLists.txt:12 (project)
  31.  
Advertisement
Add Comment
Please, Sign In to add comment