Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 657898 Details for
Bug 740042
media-libs/coin-4.0.2 fails to compile: include/Inventor/system/gl-headers.h:48:2: error: "don't know how to include gl.h header"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
1-CMakeError.log
1-CMakeError.log (text/plain), 13.60 KB, created by
Agostino Sarubbo
on 2020-09-02 08:21:07 UTC
(
hide
)
Description:
1-CMakeError.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-09-02 08:21:07 UTC
Size:
13.60 KB
patch
obsolete
>Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_4fb57 && [1/2] Building C object CMakeFiles/cmTC_4fb57.dir/src.c.o >[2/2] Linking C executable cmTC_4fb57 >FAILED: cmTC_4fb57 >: && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_4fb57.dir/src.c.o -o cmTC_4fb57 && : >ld.lld: error: undefined symbol: pthread_create >>>> referenced by src.c >>>> CMakeFiles/cmTC_4fb57.dir/src.c.o:(main) > >ld.lld: error: undefined symbol: pthread_detach >>>> referenced by src.c >>>> CMakeFiles/cmTC_4fb57.dir/src.c.o:(main) > >ld.lld: error: undefined symbol: pthread_cancel >>>> referenced by src.c >>>> CMakeFiles/cmTC_4fb57.dir/src.c.o:(main) > >ld.lld: error: undefined symbol: pthread_join >>>> referenced by src.c >>>> CMakeFiles/cmTC_4fb57.dir/src.c.o:(main) >clang-10: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > > >Source file was: >#include <pthread.h> > >void* test_func(void* data) >{ > return data; >} > >int main(void) >{ > pthread_t thread; > pthread_create(&thread, NULL, test_func, NULL); > pthread_detach(thread); > pthread_cancel(thread); > pthread_join(thread, NULL); > pthread_atfork(NULL, NULL, NULL); > pthread_exit(NULL); > > return 0; >} > >Determining if the function pthread_create exists in the pthreads failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_2489d && [1/2] Building C object CMakeFiles/cmTC_2489d.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_2489d >FAILED: cmTC_2489d >: && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_2489d.dir/CheckFunctionExists.c.o -o cmTC_2489d -lpthreads && : >ld.lld: error: unable to find library -lpthreads >clang-10: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > > > >Determining if the include file io.h exists failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_6fb26 && [1/2] Building C object CMakeFiles/cmTC_6fb26.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_6fb26.dir/CheckIncludeFile.c.o >/usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIE -MD -MT CMakeFiles/cmTC_6fb26.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_6fb26.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_6fb26.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: 'io.h' file not found >#include <io.h> > ^~~~~~ >1 error generated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file ieeefp.h exists failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_64559 && [1/2] Building C object CMakeFiles/cmTC_64559.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_64559.dir/CheckIncludeFile.c.o >/usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIE -MD -MT CMakeFiles/cmTC_64559.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_64559.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_64559.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: 'ieeefp.h' file not found >#include <ieeefp.h> > ^~~~~~~~~~ >1 error generated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file windows.h exists failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_f452a && [1/2] Building C object CMakeFiles/cmTC_f452a.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_f452a.dir/CheckIncludeFile.c.o >/usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIE -MD -MT CMakeFiles/cmTC_f452a.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_f452a.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_f452a.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: 'windows.h' file not found >#include <windows.h> > ^~~~~~~~~~~ >1 error generated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file mach-o/dyld.h exists failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_0a05a && [1/2] Building C object CMakeFiles/cmTC_0a05a.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_0a05a.dir/CheckIncludeFile.c.o >/usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIE -MD -MT CMakeFiles/cmTC_0a05a.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_0a05a.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_0a05a.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: 'mach-o/dyld.h' file not found >#include <mach-o/dyld.h> > ^~~~~~~~~~~~~~~ >1 error generated. >ninja: build stopped: subcommand failed. > > > >Determining if the function shl_load exists in the dld failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_a8f1e && [1/2] Building C object CMakeFiles/cmTC_a8f1e.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_a8f1e >FAILED: cmTC_a8f1e >: && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCHECK_FUNCTION_EXISTS=shl_load -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_a8f1e.dir/CheckFunctionExists.c.o -o cmTC_a8f1e -ldld && : >ld.lld: error: unable to find library -ldld >clang-10: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > > > >Determining if files GL/gl.h exist failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_ebec3 && [1/2] Building C object CMakeFiles/cmTC_ebec3.dir/HAVE_GL_GL_H.c.o >[2/2] Linking C executable cmTC_ebec3 >FAILED: cmTC_ebec3 >: && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_ebec3.dir/HAVE_GL_GL_H.c.o -o cmTC_ebec3 /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libXext.so /usr/lib64/libGLU.so /usr/lib64/libexpat.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libfreetype.so /usr/lib64/libsimage.so.1.8.0 -ldl /usr/lib64/libGLX.so /usr/lib64/libGLX.so /usr/lib64/libOpenGL.so -lpthread && : >ld.lld: error: /usr/lib64/libsimage.so.1.8.0: undefined reference to cos >ld.lld: error: /usr/lib64/libsimage.so.1.8.0: undefined reference to log10 >clang-10: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > > >Source: >/* */ >#include <GL/gl.h> > > >int main(void){return 0;} > >Determining if files GL/glu.h exist failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_cbaf9 && [1/2] Building C object CMakeFiles/cmTC_cbaf9.dir/HAVE_GL_GLU_H.c.o >[2/2] Linking C executable cmTC_cbaf9 >FAILED: cmTC_cbaf9 >: && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_cbaf9.dir/HAVE_GL_GLU_H.c.o -o cmTC_cbaf9 /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libXext.so /usr/lib64/libGLU.so /usr/lib64/libexpat.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libfreetype.so /usr/lib64/libsimage.so.1.8.0 -ldl /usr/lib64/libGLX.so /usr/lib64/libGLX.so /usr/lib64/libOpenGL.so -lpthread && : >ld.lld: error: /usr/lib64/libsimage.so.1.8.0: undefined reference to cos >ld.lld: error: /usr/lib64/libsimage.so.1.8.0: undefined reference to log10 >clang-10: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > > >Source: >/* */ >#include <GL/glu.h> > > >int main(void){return 0;} > >Determining if files GL/gl.h;GL/glext.h exist failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_e5f23 && [1/2] Building C object CMakeFiles/cmTC_e5f23.dir/HAVE_GL_GLEXT_H.c.o >[2/2] Linking C executable cmTC_e5f23 >FAILED: cmTC_e5f23 >: && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_e5f23.dir/HAVE_GL_GLEXT_H.c.o -o cmTC_e5f23 /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libXext.so /usr/lib64/libGLU.so /usr/lib64/libexpat.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libfreetype.so /usr/lib64/libsimage.so.1.8.0 -ldl /usr/lib64/libGLX.so /usr/lib64/libGLX.so /usr/lib64/libOpenGL.so -lpthread && : >ld.lld: error: /usr/lib64/libsimage.so.1.8.0: undefined reference to cos >ld.lld: error: /usr/lib64/libsimage.so.1.8.0: undefined reference to log10 >clang-10: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > > >Source: >/* */ >#include <GL/gl.h> >#include <GL/glext.h> > > >int main(void){return 0;} > >Determining if the ilogb exist failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_0b9cc && [1/2] Building C object CMakeFiles/cmTC_0b9cc.dir/CheckSymbolExists.c.o >[2/2] Linking C executable cmTC_0b9cc >FAILED: cmTC_0b9cc >: && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_0b9cc.dir/CheckSymbolExists.c.o -o cmTC_0b9cc && : >ld.lld: error: undefined symbol: ilogb >>>> referenced by CheckSymbolExists.c >>>> CMakeFiles/cmTC_0b9cc.dir/CheckSymbolExists.c.o:(main) >clang-10: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > > >File /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <math.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef ilogb > return ((int*)(&ilogb))[argc]; >#else > (void)argc; > return 0; >#endif >} >Determining if the _logb exist failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_67c8f && [1/2] Building C object CMakeFiles/cmTC_67c8f.dir/CheckSymbolExists.c.o >FAILED: CMakeFiles/cmTC_67c8f.dir/CheckSymbolExists.c.o >/usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIE -MD -MT CMakeFiles/cmTC_67c8f.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_67c8f.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_67c8f.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c >CheckSymbolExists.c:8:19: error: use of undeclared identifier '_logb' > return ((int*)(&_logb))[argc]; > ^ >1 error generated. >ninja: build stopped: subcommand failed. > > >File /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <float.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef _logb > return ((int*)(&_logb))[argc]; >#else > (void)argc; > return 0; >#endif >} >Determining if the __builtin_expect exist failed with the following output: >Change Dir: /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_a17e3 && [1/2] Building C object CMakeFiles/cmTC_a17e3.dir/CheckSymbolExists.c.o >FAILED: CMakeFiles/cmTC_a17e3.dir/CheckSymbolExists.c.o >/usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIE -MD -MT CMakeFiles/cmTC_a17e3.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_a17e3.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_a17e3.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c >CheckSymbolExists.c:8:19: error: builtin functions must be directly called > return ((int*)(&__builtin_expect))[argc]; > ^ >1 error generated. >ninja: build stopped: subcommand failed. > > >File /var/tmp/portage/media-libs/coin-4.0.0/work/coin-4.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <assert.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef __builtin_expect > return ((int*)(&__builtin_expect))[argc]; >#else > (void)argc; > return 0; >#endif >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 740042
:
657896
| 657898 |
657900
|
734725