[Interest] Build error trying to cross compile for embedded Linux

Rogers Nate nate.rogers at raymondcorp.com
Wed Apr 16 21:33:20 CEST 2014


I have successfully cross compiled Qt 5.2 for my am335x starter kit
running ti's 6.0 sdk before but for some reason I no longer can get it
to compile.  I get this error...

arm-linux-gnueabihf-g++ -Wl,--no-undefined -Wl,-O1
-Wl,-rpath,/usr/local/qt5.2.0/lib -shared -Wl,-Bsymbolic-functions
-Wl,--dynamic-list,/home/nrogers/dev/qt-everywhere-opensource-src-5.3.0-beta/qtbase/src/gui/QtGui.dynlist
-Wl,-soname,libQt5Gui.so.5 -o libQt5Gui.so.5.3.0 .obj/qaccessible.o
.obj/qaccessiblecache.o .obj/qaccessibleobject.o
.obj/qaccessibleplugin.o .obj/qplatformaccessibility.o
.obj/qaccessiblebridge.o .obj/qclipboard_qpa.o .obj/qcursor_qpa.o
.obj/qgenericpluginfactory.o .obj/qgenericplugin.o
.obj/qwindowsysteminterface.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/qplatformoffscreensurface.o .obj/qplatformcursor.o
.obj/qplatformclipboard.o .obj/qplatformnativeinterface.o
.obj/qsessionmanager.o .obj/qshapedpixmapdndwindow.o .obj/qsimpledrag.o
.obj/qsurfaceformat.o .obj/qguiapplication.o .obj/qwindow.o
.obj/qoffscreensurface.o .obj/qplatformsurface.o .obj/qsurface.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/qkeymapper_qpa.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/qplatformscreenpageflipper.o
.obj/qplatformsystemtrayicon_qpa.o .obj/qplatformsessionmanager.o
.obj/qplatformmenu.o .obj/qplatformopenglcontext.o .obj/qopenglcontext.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/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/qfont_qpa.o
.obj/qfontengine_qpa.o .obj/qplatformfontdatabase.o .obj/qrawfont_qpa.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/qopengl.o
.obj/qopenglfunctions.o .obj/qopenglframebufferobject.o
.obj/qopenglpaintdevice.o .obj/qopenglbuffer.o
.obj/qopenglshaderprogram.o .obj/qopenglgradientcache.o
.obj/qopengltexturecache.o .obj/qopenglengineshadermanager.o
.obj/qopengl2pexvertexarray.o .obj/qopenglpaintengine.o
.obj/qopenglcustomshaderstage.o .obj/qtriangulatingstroker.o
.obj/qopengltextureglyphcache.o .obj/qtriangulator.o
.obj/qopenglversionfunctions.o .obj/qopenglversionfunctionsfactory.o
.obj/qopenglvertexarrayobject.o .obj/qopengldebug.o
.obj/qopengltextureblitter.o .obj/qopengltexture.o
.obj/qopengltexturehelper.o .obj/qopenglpixeltransferoptions.o
.obj/qopenglfunctions_es2.o .obj/qguivariantanimation.o
.obj/qstandarditemmodel.o .obj/qimage_compat.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_qplatformnativeinterface.o .obj/moc_qplatformmenu.o
.obj/moc_qshapedpixmapdndwindow_p.o .obj/moc_qoffscreensurface.o
.obj/moc_qclipboard.o .obj/moc_qdrag.o .obj/moc_qdnd_p.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_qplatformscreenpageflipper.o .obj/moc_qopenglcontext.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 .obj/moc_qopenglshaderprogram.o
.obj/moc_qopenglengineshadermanager_p.o 
-L/home/nrogers/dev/Graphics_SDK_5_10/gfx_rel_es8.x/
-L/home/nrogers/dev/Graphics_SDK_5_10/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxARMV7/Lib
-L/home/nrogers/dev/Graphics_SDK_5_10/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/LinuxARMV7/Lib
-L/home/nrogers/dev/ti-sdk-7.0/filesystem/rootfs/usr/lib
-L/home/nrogers/dev/qt-everywhere-opensource-src-5.3.0-beta/qtbase/lib
-lQt5Core -lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um -lusc -lts
-lpthread -lpng -lz -lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um -lusc
.obj/qimage.o: In function `QImage::fill(unsigned int)':
qimage.cpp:(.text+0x35f6): undefined reference to `qt_memfill32(unsigned
int*, unsigned int, int)'
qimage.cpp:(.text+0x3744): undefined reference to `qt_memfill32(unsigned
int*, unsigned int, int)'
.obj/qimage_conversions.o: In function `qInitImageConversions()':
qimage_conversions.cpp:(.text+0x1ee0): undefined reference to
`convert_RGB888_to_RGB32_neon(QImageData*, QImageData const*,
QFlags<Qt::ImageConversionFlag>)'
.obj/qdrawhelper.o: In function `void qt_rectfill<unsigned int>(unsigned
int*, unsigned int, int, int, int, int, int)':
qdrawhelper.cpp:(.text+0x67c8): undefined reference to
`qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qdrawhelper.o: In function `blend_color_argb(int, QT_FT_Span_
const*, void*)':
qdrawhelper.cpp:(.text+0x70e2): undefined reference to
`qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qdrawhelper.o: In function `void qt_bitmapblit_template<unsigned
int>(QRasterBuffer*, int, int, unsigned int, unsigned char const*, int,
int, int)':
qdrawhelper.cpp:(.text+0x715a): undefined reference to
`qt_memfill32(unsigned int*, unsigned int, int)'
qdrawhelper.cpp:(.text+0x717c): undefined reference to
`qt_memfill32(unsigned int*, unsigned int, int)'
qdrawhelper.cpp:(.text+0x727e): undefined reference to
`qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:(.text+0x72a6): more undefined
references to `qt_memfill32(unsigned int*, unsigned int, int)' follow
.obj/qdrawhelper.o: In function `qInitDrawhelperAsm()':
qdrawhelper.cpp:(.text+0x1a2b0): undefined reference to
`qt_blend_rgb32_on_rgb32_neon(unsigned char*, int, unsigned char const*,
int, int, int, int)'
qdrawhelper.cpp:(.text+0x1a2b4): undefined reference to
`qt_blend_argb32_on_argb32_neon(unsigned char*, int, unsigned char
const*, int, int, int, int)'
qdrawhelper.cpp:(.text+0x1a2b8): undefined reference to
`qt_blend_argb32_on_rgb16_neon(unsigned char*, int, unsigned char
const*, int, int, int, int)'
qdrawhelper.cpp:(.text+0x1a2bc): undefined reference to
`qt_blend_rgb16_on_argb32_neon(unsigned char*, int, unsigned char
const*, int, int, int, int)'
qdrawhelper.cpp:(.text+0x1a2c0): undefined reference to
`qt_blend_rgb16_on_rgb16_neon(unsigned char*, int, unsigned char const*,
int, int, int, int)'
qdrawhelper.cpp:(.text+0x1a2c8): undefined reference to
`qt_scale_image_argb32_on_rgb16_neon(unsigned char*, int, unsigned char
const*, int, QRectF const&, QRectF const&, QRect const&, int)'
qdrawhelper.cpp:(.text+0x1a2cc): undefined reference to
`qt_scale_image_rgb16_on_rgb16_neon(unsigned char*, int, unsigned char
const*, int, QRectF const&, QRectF const&, QRect const&, int)'
qdrawhelper.cpp:(.text+0x1a2d0): 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+0x1a2d8): 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+0x1a2dc): undefined reference to
`qt_alphamapblit_quint16_neon(QRasterBuffer*, int, int, unsigned int,
unsigned char const*, int, int, int, QClipData const*)'
qdrawhelper.cpp:(.text+0x1a2e4): undefined reference to
`qt_blend_argb32_on_argb32_scanline_neon(unsigned int*, unsigned int
const*, int, unsigned int)'
qdrawhelper.cpp:(.text+0x1a2ec): undefined reference to
`comp_func_solid_SourceOver_neon(unsigned int*, int, unsigned int,
unsigned int)'
qdrawhelper.cpp:(.text+0x1a2f0): undefined reference to
`comp_func_Plus_neon(unsigned int*, unsigned int const*, int, unsigned int)'
qdrawhelper.cpp:(.text+0x1a2f4): undefined reference to
`qt_destFetchRGB16_neon(unsigned int*, QRasterBuffer*, int, int, int)'
qdrawhelper.cpp:(.text+0x1a2f8): undefined reference to
`qt_destStoreRGB16_neon(QRasterBuffer*, int, int, unsigned int const*, int)'
qdrawhelper.cpp:(.text+0x1a300): undefined reference to
`qt_memrotate90_16_neon(unsigned char const*, int, int, int, unsigned
char*, int)'
qdrawhelper.cpp:(.text+0x1a304): undefined reference to
`qt_memrotate270_16_neon(unsigned char const*, int, int, int, unsigned
char*, int)'
qdrawhelper.cpp:(.text+0x1a308): undefined reference to
`qt_fetch_radial_gradient_neon(unsigned int*, Operator const*, QSpanData
const*, int, int, int)'
.obj/qdrawhelper.o: In function `void qt_rectfill<unsigned int>(unsigned
int*, unsigned int, int, int, int, int, int)':
qdrawhelper.cpp:(.text+0x67e0): undefined reference to
`qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qdrawhelper.o: In function `rasterop_solid_NotSource(unsigned int*,
int, unsigned int, unsigned int)':
qdrawhelper.cpp:(.text+0x6844): undefined reference to
`qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qdrawhelper.o: In function `comp_func_solid_Source(unsigned int*,
int, unsigned int, unsigned int)':
qdrawhelper.cpp:(.text+0x69f2): undefined reference to
`qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qdrawhelper.o: In function `comp_func_Clear(unsigned int*, unsigned
int const*, int, unsigned int)':
qdrawhelper.cpp:(.text+0x6b56): undefined reference to
`qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qdrawhelper.o: In function `comp_func_solid_Clear(unsigned int*,
int, unsigned int, unsigned int)':
qdrawhelper.cpp:(.text+0x6cba): undefined reference to
`qt_memfill32(unsigned int*, unsigned int, int)'
.obj/qdrawhelper.o:qdrawhelper.cpp:(.text+0x6e6e): more undefined
references to `qt_memfill32(unsigned int*, unsigned int, int)' follow
collect2: error: ld returned 1 exit status
make[3]: *** [../../lib/libQt5Gui.so.5.3.0] Error 1
make[3]: Leaving directory
`/home/nrogers/dev/qt-everywhere-opensource-src-5.3.0-beta/qtbase/src/gui'
make[2]: *** [sub-gui-make_first] Error 2
make[2]: Leaving directory
`/home/nrogers/dev/qt-everywhere-opensource-src-5.3.0-beta/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory
`/home/nrogers/dev/qt-everywhere-opensource-src-5.3.0-beta/qtbase'
make: *** [module-qtbase-make_first] Error 2


Any idea's on what I am doing wrong?  Thanks!

Confidentiality Notice:

The preceding e-mail message (including any attachments) contains information that may be confidential, protected by applicable legal privileges, or constitute non-public information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is 
not authorized and may be unlawful.






More information about the Interest mailing list