Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 119473

Summary: qt compile error fenv.h: No such file or directory (on uClibc)
Product: Gentoo Linux Reporter: Erdem Basegmez <eduedix>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED DUPLICATE    
Severity: normal CC: embedded
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to undefine Q_OS_LINUX (which wants fenv.h) when on uClibc

Description Erdem Basegmez 2006-01-18 11:56:30 UTC
/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/src/tools/qlocale.cpp:59:22: fenv.h: No such file or directory 
 /var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/src/tools/qlocale.cpp: In 
 function `char* qdtoa(double, int, int, int*, int*, char**, char**)': 
 /var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/src/tools/qlocale.cpp:5672: error: ` 
 fenv_t' undeclared (first use this function) 
 /var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/src/tools/qlocale.cpp:5672: error: (Each 
 undeclared identifier is reported only once for each function it appears 
 in.) 
 /var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/src/tools/qlocale.cpp:5672: error: syntax 
 error before `;' token 
 /var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/src/tools/qlocale.cpp:5673: error: ` 
 envp' undeclared (first use this function) 
 /var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/src/tools/qlocale.cpp:5673: error: ` 
 feholdexcept' undeclared (first use this function) 
 /var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/src/tools/qlocale.cpp:5686: error: ` 
 fesetenv' undeclared (first use this function) 
 gmake: *** [qlocale.o] Error 1 
 qmake failed to build. Aborting.
Comment 1 Miika Linnapuomi 2006-01-18 12:58:24 UTC
Created attachment 77460 [details, diff]
patch to undefine Q_OS_LINUX (which wants fenv.h) when on uClibc

This patch should fix it and shouldn't mess up stuff for others either
Comment 2 SpanKY gentoo-dev 2006-01-18 13:50:41 UTC

*** This bug has been marked as a duplicate of 100246 ***