../../../dist/bin/libnspr4.so: undefined reference to `pthread_attr_setstacksize'
n/CITE
pth かなと思ったが違うらしい。
ttyp0:makoto@serv 13:57:18/040527(...www/mozilla)> nm /usr/pkg/lib/libpthread.so.20.20 | grep pthread_attr_setstacksize
00006994 T pthread_attr_setstacksize
ttyp0:makoto@serv 13:57:35/040527(...www/mozilla)> nm /usr/lib/libpthread.so.0.2 | grep pthread_attr_setstacksize
@
mozilla-stable でも同じ。:
c++ -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -O2 -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/include -Dunix -pthread -pipe -DNDEBUG -DTRIMMED -O2 -o regxpcom regxpcom.o -Wl,-R/usr/pkg/lib/mozilla-stable -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L../../../dist/bin -L../../../dist/lib ../../../dist/lib/libxpcomglue.a ../../../dist/lib/libembedstring.a -L/export/pkgsrc/www/mozilla-stable/work/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -L/usr/pkg/lib -L/usr/lib -L/usr/X11R6/lib
-pthread
-lm -lintl -Wl,--export-dynamic
../../../dist/bin/libnspr4.so: undefined reference to `pthread_attr_setstacksize'
gmake[4]: *** [regxpcom]
gmake[4]: Leaving directory `/export/pkgsrc/www/mozilla-stable/work/mozilla/xpcom/tools/registry'
@
-pthread -lm -lintl -Wl,--export-dynamic:
l の字が抜けている気がするが ?
-pthread でなくて
-lpthread ?
./patches/patch-bo:+ _PTHREAD_LDFLAGS="-pthread"
あれ、でも i386 では問題なかったから ... ? ここを変更したら、-lpthread のようになったが、まだ、全じようにだめ。