Qt 3.3.8 fails to compile returning undefined reference to `_dl_hwcap'
-
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 functionfeholdexcept': (.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?
-
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?
-
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