Guest User

Untitled

a guest
Apr 30th, 2020
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. Determining if the __GLIBC__ exist failed with the following output:
  2. Change Dir: /usr/ports/audio/elisa/work/.build/CMakeFiles/CMakeTmp
  3.  
  4. Run Build Command(s):/usr/local/bin/ninja cmTC_7989d && [1/2] Building CXX object CMakeFiles/cmTC_7989d.dir/CheckSymbolExists.cxx.o
  5. FAILED: CMakeFiles/cmTC_7989d.dir/CheckSymbolExists.cxx.o
  6. /usr/bin/c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu++17 -o CMakeFiles/cmTC_7989d.dir/CheckSymbolExists.cxx.o -c CheckSymbolExists.cxx
  7. CheckSymbolExists.cxx:8:19: error: use of undeclared identifier '__GLIBC__'
  8. return ((int*)(&__GLIBC__))[argc];
  9. ^
  10. 1 error generated.
  11. ninja: build stopped: subcommand failed.
  12.  
  13.  
  14. File /usr/ports/audio/elisa/work/.build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
  15. /* */
  16. #include <stdlib.h>
  17.  
  18. int main(int argc, char** argv)
  19. {
  20. (void)argv;
  21. #ifndef __GLIBC__
  22. return ((int*)(&__GLIBC__))[argc];
  23. #else
  24. (void)argc;
  25. return 0;
  26. #endif
  27. }
Advertisement
Add Comment
Please, Sign In to add comment