Am Samstag, den 16.12.2017, 10:28 +0100 schrieb Andreas Tille: > Hi Gert, > > I once injected version 0.8.0 where I ended up with > > /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/salmon-0.8.0+ds1=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_ > create -Wl,-z,relro -Wl,- > z,now CMakeFiles/cmTC_de0fb.dir/CheckFunctionExists.c.o -o > cmTC_de0fb -rdynamic -lpthreads > /usr/bin/ld: cannot find -lpthreads > collect2: error: ld returned 1 exit status > > > I assume that would be easy to fix but got not help so far. I found > some hint in the web to add > > find_package(Threads) > > but I either did it on the wrong place or it does not help. The problem is, I didn't even get that far, as I pointes out, a file was missing to compile the whole thing.
I'll try to give it another shot by first compiling the origial version to see if I get it to work at all, end then re-applying the patches. Best, Gert