Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 3.3.8 fails to compile returning undefined reference to `_dl_hwcap'
Forum Update on Monday, May 27th 2025

Qt 3.3.8 fails to compile returning undefined reference to `_dl_hwcap'

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.7k 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.
  • D Offline
    D Offline
    DingoHound
    wrote on last edited by
    #1

    for various personal purposes, I tried to compiling the

    qt 3.3.8 libs

    • "ftp://ftp.qt.nokia.com/qt/source/qt-x11-free-3.3.8.tar.bz2":ftp://ftp.qt.nokia.com/qt/source/qt-x11-free-3.3.8.tar.bz2

    with gcc 4.1.2 and glibc-2.5

    but, at very first stages (qmake building) I get this error:
    @/usr/bin/../lib/gcc/i486-slackware-linux/4.1.2/../../../libm.a(feholdexcpt.o): In function feholdexcept': (.text+0x18): undefined reference to _dl_hwcap'
    collect2: ld returned 1 exit status
    gmake: *** [qmake] Error 1
    qmake failed to build. Aborting.@

    I also tried to re-compiling the whole glibc-2.5, but I got again same error

    I then tried also with glibc-2.6.1, recompiling from source, but same error was shown again

    can anyone give me some advices?

    1 Reply Last reply
    0
    • JKSHJ Online
      JKSHJ Online
      JKSH
      Moderators
      wrote on last edited by
      #2

      http://forums.gentoo.org/viewtopic-t-476576-start-0.html

      It sounds like your glibc is broken. Maybe double-check that libm.a is actually getting replaced each time you recompile glibc?

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DingoHound
        wrote on last edited by
        #3

        I dumped symbols from my libm.a with nm

        "http://ge.tt/#!/6x7h2RQ":http://ge.tt/#!/6x7h2RQ

        first looking only for unresolved symbols nm -u
        then duping all symbols in libm.a

        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