I'm trying to build devel/ncursesw from pkgsrc 2009Q4 on solaris 10 u8 with gcc 3.4.3.
cd ../lib && /usr/pkgsrc/devel/ncursesw/work/.wrapper/bin/libtool --tag=CXX --mode=link /usr/pkgsrc/devel/ncursesw/work/.wrapper/bin/g++ /usr/pkgsrc/devel/ncursesw/work/.wrapper/bin/g++ -O -I/usr/pkg/include/ncurses -D_XPG5 -o libncurses++
w.la ../obj_lo/cursesf.lo ../obj_lo/cursesm.lo ../obj_lo/cursesw.lo ../obj_lo/cursespad.lo ../obj_lo/cursesp.lo ../obj_lo/cursslk.lo ../obj_lo/cursesapp.lo ../obj_lo/cursesmain.lo -rpath /usr/pkg/lib -version-info 5:7 -L../lib -lncursesw
*** [buildlink3] Warning: libtool replaced -lncursesw with ../lib/
libncursesw.lalibtool: link: CC -G -hlibncurses++w.so.5 -o .libs/libncurses++w.so.5.0.7 ../obj_lo/.libs/cursesf.o ../obj_lo/.libs/cursesm.o ../obj_lo/.libs/cursesw.o ../obj_lo/.libs/cursespad.o ../obj_lo/.libs/cursesp.o ../obj_lo/.libs/cursslk.o ../obj_lo/.libs/cursesapp.o ../obj_lo/.libs/cursesmain.o -R/usr/pkgsrc/devel/ncursesw/work/ncurses-5.7/lib/.libs -R/usr/pkg/lib -L/usr/pkgsrc/devel/ncursesw/work/ncurses-5.7/lib ../lib/.libs/libncursesw.so -L/usr/pkgsrc/devel/ncursesw/work/.buildlink/lib -library=Cstd -library=Crun -lc
ld: fatal: library -library=Cstd: not found
ld: fatal: library -library=Crun: not found
ld: fatal: File processing errors. No output written to .libs/libncurses++w.so.5.0.7
collect2: ld returned 1 exit status
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/ncursesw/work/ncurses-5.7/c++
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/ncursesw/work/ncurses-5.7
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/ncursesw
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/ncursesw
Thanks for your help.