[3dprinter-general] Bug#917687: Bug#917687: cura-engine: FTBFS: ./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: undefined reference to `pthread_create'

Adrian Bunk bunk at debian.org
Wed Jan 2 21:07:44 GMT 2019


On Wed, Jan 02, 2019 at 09:56:51PM +0100, Gregor Riepl wrote:
> >> That, or the fix wasn't enough.
> > 
> > Works for me.
> 
> Odd.
> 
> > What failure are you getting, and what is the contents
> > of /usr/lib/x86_64-linux-gnu/pkgconfig/polyclipping.pc ?
> 
> I'm getting the same pthread detection error as reported in the bug.

The pthread detection error is just part of a huge log file that gets 
dumped when cmake fails, with contents mostly unrelated to the problem.

In your build log, what are the lines *before*
  ==> CMakeCache.txt <==
?

> Contents:
> 
> $ cat /usr/lib/x86_64-linux-gnu/pkgconfig/polyclipping.pc
> prefix=/usr
> exec_prefix=${prefix}
> libdir=${prefix}/lib/x86_64-linux-gnu
> sharedlibdir=${prefix}/lib/x86_64-linux-gnu
> includedir=${prefix}/include/polyclipping
> 
> Name: polyclipping
> Description: polygon clipping library
> Version:
> 
> Requires:
> Libs: -L${libdir} -L${sharedlibdir} -lpolyclipping
> Cflags: -I${includedir}

Looks OK to me.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the 3dprinter-general mailing list