kavieen 发表于 2016-3-23 16:04:58

求助,编译Qt5.4.0时提示的错误

make: Entering directory '/usr/local/arm/qt5.4/qtbase/src/gui'
/usr/local/arm/qt5.4/qtbase/bin/qmake -o Makefile gui.pro
rm -f libQt5Gui.so.5.4.0 libQt5Gui.so libQt5Gui.so.5 libQt5Gui.so.5.4
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-g++ -lts -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/usr/local/arm/qte-arm/lib -shared -Wl,-soname,libQt5Gui.so.5 -o libQt5Gui.so.5.4.0 .obj/qimage_compat.o .obj/qaccessible.o .obj/qaccessiblecache.o .obj/qaccessibleobject.o .obj/qaccessibleplugin.o .obj/qplatformaccessibility.o .obj/qaccessiblebridge.o .obj/qgenericpluginfactory.o .obj/qgenericplugin.o .obj/qwindowsysteminte**ce.o .obj/qplatforminputcontextfactory.o .obj/qplatforminputcontextplugin.o .obj/qplatforminputcontext.o .obj/qplatformintegration.o .obj/qplatformdrag.o .obj/qplatformscreen.o .obj/qplatformintegrationfactory.o .obj/qplatformintegrationplugin.o .obj/qplatformtheme.o .obj/qplatformthemefactory.o .obj/qplatformthemeplugin.o .obj/qplatformwindow.o .obj/qplatformoffscreensu**ce.o .obj/qplatformcursor.o .obj/qplatformclipboard.o .obj/qplatformnativeinte**ce.o .obj/qsessionmanager.o .obj/qshapedpixmapdndwindow.o .obj/q**drag.o .obj/qsu**ceformat.o .obj/qguiapplication.o .obj/qwindow.o .obj/qoffscreensu**ce.o .obj/qplatformsu**ce.o .obj/qsu**ce.o .obj/qclipboard.o .obj/qcursor.o .obj/qdrag.o .obj/qdnd.o .obj/qevent.o .obj/qinputmethod.o .obj/qkeysequence.o .obj/qkeymapper.o .obj/qpalette.o .obj/qguivariant.o .obj/qscreen.o .obj/qshortcutmap.o .obj/qstylehints.o .obj/qtouchdevice.o .obj/qplatformsharedgraphicscache.o .obj/qplatformdialoghelper.o .obj/qplatformservices.o .obj/qplatformsystemtrayicon.o .obj/qplatformsessionmanager.o .obj/qplatformmenu.o .obj/qpixelformat.o .obj/qpaintdevicewindow.o .obj/qrasterwindow.o .obj/qbitmap.o .obj/qimage.o .obj/qimage_conversions.o .obj/qimageiohandler.o .obj/qimagereader.o .obj/qimagewriter.o .obj/qpaintengine_pic.o .obj/qpicture.o .obj/qpictureformatplugin.o .obj/qpixmap.o .obj/qpixmapcache.o .obj/qplatformpixmap.o .obj/qmovie.o .obj/qpixmap_raster.o .obj/qpixmap_blitter.o .obj/qnativeimage.o .obj/qimagepixmapcleanuphooks.o .obj/qicon.o .obj/qiconloader.o .obj/qiconengine.o .obj/qiconengineplugin.o .obj/qbmphandler.o .obj/qppmhandler.o .obj/qxbmhandler.o .obj/qxpmhandler.o .obj/qpnghandler.o .obj/png.o .obj/pngerror.o .obj/pngget.o .obj/pngmem.o .obj/pngpread.o .obj/pngread.o .obj/pngrio.o .obj/pngrtran.o .obj/pngrutil.o .obj/pngset.o .obj/pngtrans.o .obj/pngwio.o .obj/pngwrite.o .obj/pngwtran.o .obj/pngwutil.o .obj/qfont.o .obj/qfontengine.o .obj/qfontsubset.o .obj/qfontmetrics.o .obj/qfontdatabase.o .obj/qtextengine.o .obj/qtextlayout.o .obj/qtextformat.o .obj/qtextobject.o .obj/qtextoption.o .obj/qfragmentmap.o .obj/qtextdocument.o .obj/qtextdocument_p.o .obj/qtexthtmlparser.o .obj/qabstracttextdocumentlayout.o .obj/qtextdocumentlayout.o .obj/qtextcursor.o .obj/qtextdocumentfragment.o .obj/qtextimagehandler.o .obj/qtexttable.o .obj/qtextlist.o .obj/qtextdocumentwriter.o .obj/qsyntaxhighlighter.o .obj/qcssparser.o .obj/qzip.o .obj/qtextodfwriter.o .obj/qstatictext.o .obj/qrawfont.o .obj/qglyphrun.o .obj/qdistancefield.o .obj/qfontengine_qpf2.o .obj/qplatformfontdatabase.o .obj/qharfbuzzng.o .obj/qbackingstore.o .obj/qbezier.o .obj/qblendfunctions.o .obj/qblittable.o .obj/qbrush.o .obj/qcolor.o .obj/qcolor_p.o .obj/qcosmeticstroker.o .obj/qcssutil.o .obj/qdrawhelper.o .obj/qemulationpaintengine.o .obj/qgammatables.o .obj/qgrayraster.o .obj/qimagescale.o .obj/qmatrix.o .obj/qmemrotate.o .obj/qoutlinemapper.o .obj/qpagedpaintdevice.o .obj/qpagelayout.o .obj/qpagesize.o .obj/qpaintdevice.o .obj/qpaintengine.o .obj/qpaintengineex.o .obj/qpaintengine_blitter.o .obj/qpaintengine_raster.o .obj/qpainter.o .obj/qpainterpath.o .obj/qpathclipper.o .obj/qpdf.o .obj/qpdfwriter.o .obj/qpen.o .obj/qpolygon.o .obj/qrasterizer.o .obj/qregion.o .obj/qstroker.o .obj/qtextureglyphcache.o .obj/qtransform.o .obj/qplatformbackingstore.o .obj/qpaintbuffer.o .obj/qpathsimplifier.o .obj/qdesktopservices.o .obj/qvalidator.o .obj/qgridlayoutengine.o .obj/qabstractlayoutstyleinfo.o .obj/qlayoutpolicy.o .obj/qgenericmatrix.o .obj/qmatrix4x4.o .obj/qquaternion.o .obj/qvector2d.o .obj/qvector3d.o .obj/qvector4d.o .obj/qguivariantanimation.o .obj/qstandarditemmodel.o .obj/moc_qaccessible.o .obj/moc_qaccessiblecache_p.o .obj/moc_qaccessibleplugin.o .obj/moc_qaccessiblebridge.o .obj/moc_qgenericplugin.o .obj/moc_qplatforminputcontext.o .obj/moc_qplatforminputcontextplugin_p.o .obj/moc_qplatformintegrationplugin.o .obj/moc_qplatformthemeplugin.o .obj/moc_qplatformnativeinte**ce.o .obj/moc_qplatformmenu.o .obj/moc_qshapedpixmapdndwindow_p.o .obj/moc_qoffscreensu**ce.o .obj/moc_qclipboard.o .obj/moc_qdrag.o .obj/moc_qdnd_p.o .obj/moc_qevent.o .obj/moc_qkeysequence.o .obj/moc_qkeymapper_p.o .obj/moc_qpalette.o .obj/moc_qsessionmanager.o .obj/moc_qscreen.o .obj/moc_qstylehints.o .obj/moc_qplatformsharedgraphicscache.o .obj/moc_qplatformdialoghelper.o .obj/moc_qpaintdevicewindow.o .obj/moc_qrasterwindow.o .obj/moc_qimageiohandler.o .obj/moc_qpictureformatplugin.o .obj/moc_qiconengineplugin.o .obj/moc_qfont.o .obj/moc_qfontdatabase.o .obj/moc_qtextformat.o .obj/moc_qtextobject.o .obj/moc_qtextdocument.o .obj/moc_qtextimagehandler_p.o .obj/moc_qtexttable.o .obj/moc_qtextlist.o .obj/moc_qbrush.o .obj/moc_qpainter.o .obj/moc_qpdfwriter.o .obj/moc_qplatformbackingstore.o .obj/moc_qvalidator.o-L/usr/local/arm/tslib/lib -L/usr/local/arm/qt5.4/qtbase/lib -lQt5Core -lpthread -lqtharfbuzzng -L/usr/local/arm/tslib/lib
.obj/qimage.o: In function `QImage::fill(unsigned int)':
qimage.cpp:(.text+0x8c40): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qimage.cpp:(.text+0x8c80): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qimage.cpp:(.text+0x8c98): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qimage.cpp:(.text+0x8cb0): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qimage.cpp:(.text+0x8cdc): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qimage.o:qimage.cpp:(.text+0x8cec): more undefined references to `qt_memfill32(unsigned int*, unsigned int, int)' follow
.obj/qimage_conversions.o: In function `qInitImageConversions()':
qimage_conversions.cpp:(.text+0x4020): undefined reference to `convert_RGB888_to_RGB32_neon(QImageData*, QImageData const*, QFlags<Qt::ImageConversionFlag>)'
.obj/qdrawhelper.o: In function `qt_rectfill_nonpremul_argb32(QRasterBuffer*, int, int, int, int, unsigned int)':
qdrawhelper.cpp:(.text+0xfc38): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qdrawhelper.cpp:(.text+0xfc74): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qdrawhelper.cpp:(.text+0xfc8c): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qdrawhelper.cpp:(.text+0xfca4): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qdrawhelper.cpp:(.text+0xfccc): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:(.text+0xfcdc): more undefined references to `qt_memfill32(unsigned int*, unsigned int, int)' follow
.obj/qdrawhelper.o: In function `qInitDrawhelperAsm()':
qdrawhelper.cpp:(.text+0x129e0): undefined reference to `qt_blend_argb32_on_rgb16_neon(unsigned char*, int, unsigned char const*, int, int, int, int)'
qdrawhelper.cpp:(.text+0x129ec): undefined reference to `qt_blend_rgb16_on_argb32_neon(unsigned char*, int, unsigned char const*, int, int, int, int)'
qdrawhelper.cpp:(.text+0x129f0): undefined reference to `qt_scale_image_argb32_on_rgb16_neon(unsigned char*, int, unsigned char const*, int, int, QRectF const&, QRectF const&, QRect const&, int)'
qdrawhelper.cpp:(.text+0x129f4): undefined reference to `qt_blend_rgb16_on_rgb16_neon(unsigned char*, int, unsigned char const*, int, int, int, int)'
qdrawhelper.cpp:(.text+0x129f8): undefined reference to `qt_transform_image_argb32_on_rgb16_neon(unsigned char*, int, unsigned char const*, int, QRectF const&, QRectF const&, QRect const&, QTransform const&, int)'
qdrawhelper.cpp:(.text+0x12a00): undefined reference to `qt_transform_image_rgb16_on_rgb16_neon(unsigned char*, int, unsigned char const*, int, QRectF const&, QRectF const&, QRect const&, QTransform const&, int)'
qdrawhelper.cpp:(.text+0x12a08): undefined reference to `qt_alphamapblit_quint16_neon(QRasterBuffer*, int, int, unsigned int, unsigned char const*, int, int, int, QClipData const*)'
qdrawhelper.cpp:(.text+0x12a0c): undefined reference to `qt_blend_argb32_on_argb32_scanline_neon(unsigned int*, unsigned int const*, int, unsigned int)'
qdrawhelper.cpp:(.text+0x12a14): undefined reference to `qt_blend_rgb32_on_rgb32_neon(unsigned char*, int, unsigned char const*, int, int, int, int)'
qdrawhelper.cpp:(.text+0x12a18): undefined reference to `qt_blend_argb32_on_argb32_neon(unsigned char*, int, unsigned char const*, int, int, int, int)'
qdrawhelper.cpp:(.text+0x12a1c): undefined reference to `qt_scale_image_rgb16_on_rgb16_neon(unsigned char*, int, unsigned char const*, int, int, QRectF const&, QRectF const&, QRect const&, int)'
qdrawhelper.cpp:(.text+0x12a20): undefined reference to `comp_func_solid_SourceOver_neon(unsigned int*, int, unsigned int, unsigned int)'
qdrawhelper.cpp:(.text+0x12a28): undefined reference to `qt_fetch_radial_gradient_neon(unsigned int*, Operator const*, QSpanData const*, int, int, int)'
qdrawhelper.cpp:(.text+0x12a2c): undefined reference to `comp_func_Plus_neon(unsigned int*, unsigned int const*, int, unsigned int)'
qdrawhelper.cpp:(.text+0x12a30): undefined reference to `qt_destFetchRGB16_neon(unsigned int*, QRasterBuffer*, int, int, int)'
qdrawhelper.cpp:(.text+0x12a34): undefined reference to `qt_destStoreRGB16_neon(QRasterBuffer*, int, int, unsigned int const*, int)'
qdrawhelper.cpp:(.text+0x12a38): undefined reference to `qt_memrotate90_16_neon(unsigned char const*, int, int, int, unsigned char*, int)'
qdrawhelper.cpp:(.text+0x12a3c): undefined reference to `qt_memrotate270_16_neon(unsigned char const*, int, int, int, unsigned char*, int)'
.obj/qdrawhelper.o: In function `qt_rectfill_argb32(QRasterBuffer*, int, int, int, int, unsigned int)':
qdrawhelper.cpp:(.text+0x14e18): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qdrawhelper.cpp:(.text+0x14e58): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qdrawhelper.cpp:(.text+0x14e70): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qdrawhelper.cpp:(.text+0x14e88): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
qdrawhelper.cpp:(.text+0x14eb0): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:(.text+0x14ec0): more undefined references to `qt_memfill32(unsigned int*, unsigned int, int)' follow
collect2: ld returned 1 exit status
Makefile:1047: recipe for target '../../lib/libQt5Gui.so.5.4.0' failed
make: *** [../../lib/libQt5Gui.so.5.4.0] Error 1
make: Leaving directory '/usr/local/arm/qt5.4/qtbase/src/gui'
Makefile:337: recipe for target 'sub-gui-make_first' failed
make: *** Error 2
make: Leaving directory '/usr/local/arm/qt5.4/qtbase/src'
Makefile:45: recipe for target 'sub-src-make_first' failed
make: *** Error 2
make: Leaving directory '/usr/local/arm/qt5.4/qtbase'
Makefile:70: recipe for target 'module-qtbase-make_first' failed
make: *** Error 2

求助:是否可以跳过某些部分呢?我是新手,看不太懂这提示需要去改哪里。。。。。

页: [1]
查看完整版本: 求助,编译Qt5.4.0时提示的错误