Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cross-compiling for old ARM Embedded Linux. Lookup errors: undefined symbol
Forum Updated to NodeBB v4.3 + New Features

Cross-compiling for old ARM Embedded Linux. Lookup errors: undefined symbol

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 388 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • lukeglukeL Offline
    lukeglukeL Offline
    lukegluke
    wrote on last edited by
    #1

    Hi all,

    I have embedded arm linux device with old 2.6 kernel and Qt-5.4 libs. But I need Qt-5.9.5.
    I was able to cross compile Qt-5.9.5 libs and can now successfully run quick applications using updated new version of libc (and other related libraries) .

    But if I run app with "export LD_DEBUG=libs"
    I see following symbol lookup errors:

    for libQt5Qml.so:

    /opt/device/Qt-5.9.5/lib/libQt5Qml.so.5: error: symbol lookup error: undefined symbol: qmlmemprofile_stats (fatal)
    

    and also the same for symbols qmlmemprofile_clear, qmlmemprofile_enable, qmlmemprofile_disable, qmlmemprofile_push_location, qmlmemprofile_pop_location, qmlmemprofile_save, qmlmemprofile_is_enabled

    for libQt5Gui.so

    /opt/device/Qt-5.9.5/lib/libQt5Gui.so.5: error: symbol lookup error: undefined symbol: glClearDepth (fatal)
    

    (and so on - about 1000 lines about missing opengl funcitons)

    As I said regardless to those errors application works.
    There are no such symbol lookup errors for applications builded against original Qt-5.4.

    Besides other flags, there are -lGLESv2 -lOpenVG -lEGL building flags.
    Libs libOpenVG.so, libGLESv2.so are in related lib path and they are used according to log.

    I'm new in such crosscompiling and using multiple version of libc on the same system. I think I missed somewhere and do not add all needed libs.

    Thanks in advance for any help!

    Just in case if it can help qt.scenegraph.general info:

    qt.scenegraph.general: texture atlas dimensions: 1024x512
    qt.scenegraph.general: R/G/B/A Buffers:    8 8 8 8
    qt.scenegraph.general: Depth Buffer:       24
    qt.scenegraph.general: Stencil Buffer:     8
    qt.scenegraph.general: Samples:            0
    qt.scenegraph.general: GL_VENDOR:          Advanced Micro Devices, Inc.
    qt.scenegraph.general: GL_RENDERER:        AMD Z430
    qt.scenegraph.general: GL_VERSION:         OpenGL ES 2.0
    qt.scenegraph.general: GL_EXTENSIONS:      GL_OES_get_program_binary GL_OES_standard_derivatives GL_OES_vertex_half_float  GL_OES_EGL_image GL_OES_element_index_uint GL_OES_packed_depth_stencil GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_OES_compressed_paletted_texture GL_OES_texture_3D GL_OES_vertex_type_10_10_10_2 GL_AMD_tiled_rendering GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_texture_half_float GL_OES_texture_npot GL_NV_fence GL_EXT_bgra GL_OES_texture_float GL_OES_fragment_precision_high GL_AMD_compressed_3DC_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image_external GL_AMD_compressed_ATC_texture GL_OES_depth24 GL_EXT_texture_filter_anisotropic GL_OES_depth_texture GL_OES_rgb8_rgba8 GL_OES_texture_half_float_linear
    qt.scenegraph.general: Max Texture Size:  2048
    qt.scenegraph.general: Debug context:     false
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved