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
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?
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
first looking only for unresolved symbols nm -u
then duping all symbols in libm.a