On Mon, 29 Aug 2005, Vincent wrote: > Hi, > > I want to compile QT in my development FS of Gentoo-embedded but I've > some errors : > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/ > qlocale.cpp:59:22: fenv.h: No such file or directory
do the following changes to each file including fenv.h: #ifndef __UCLIBC__ #include <fenv.h> #endif and where fenv_t,fesetenv,feholdexcept are used or alternatively port fenv.h related functions from glibc to uclibc math. Peter > /var/tmp/portage/qt-3.3.4-r3/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-r3/work/qt-x11-free-3.3.4/src/tools/ > qlocale.cpp:5666: error: ` > fenv_t' undeclared (first use this function) > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/ > qlocale.cpp:5666: error: (Each > undeclared identifier is reported only once for each function it > appears > in.) > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/ > qlocale.cpp:5666: error: parse > error before `;' token > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/ > qlocale.cpp:5667: error: ` > envp' undeclared (first use this function) > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/ > qlocale.cpp:5667: error: ` > feholdexcept' undeclared (first use this function) > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/ > qlocale.cpp:5680: error: ` > fesetenv' undeclared (first use this function) > gmake: *** [qlocale.o] Error 1 > qmake failed to build. Aborting. > > Do you have an idea to solve it ? > The /usr/include/fenv.h is missing but I think isn't a good idea to > take /usr/include/bits/fenv.h > > Thanks in advance. > > Regards, > > -- Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 -- [email protected] mailing list
