[#5131] Build qt fails in trunk when USB is enabled

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

[#5131] Build qt fails in trunk when USB is enabled

Submitted By: Vivi Li

Open Date

2009-05-15 05:35:31     Close Date

2009-07-23 10:21:13

Priority:

Medium High     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Make Errors     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1_rc6

App binary format:

N/A     

Summary: Build qt fails in trunk when USB is enabled

Details:

 

Build qt fails in trunk.

 

Bellow is the log:

--

bfin-linux-uclibc-g++ -c -pipe -DQT_LINUX_NOMMU -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_RASTER_PAINTENGINE -DQT_NO_FONTCONFIG -DQT_NO_FREETYPE -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -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.0/mkspecs/qws/linux-bfin-fdpic-g++ -I/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/gui -I../../include/QtCore -I../../include/QtNetwork -I../../include -I../../include/QtGui -I.rcc/release-shared-emb-bfin -I/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/3rdparty/harfbuzz/src -I/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/gui/dialogs -I.moc/release-shared-emb-bfin -I.uic/release-shared-emb-bfin -I. -o .obj/release-shared-emb-bfin/qkbdusb_qws.o /home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/gui/embedded/qkbdusb_qws.cpp^M

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/gui/embedded/qkbdusb_qws.cpp:92: error: ‘QWSUsbKeyboardHandler’ has not been declared^M

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/gui/embedded/qkbdusb_qws.cpp:92: error: ISO C++ forbids declaration of ‘QWSUsbKeyboardHandler’ with no type^M

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/gui/embedded/qkbdusb_qws.cpp: In function ‘int QWSUsbKeyboardHandler(const QString&)’:^M

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/gui/embedded/qkbdusb_qws.cpp:93: error: only constructors take base initializers^M

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/gui/embedded/qkbdusb_qws.cpp:95: error: ‘d’ was not declared in this scope^M

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/gui/embedded/qkbdusb_qws.cpp:95: error: invalid use of ‘this’ in non-member function^M

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/gui/embedded/qkbdusb_qws.cpp: At global scope:^M

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.0/src/gui/embedded/qkbdusb_qws.cpp:98: error: expected constructor, destructor, or type conversion before ‘::’ token^M

make[5]: *** [.obj/release-shared-emb-bfin/qkbdusb_qws.o] Error 1^M

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

make[4]: *** [sub-gui-install_subtargets-ordered] Error 2^M

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

--

 

Follow-ups

 

--- Mike Frysinger                                           2009-05-15 05:38:19

you need to post all of the .config files you're using to compile

 

--- Mike Frysinger                                           2009-05-19 01:14:42

i just tested both FLAT and FDPIC and both compiled fine

 

--- Vivi Li                                                  2009-05-19 22:56:41

I attached the config file for flat format.

 

--- Mike Frysinger                                           2009-05-27 03:06:28

should be fixed now by updating the example ifdef mess

 

--- Vivi Li                                                  2009-07-07 06:39:22

I can build qt in fdpic format now.

 

But still failed to build in static flat format.

--

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/3rdparty/webkit/WebCore/platform/FileSystem.h:101:

error: expected initializer before ‘*’ token^M

/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/3rdparty/webkit/WebCore/platform/FileSystem.h:159:

error: ‘PlatformModule’ was not declared in this scope^M

make[5]: *** [.obj/release-static-emb-bfin/File.o] Error 1^M

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/3rdparty/webkit/WebCore'^M

make[4]: *** [sub-webkit-install_subtargets-ordered] Error 2^M

make[4]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1'^M

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

make[3]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/lib/qt-embedded'^M

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

make[2]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/lib'^M

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

make[1]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/lib'^M

make: *** [subdirs] Error 1^M

--

 

--- Mike Frysinger                                           2009-07-07 14:21:39

that is a different issue.  if you disable the webkit part, it should build

fine.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.kernel.qt.flat    application/octet-stream    36896    Vivi Li

config.user.qt.flat    application/octet-stream    46394    Vivi Li

Outcomes