[#5432] build qt into flat format fails for plugin issue

Document created by Aaronwu Employee on Sep 4, 2013
Version 1Show Document
  • View in full screen mode

[#5432] build qt into flat format fails for plugin issue

Submitted By: Mingquan Pan

Open Date

2009-08-12 19:34:41     Close Date

2009-08-16 17:44:27

Priority:

Medium     Assignee:

Sonic Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

09r1-rc9

App binary format:

N/A     

Summary: build qt into flat format fails for plugin issue

Details:

 

build qt into flat format fails for plugin issue.

 

install -m 644 -p "../../../../plugins/imageformats/libqico.a" "/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib/qt/imageformats/libqico.a"

bfin-uclinux-ranlib "/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib/qt/imageformats/libqico.a"

make[7]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins/imageformats/ico'

make[6]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins/imageformats'

cd mousedrivers/ && make -f Makefile install

make[6]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers'

cd linuxis/ && make -f Makefile install

make[7]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis'

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/bin/qmake QMAKE_ABSOLUTE_SOURCE_PATH=/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis -spec /home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/mkspecs/qws/linux-bfin-flat-g++ -unix -o Makefile /home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxis.pro

bfin-uclinux-g++ -c -pipe -DQT_LINUX_NOMMU -DQT_NO_LIBRARY -O2 -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -fPIC -Wall -W -fPIC -DQT_NO_LIBRARY -DQT_NO_DEBUG -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/mkspecs/qws/linux-bfin-flat-g++ -I/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/accessible/widgets -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include -I.moc/release-static-emb-bfin -I/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins/accessible/widgets/.uic/release-static-emb-bfin -I. -o .obj/release-static-emb-bfin/qaccessiblemenu.o /home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/accessible/widgets/qaccessiblemenu.cpp

make[7]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis'

make[7]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis'

bfin-uclinux-g++ -c -pipe -DQT_LINUX_NOMMU -DQT_NO_LIBRARY -O2 -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -fPIC -Wall -W -fPIC -DQT_NO_LIBRARY -DQT_NO_DEBUG -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/mkspecs/qws/linux-bfin-flat-g++ -I/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include -I.moc/release-static-emb-bfin -I/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/.uic/release-static-emb-bfin -I. -o .obj/release-static-emb-bfin/linuxismousedriverplugin.o /home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.cpp

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.h:47: error: expected class-name before 鈥榹鈥�token

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.h:53: error: ISO C++ forbids declaration of 鈥楺WSMouseHandler鈥�with no type

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.h:53: error: expected 鈥�鈥�before 鈥�鈥�token

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.h:54: error: ISO C++ forbids declaration of 鈥楺WSMouseHandler鈥�with no type

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.h:54: error: expected 鈥�鈥�before 鈥�鈥�token

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.h:47: warning: 鈥榗lass LinuxInputSubsystemMouseDriverPlugin鈥�has virtual functions but non-virtual destructor

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.cpp: In constructor 鈥楲inuxInputSubsystemMouseDriverPlugin::LinuxInputSubsystemMouseDriverPlugin(QObject*)鈥�

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.cpp:52: error: class 鈥楲inuxInputSubsystemMouseDriverPlugin鈥�does not have any field named 鈥楺MouseDriverPlugin鈥

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.cpp: At global scope:

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.cpp:60: error: no 鈥楺WSMouseHandler* LinuxInputSubsystemMouseDriverPlugin::create(const QString&, const QString&)鈥�member function declared in class 鈥楲inuxInputSubsystemMouseDriverPlugin鈥

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.cpp:69: error: prototype for 鈥楺WSMouseHandler* LinuxInputSubsystemMouseDriverPlugin::create(const QString&)鈥�does not match any in class 鈥楲inuxInputSubsystemMouseDriverPlugin鈥

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.cpp:60: error: candidate is: QWSMouseHandler* LinuxInputSubsystemMouseDriverPlugin::create(const QString&, const QString&)

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.cpp: In function 鈥楺Object* qt_plugin_instance_qwslinuxismousehandler()鈥�

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis/linuxismousedriverplugin.cpp:83: error: no match for 鈥榦perator=鈥�in 鈥榑instance = (((LinuxInputSubsystemMouseDriverPlugin*)operator new(4u)), (<anonymous>->LinuxInputSubsystemMouseDriverPlugin::LinuxInputSubsystemMouseDriverPlugin(0u), <anonymous>))鈥

../../../../include/QtCore/../../../qt-embedded-linux-opensource-src-4.5.1/src/corelib/kernel/qpointer.h:65: note: candidates are: QPointer<T>& QPointer<T>::operator=(const QPointer<T>&) [with T = QObject]

../../../../include/QtCore/../../../qt-embedded-linux-opensource-src-4.5.1/src/corelib/kernel/qpointer.h:67: note:                 QPointer<T>& QPointer<T>::operator=(T*) [with T = QObject]

make[7]: *** [.obj/release-static-emb-bfin/linuxismousedriverplugin.o] Error 1

make[7]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers/linuxis'

make[6]: *** [sub-linuxis-install_subtargets] Error 2

make[6]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins/mousedrivers'

make[5]: *** [sub-mousedrivers-install_subtargets] Error 2

make[5]: *** Waiting for unfinished jobs....

rm -f libqtaccessiblewidgets.a

bfin-uclinux-ar cqs libqtaccessiblewidgets.a .obj/release-static-emb-bfin/main.o .obj/release-static-emb-bfin/simplewidgets.o .obj/release-static-emb-bfin/rangecontrols.o .obj/release-static-emb-bfin/complexwidgets.o .obj/release-static-emb-bfin/qaccessiblewidgets.o .obj/release-static-emb-bfin/qaccessiblemenu.o

bfin-uclinux-ranlib libqtaccessiblewidgets.a

rm -f ../../../../plugins/accessible/libqtaccessiblewidgets.a

mv -f libqtaccessiblewidgets.a ../../../../plugins/accessible/

install -m 644 -p "../../../../plugins/accessible/libqtaccessiblewidgets.a" "/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib/qt/accessible/libqtaccessiblewidgets.a"

bfin-uclinux-ranlib "/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib/qt/accessible/libqtaccessiblewidgets.a"

make[7]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins/accessible/widgets'

make[6]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins/accessible'

make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/plugins'

make[4]: *** [sub-plugins-install_subtargets-ordered] Error 2

make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded'

make[2]: *** [qt-embedded] Error 2

make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

make: *** [subdirs] Error 1

test@uclinux61-bf548-std:~/work/cruise/test_scripts/uclinux-dist/logs>

 

Follow-ups

 

--- Sonic Zhang                                              2009-08-13 05:28:27

Fixed

 

Don't build plugins in flat mode.

 

 

--- Mingquan Pan                                             2009-08-16 22:44:53

It can build through now. So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes