Public bug reported:
net-cpp is failing to build. The last output in the build log is:
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/net-cpp-2.2.0+17.04.20161108
.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FO
RTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-Bsymbolic-functions
-Wl,-z,relro -rdynamic CMakeFiles/cmTC_6912c.dir/CheckFunctionExists.c.o -o cm
TC_6912c -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_6912c.dir/build.make:97: recipe for target 'cmTC_6912c' failed
make[3]: *** [cmTC_6912c] Error 1
-lpthreads is the wrong high-level option, the portable option is
'-pthread'.
This failure happens as part of cmake configuration, so I don't know if
this is the root cause of the build failure or not. cmake error output
is opaque.
** Affects: net-cpp (Ubuntu)
Importance: Critical
Assignee: Ubuntu Desktop (ubuntu-desktop)
Status: Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752399
Title:
net-cpp fails to build with g++ 7
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-cpp/+bug/1752399/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs