See the "link problems" thread for more issues and discussed/planned fixes.
Frank
On 10/13/13 00:18, Ryo ONODERA wrote:
From: Ryo ONODERA <ryo...@yk.rim.or.jp>, Date: Sat, 12 Oct 2013 21:56:15 +0900
(JST)
Hi,
From: Thomas Klausner <w...@netbsd.org>, Date: Sat, 12 Oct 2013 14:49:03 +0200
Hi!
I'm confused by editors/Sigil breakage:
Linking CXX executable ../../bin/sigil
ld: /scratch/editors/Sigil/work/.buildlink/qt4/lib/libQtCore.so: undefined
reference to symbol 'pthread_cancel'
ld: note: 'pthread_cancel' is defined in DSO /usr/lib/libpthread.so.1 so try
adding it to the linker command line
/usr/lib/libpthread.so.1: could not read symbols: Invalid operation
*** Error code 1
The Sigil source code does not use pthread_cancel. QtCore itself is
linked against pthread:
# ldd /usr/pkg/qt4/lib/libQtCore.so
/usr/pkg/qt4/lib/libQtCore.so:
-lz.1 => /usr/lib/libz.so.1
-lgcc_s.1 => /usr/lib/libgcc_s.so.1
-lc.12 => /usr/lib/libc.so.12
-lstdc++.7 => /usr/lib/libstdc++.so.7
-lm.0 => /usr/lib/libm.so.0
-lpthread.1 => /usr/lib/libpthread.so.1
So where is the problem?
Now I updating my NetBSD current environment.
I will try to build Sigil on 6.99.24.
I can reproduce it on today's NetBSD/amd64 6.99.24.
It seems http://mail-index.netbsd.org/pkgsrc-users/2013/10/04/msg018735.html
is same problem.
editors/Sigil that is built on NetBSD/amd64 6.99.23 works with no error
on today's NetBSD/amd64 6.99.24.
--
Ryo ONODERA // ryo...@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3