[root@localhost ~]# cd /root/Desktop/qt-x11/tools/qvfb
[root@localhost qvfb]# qmake qvfb.pro
[root@localhost qvfb]# make
g++ -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.5.0-tp1/lib -o ../../bin/qvfb qvfb.o qvfbview.o qvfbratedlg.o main.o qanimationwriter.o qvfbprotocol.o qvfbshmem.o qvfbmmap.o qlock.o qwssignalhandler.o qvfbx11view.o x11keyfaker.o moc_qvfb.o moc_qvfbview.o moc_qvfbratedlg.o moc_gammaview.o moc_qvfbprotocol.o moc_qvfbshmem.o moc_qvfbmmap.o moc_qvfbx11view.o moc_x11keyfaker.o qrc_qvfb.o qrc_ClamshellPhone.o qrc_PDAPhone.o qrc_SmartPhone2.o qrc_SmartPhone.o qrc_SmartPhoneWithButtons.o qrc_TouchscreenPhone.o qrc_Trolltech-Keypad.o qrc_Trolltech-Touchscreen.o qrc_PortableMedia.o -L/usr/local/Trolltech/QtEmbedded-4.5.0-tp1/lib -lXtst -lQtGui -L/usr/local/Trolltech/QtEmbedded-4.5.0-tp1/lib -lpng -lfreetype -lQtNetwork -lQtCore -lz -lm -lrt -ldl -lpthread
qvfb.o: In function `QVFb::setZoom(double)':
qvfb.cpp:(.text+0x4a6): undefined reference to `DeviceSkin::setTransform(QMatrix const&)'
qvfb.o: In function `QVFb::enableCursor(bool)':
qvfb.cpp:(.text+0x74b): undefined reference to `DeviceSkin::hasCursor() const'
qvfb.o: In function `QVFb::skinConfigChosen(int)':
qvfb.cpp:(.text+0x3fb2): undefined reference to `DeviceSkinParameters::read(QString const&, DeviceSkinParameters::ReadMode, QString*)'
qvfb.
o: In function `QVFb
::init(int,
int,
int,
int,
int,
QString const
&)':qvfb.cpp:(.text+0x6bbe): undefined reference to `DeviceSkinParameters::read(QString const&, DeviceSkinParameters::ReadMode, QString*)'
qvfb.
cpp:(.
text+0x6bea
): undefined reference to `DeviceSkin
::DeviceSkin(DeviceSkinParameters const
&,
QWidget*)'qvfb.cpp:(.text+0x6cf7): undefined reference to `DeviceSkin::setView(QWidget*)'
qvfb.cpp:(.text+0x70a1): undefined reference to `DeviceSkinParameters::hasSecondaryScreen() const'
qvfb.cpp:(.text+0x71ee): undefined reference to `DeviceSkinParameters::secondaryScreenSize() const'
qvfb.
cpp:(.
text+0x7267
): undefined reference to `DeviceSkin
::setSecondaryView(QWidget*)'qvfbx11view.o: In function `QVFbX11View::startXnest()':
qvfbx11view.
cpp:(.
text+0x1f96
): undefined reference to `
QX11Info::display()'qvfbx11view.cpp:(.text+0x1fa1): undefined reference to `QX11Info::appScreen()'
qvfbx11view.
cpp:(.
text+0x1fb6
): undefined reference to `
QX11Info::display()'qvfbx11view.cpp:(.text+0x1fc1): undefined reference to `QX11Info::appScreen()'
qvfbx11view.
cpp:(.
text+0x1fec
): undefined reference to `
QX11Info::display()'qvfbx11view.cpp:(.text+0x2037): undefined reference to `QX11Info::display()'
qvfbx11view.
cpp:(.
text+0x2055
): undefined reference to `
QX11Info::appVisual(int)'qvfbx11view.cpp:(.text+0x205c): undefined reference to `QX11Info::display()'
qvfbx11view.
cpp:(.
text+0x2067
): undefined reference to `
QX11Info::appScreen()'qvfbx11view.cpp:(.text+0x214a): undefined reference to `QX11Info::display()'
qvfbx11view.
cpp:(.
text+0x2155
): undefined reference to `
QX11Info::appScreen()'qvfbx11view.cpp:(.text+0x2276): undefined reference to `QX11Info::display()'
moc_qvfb.
o:(.
rodata._ZTV4QVFb
[vtable
for QVFb
]+0xb0
): undefined reference to `
QWidget::x11Event(_XEvent
*)'moc_qvfb.o:(.rodata._ZTV6Zoomer[vtable for Zoomer]+0xb0): undefined reference to `QWidget::x11Event(_XEvent*)'
moc_qvfbview.
o:(.
rodata._ZTV8QVFbView
[vtable
for QVFbView
]+0xb0
): undefined reference to `
QWidget::x11Event(_XEvent
*)'moc_qvfbview.o:(.rodata._ZTV16QVFbAbstractView[vtable for QVFbAbstractView]+0xb0): undefined reference to `QWidget::x11Event(_XEvent*)'
moc_qvfbratedlg.
o:(.
rodata._ZTV14QVFbRateDialog
[vtable
for QVFbRateDialog
]+0xb0
): undefined reference to `
QWidget::x11Event(_XEvent
*)'moc_gammaview.o:(.rodata._ZTV9GammaView[vtable for GammaView]+0xb0): more undefined references to `QWidget::x11Event(_XEvent*)' follow
collect2: ld returned 1 exit status
make: *** [../../bin/qvfb] Error 1
[root@localhost ~]# cd /root/Desktop/qt-x11/tools/qvfb
[root@localhost qvfb]# qmake qvfb.pro
[root@localhost qvfb]# make
g++ -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.5.0-tp1/lib -o ../../bin/qvfb qvfb.o qvfbview.o qvfbratedlg.o main.o qanimationwriter.o qvfbprotocol.o qvfbshmem.o qvfbmmap.o qlock.o qwssignalhandler.o qvfbx11view.o x11keyfaker.o moc_qvfb.o moc_qvfbview.o moc_qvfbratedlg.o moc_gammaview.o moc_qvfbprotocol.o moc_qvfbshmem.o moc_qvfbmmap.o moc_qvfbx11view.o moc_x11keyfaker.o qrc_qvfb.o qrc_ClamshellPhone.o qrc_PDAPhone.o qrc_SmartPhone2.o qrc_SmartPhone.o qrc_SmartPhoneWithButtons.o qrc_TouchscreenPhone.o qrc_Trolltech-Keypad.o qrc_Trolltech-Touchscreen.o qrc_PortableMedia.o -L/usr/local/Trolltech/QtEmbedded-4.5.0-tp1/lib -lXtst -lQtGui -L/usr/local/Trolltech/QtEmbedded-4.5.0-tp1/lib -lpng -lfreetype -lQtNetwork -lQtCore -lz -lm -lrt -ldl -lpthread
qvfb.o: In function `QVFb::setZoom(double)':
qvfb.cpp:(.text+0x4a6): undefined reference to `DeviceSkin::setTransform(QMatrix const&)'
qvfb.o: In function `QVFb::enableCursor(bool)':
qvfb.cpp:(.text+0x74b): undefined reference to `DeviceSkin::hasCursor() const'
qvfb.o: In function `QVFb::skinConfigChosen(int)':
qvfb.cpp:(.text+0x3fb2): undefined reference to `DeviceSkinParameters::read(QString const&, DeviceSkinParameters::ReadMode, QString*)'
qvfb.o: In function `QVFb::init(int, int, int, int, int, QString const&)':
qvfb.cpp:(.text+0x6bbe): undefined reference to `DeviceSkinParameters::read(QString const&, DeviceSkinParameters::ReadMode, QString*)'
qvfb.cpp:(.text+0x6bea): undefined reference to `DeviceSkin::DeviceSkin(DeviceSkinParameters const&, QWidget*)'
qvfb.cpp:(.text+0x6cf7): undefined reference to `DeviceSkin::setView(QWidget*)'
qvfb.cpp:(.text+0x70a1): undefined reference to `DeviceSkinParameters::hasSecondaryScreen() const'
qvfb.cpp:(.text+0x71ee): undefined reference to `DeviceSkinParameters::secondaryScreenSize() const'
qvfb.cpp:(.text+0x7267): undefined reference to `DeviceSkin::setSecondaryView(QWidget*)'
qvfbx11view.o: In function `QVFbX11View::startXnest()':
qvfbx11view.cpp:(.text+0x1f96): undefined reference to `QX11Info::display()'
qvfbx11view.cpp:(.text+0x1fa1): undefined reference to `QX11Info::appScreen()'
qvfbx11view.cpp:(.text+0x1fb6): undefined reference to `QX11Info::display()'
qvfbx11view.cpp:(.text+0x1fc1): undefined reference to `QX11Info::appScreen()'
qvfbx11view.cpp:(.text+0x1fec): undefined reference to `QX11Info::display()'
qvfbx11view.cpp:(.text+0x2037): undefined reference to `QX11Info::display()'
qvfbx11view.cpp:(.text+0x2055): undefined reference to `QX11Info::appVisual(int)'
qvfbx11view.cpp:(.text+0x205c): undefined reference to `QX11Info::display()'
qvfbx11view.cpp:(.text+0x2067): undefined reference to `QX11Info::appScreen()'
qvfbx11view.cpp:(.text+0x214a): undefined reference to `QX11Info::display()'
qvfbx11view.cpp:(.text+0x2155): undefined reference to `QX11Info::appScreen()'
qvfbx11view.cpp:(.text+0x2276): undefined reference to `QX11Info::display()'
moc_qvfb.o:(.rodata._ZTV4QVFb[vtable for QVFb]+0xb0): undefined reference to `QWidget::x11Event(_XEvent*)'
moc_qvfb.o:(.rodata._ZTV6Zoomer[vtable for Zoomer]+0xb0): undefined reference to `QWidget::x11Event(_XEvent*)'
moc_qvfbview.o:(.rodata._ZTV8QVFbView[vtable for QVFbView]+0xb0): undefined reference to `QWidget::x11Event(_XEvent*)'
moc_qvfbview.o:(.rodata._ZTV16QVFbAbstractView[vtable for QVFbAbstractView]+0xb0): undefined reference to `QWidget::x11Event(_XEvent*)'
moc_qvfbratedlg.o:(.rodata._ZTV14QVFbRateDialog[vtable for QVFbRateDialog]+0xb0): undefined reference to `QWidget::x11Event(_XEvent*)'
moc_gammaview.o:(.rodata._ZTV9GammaView[vtable for GammaView]+0xb0): more undefined references to `QWidget::x11Event(_XEvent*)' follow
collect2: ld returned 1 exit status
make: *** [../../bin/qvfb] Error 1
To copy to clipboard, switch view to plain text mode
Can't figure out what to do about it.Please advice.
Bookmarks