|
楼主 |
发表于 2005-9-29 16:19:04
|
显示全部楼层
make能通过。但是
在make -C tools/makeqpf 是出错了,信息如下:
[root@denixleen qt-embedded-free-2.3.10-debug]# make -C tools/makeqpf
make: Entering directory `/home/denixleen/Trolltech/qt-embedded-free-2.3.10-debu
g/tools/makeqpf'
g++ -L/home/denixleen/Trolltech/qt-embedded-free-2.3.10-debug/lib -Wl,-rpath,/ho
me/denixleen/Trolltech/qt-embedded-free-2.3.10-debug/lib -o ./makeqpf main.o
-lqte -lm
main.o(.text+0x10f2): In function `MakeQPF::staticMetaObject()':: undefined refe
rence to `QMetaObject::new_metaobject(char const*, char const*, QMetaData*, int,
QMetaData*, int, QClassInfo*, int)'
main.o(.gnu.linkonce.r._ZTV7MakeQPF+0x13c): undefined reference to `QWidget:11
Event(_XEvent*)'
main.o(.gnu.linkonce.r._ZTV7MakeQPF+0x1b4): undefined reference to `QPaintDevice
::setX11Data(QPaintDeviceX11Data const*)'
main.o(.gnu.linkonce.r._ZTI7MakeQPF+0x: undefined reference to `typeinfo for Q
MainWindow'
main.o(.gnu.linkonce.r._ZTI6QGList+0x: undefined reference to `typeinfo for QC
ollection'
main.o(.gnu.linkonce.r._ZTI12FontViewItem+0x: undefined reference to `typeinfo
for QListViewItem'
/home/denixleen/Trolltech/qt-embedded-free-2.3.10-debug/lib/libqte.so: undefined
reference to `QSemiModal::className() const'
/home/denixleen/Trolltech/qt-embedded-free-2.3.10-debug/lib/libqte.so: undefined
reference to `QNetworkProtocol::connectionStateChanged(int, QString const&)'
/home/denixleen/Trolltech/qt-embedded-free-2.3.10-debug/lib/libqte.so: undefined
reference to `vtable for QSemiModal'
/home/denixleen/Trolltech/qt-embedded-free-2.3.10-debug/lib/libqte.so: undefined
reference to `QFontDialog::fontHighlighted
。。。(中间省略,也是关于一下undefined reference 的信息)。。。
/home/denixleen/Trolltech/qt-embedded-free-2.3.10-debug/lib/libqte.so: undefined
reference to `QLocalFs::tr(char const*)'
/home/denixleen/Trolltech/qt-embedded-free-2.3.10-debug/lib/libqte.so: undefined
reference to `vtable for QMotifPlusStyle'
collect2: ld returned 1 exit status
make: *** [makeqpf] 错误 1
make: Leaving directory `/home/denixleen/Trolltech/qt-embedded-free-2.3.10-debug
/tools/makeqpf'
请问,这是怎么一回事?怎么解决呢?谢谢 |
|