Here comes the update for this issue.
I found that it's due to my mis-using the cross compiler. I should use the g++ instead of arm-linux-g++. Then "./configure" works well!
However, while perfoming "make" , there are so many compiling errors.Ex:
In file included from /usr/include/c++/4.3/list:68,
from /usr/local/Trolltech/Qt-4.6.2/include/QtCore/qlist.h:51,
from /usr/local/Trolltech/Qt-4.6.2/include/QtCore/qobject.h:50,
from /usr/local/Trolltech/Qt-4.6.2/include/QtCore/QObject:1,
from qmediapluginloader_p.h:63,
from qmediapluginloader.cpp:49:
/usr/include/c++/4.3/bits/stl_list.h:116: error: ‘ptrdiff_t’ does not name a type
/usr/include/c++/4.3/bits/stl_list.h:192: error: ‘ptrdiff_t’ does not name a type
/usr/include/c++/4.3/bits/stl_list.h:437: error: ‘ptrdiff_t’ does not name a type
In file included from /usr/local/Trolltech/Qt-4.6.2/include/QtCore/qobject.h:50,
from /usr/local/Trolltech/Qt-4.6.2/include/QtCore/QObject:1,
from qmediapluginloader_p.h:63,
from qmediapluginloader.cpp:49:
/usr/local/Trolltech/Qt-4.6.2/include/QtCore/qlist.h:166: error: ‘ptrdiff_t’ does not name a type
/usr/local/Trolltech/Qt-4.6.2/include/QtCore/qlist.h:213: error: ‘ptrdiff_t’ does not name a type
/usr/local/Trolltech/Qt-4.6.2/include/QtCore/qlist.h:292: error: ‘ptrdiff_t’ does not name a type
In file included from /usr/include/c++/4.3/map:65,
from /usr/local/Trolltech/Qt-4.6.2/include/QtCore/qmap.h:50,
from qmediapluginloader_p.h:65,
from qmediapluginloader.cpp:49:
/usr/include/c++/4.3/bits/stl_tree.h:158: error: ‘ptrdiff_t’ does not name a type
/usr/include/c++/4.3/bits/stl_tree.h:230: error: ‘ptrdiff_t’ does not name a type
/usr/include/c++/4.3/bits/stl_tree.h:339: error: ‘ptrdiff_t’ does not name a type
.................
I'm wondering if it's related to C++/4.3?
If anyone has any idea, please kindly let me know.
Thanks a lot!
Bookmarks