*** This bug is a duplicate of bug 1755184 ***
https://bugs.launchpad.net/bugs/1755184
** This bug has been marked a duplicate of bug 1755184
RM: obsolete product
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1752399
Title:
net-cpp fails to build with g++ 7
Status in net-cpp package in Ubuntu:
Triaged
Status in unity-scopes-api package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-cpp/+bug/1752399/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp