[Paraview] CMake error from VTKConfig.cmake
Christoph Grüninger
foss at grueninger.de
Mon Apr 16 16:54:46 EDT 2018
Hi Utkarsh,
thanks for the hint. But I got a linker error instead. I attached the
error below. pthread is found by CMake.
Regarding the log and/or VTKmConfig.cmake, it'll take me a couple of
days to provide these. I use the online frontend and have no access to
arbitrary files. I have to use obs to create a local copy and compile it
here.
Bye
Chirstoph
Error:
> [ 487s] /usr/bin/gcc -fPIC -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -w -w -O2 -g -DNDEBUG -Wl,-lc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -shared -Wl,-soname,libvtklzma-pv5.5.so.1 -o ../../../../lib/libvtklzma-pv5.5.so.1 CMakeFiles/vtklzma.dir/src/common/tuklib_cpucores.c.o CMakeFiles/vtklzma.dir/src/common/tuklib_physmem.c.o CMakeFiles/vtklzma.dir/src/liblzma/check/check.c.o CMakeFiles/vtklzma.dir/src/liblzma/check/crc32_fast.c.o CMakeFiles/vtklzma.dir/src/liblzma/check/crc32_table.c.o CMakeFiles/vtklzma.dir/src/liblzma/check/crc64_fast.c.o CMakeFiles/vtklzma.dir/src/liblzma/check/crc64_table.c.o CMakeFiles/vtklzma.dir/src/liblzma/check/sha256.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/alone_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/alone_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/auto_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/block_buffer_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/block_buffer_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/block_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/block_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/block_header_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/block_header_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/block_util.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/common.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/easy_buffer_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/easy_decoder_memusage.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/easy_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/easy_encoder_memusage.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/easy_preset.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/filter_buffer_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/filter_buffer_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/filter_common.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/filter_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/filter_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/filter_flags_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/filter_flags_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/hardware_cputhreads.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/hardware_physmem.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/index.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/index_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/index_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/index_hash.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/outqueue.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/stream_buffer_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/stream_buffer_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/stream_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/stream_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/stream_encoder_mt.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/stream_flags_common.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/stream_flags_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/stream_flags_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/vli_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/vli_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/common/vli_size.c.o CMakeFiles/vtklzma.dir/src/liblzma/delta/delta_common.c.o CMakeFiles/vtklzma.dir/src/liblzma/delta/delta_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/delta/delta_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/lzma/fastpos_table.c.o CMakeFiles/vtklzma.dir/src/liblzma/lzma/lzma2_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/lzma/lzma2_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/lzma/lzma_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/lzma/lzma_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/lzma/lzma_encoder_optimum_fast.c.o CMakeFiles/vtklzma.dir/src/liblzma/lzma/lzma_encoder_optimum_normal.c.o CMakeFiles/vtklzma.dir/src/liblzma/lzma/lzma_encoder_presets.c.o CMakeFiles/vtklzma.dir/src/liblzma/lz/lz_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/lz/lz_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/lz/lz_encoder_mf.c.o CMakeFiles/vtklzma.dir/src/liblzma/rangecoder/price_table.c.o CMakeFiles/vtklzma.dir/src/liblzma/simple/arm.c.o CMakeFiles/vtklzma.dir/src/liblzma/simple/armthumb.c.o CMakeFiles/vtklzma.dir/src/liblzma/simple/ia64.c.o CMakeFiles/vtklzma.dir/src/liblzma/simple/powerpc.c.o CMakeFiles/vtklzma.dir/src/liblzma/simple/simple_coder.c.o CMakeFiles/vtklzma.dir/src/liblzma/simple/simple_decoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/simple/simple_encoder.c.o CMakeFiles/vtklzma.dir/src/liblzma/simple/sparc.c.o CMakeFiles/vtklzma.dir/src/liblzma/simple/x86.c.o
> [ 487s] CMakeFiles/vtklzma.dir/src/liblzma/common/stream_encoder_mt.c.o: In function `mythread_join':
> [ 487s] /home/abuild/rpmbuild/BUILD/ParaView-v5.5.0/VTK/ThirdParty/lzma/vtklzma/src/common/mythread.h:173: undefined reference to `pthread_join'
> [ 487s] CMakeFiles/vtklzma.dir/src/liblzma/common/stream_encoder_mt.c.o: In function `mythread_sigmask':
> [ 487s] /home/abuild/rpmbuild/BUILD/ParaView-v5.5.0/VTK/ThirdParty/lzma/vtklzma/src/common/mythread.h:146: undefined reference to `pthread_sigmask'
> [ 487s] CMakeFiles/vtklzma.dir/src/liblzma/common/stream_encoder_mt.c.o: In function `mythread_create':
> [ 487s] /home/abuild/rpmbuild/BUILD/ParaView-v5.5.0/VTK/ThirdParty/lzma/vtklzma/src/common/mythread.h:163: undefined reference to `pthread_create'
> [ 487s] CMakeFiles/vtklzma.dir/src/liblzma/common/stream_encoder_mt.c.o: In function `mythread_sigmask':
> [ 487s] /home/abuild/rpmbuild/BUILD/ParaView-v5.5.0/VTK/ThirdParty/lzma/vtklzma/src/common/mythread.h:146: undefined reference to `pthread_sigmask'
> [ 488s] collect2: error: ld returned 1 exit status
> [ 488s] make[2]: *** [VTK/ThirdParty/lzma/vtklzma/CMakeFiles/vtklzma.dir/build.make:1970: lib/libvtklzma-pv5.5.so.1] Error 1
More information about the ParaView
mailing list