[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:24087] Re: qt-mt not found?



From: 末松 史朗 <byq04143@nifty.ne.jp>
Subject: [plamo:24081] Re: qt-mt not found?
Date: Tue, 9 Nov 2004 00:49:11 +0900

> なお、$ grep qt-mt config.log の結果は以下のようになりました。
> 参考になりますでしょうか。
> 
> configure:28521: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/include/qt -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/lib -L/usr/X11R6/lib   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lpthread 1>&5
> /usr/lib/libqt-mt.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_terminal@GLIBCPP_3.2'
> /usr/lib/libqt-mt.so: undefined reference to `operator new(unsigned)@GLIBCPP_3.2'
> /usr/lib/libqt-mt.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@GLIBCPP_3.2'
> /usr/lib/libqt-mt.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@GLIBCPP_3.2'
> /usr/lib/libqt-mt.so: undefined reference to `__gxx_personality_v0@CXXABI_1.2'
> /usr/lib/libqt-mt.so: undefined reference to `operator delete[](void*)@GLIBCPP_3.2'
> /usr/lib/libqt-mt.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@GLIBCPP_3.2'
> /usr/lib/libqt-mt.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.2'
> /usr/lib/libqt-mt.so: undefined reference to `operator new[](unsigned)@GLIBCPP_3.2'
> /usr/lib/libqt-mt.so: undefined reference to `operator delete(void*)@GLIBCPP_3.2'
> configure:28564: error: Qt (>= Qt 3.0) (library qt-mt) not found. Please check your installation!

このエラーを見る限り,libqt が見つからないのはなく conftest.cc が正し
くコンパイルできていないことが原因のように思います.

"undefined reference to.. " のエラーは,ここに表記されている関数参照が
正しく解決できなかった( = 該当するライブラリが見つからない or リンクで
きない)ことを示しています.

これらのエラーを見る限り,libstdc++ がらみのように見えますが,
/usr/lib/libstdc++.so とかはちゃんとあります?

#  d/gcc-3.3.2-i386-P1.tgz をインストールすれば大丈夫だと思うのだけど,,

--------
こじま

Follow-Ups
[plamo:24088] Re: qt-mt not found?, KOJIMA Mitsuhiro
References
[plamo:24067] qt-mt not found?, 末松 史朗
[plamo:24069] Re: qt-mt not found?, KOJIMA Mitsuhiro
[plamo:24081] Re: qt-mt not found?, 末松 史朗

[検索ページ] [メール一覧]
Plamo ML 公開システム