r_koba****@hones*****
r_koba****@hones*****
2002年 9月 24日 (火) 14:37:03 JST
小林です。 久しぶりに、試せる時間がもてたので再び試してみました。 環境は gcc 2.95.3/cppunit 1.9.10 それで、心機一転全て最初からやろうとおもい configure を実行した ところ、 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably *** create self contained shared libraries on Solaris systems, without *** introducing a dependency on libgcc.a. Therefore, libtool is disabling *** -no-undefined support, which will at least allow you to build shared *** libraries. However, you may find that when you link such libraries *** into an application without using GCC, you have to manually add *** `gcc --print-libgcc-file-name` to the link command. We urge you to *** upgrade to a newer version of GCC. Another option is to rebuild your *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. なる、warningがでてました...んぁ、かなりみすごしてた... 今まではリンカに/usr/ccs/bin/ld(Solaris標準搭載)を 使っていたのですが、'GNU リンカ使えや' などでてるので、binutils(2.11.2)を入れた後に再び configure を --with-gnu-ld オプションをつけたら warning もでないので これはとおもい、make 後 make check コアも吐かれずに正常終了。 結局、リンカのせいだったとは... ちなみに1.8.0でも試してみましたが、こちらもOKでした。 (1.8.0のconfigureでも同じwarningがでてました。) 場所によっては GNU ld 使えないってこともあるのでやっぱり 直してもらえたら助かるなぁと思う今日このごろです。 ============================================ R.Kobayashi E-mail r_koba****@hones***** ============================================