Gentoo Archives: gentoo-embedded

From: "Peter S. Mazinger" <ps.m@×××.net>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Emerge QT
Date: Mon, 05 Sep 2005 09:02:41
Message-Id: Pine.LNX.4.44.0509051058090.10981-100000@lnx.bridge.intra
In Reply to: [gentoo-embedded] Emerge QT by Vincent
1 On Mon, 29 Aug 2005, Vincent wrote:
2
3 > Hi,
4 >
5 > I want to compile QT in my development FS of Gentoo-embedded but I've
6 > some errors :
7 > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/
8 > qlocale.cpp:59:22: fenv.h: No such file or directory
9
10 do the following changes to each file including fenv.h:
11 #ifndef __UCLIBC__
12 #include <fenv.h>
13 #endif
14
15 and where fenv_t,fesetenv,feholdexcept are used
16 or alternatively port fenv.h related functions from glibc to uclibc math.
17
18 Peter
19
20 > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/
21 > qlocale.cpp: In
22 > function `char* qdtoa(double, int, int, int*, int*, char**,
23 > char**)':
24 > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/
25 > qlocale.cpp:5666: error: `
26 > fenv_t' undeclared (first use this function)
27 > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/
28 > qlocale.cpp:5666: error: (Each
29 > undeclared identifier is reported only once for each function it
30 > appears
31 > in.)
32 > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/
33 > qlocale.cpp:5666: error: parse
34 > error before `;' token
35 > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/
36 > qlocale.cpp:5667: error: `
37 > envp' undeclared (first use this function)
38 > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/
39 > qlocale.cpp:5667: error: `
40 > feholdexcept' undeclared (first use this function)
41 > /var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src/tools/
42 > qlocale.cpp:5680: error: `
43 > fesetenv' undeclared (first use this function)
44 > gmake: *** [qlocale.o] Error 1
45 > qmake failed to build. Aborting.
46 >
47 > Do you have an idea to solve it ?
48 > The /usr/include/fenv.h is missing but I think isn't a good idea to
49 > take /usr/include/bits/fenv.h
50 >
51 > Thanks in advance.
52 >
53 > Regards,
54 >
55 >
56
57 --
58 Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
59 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
60
61 --
62 gentoo-embedded@g.o mailing list