public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] Emerge QT
@ 2005-08-29 14:40 Vincent
  2005-09-05  9:02 ` Peter S. Mazinger
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent @ 2005-08-29 14:40 UTC (permalink / raw
  To: gentoo-embedded

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
/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,

-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-embedded] Emerge QT
  2005-08-29 14:40 [gentoo-embedded] Emerge QT Vincent
@ 2005-09-05  9:02 ` Peter S. Mazinger
  0 siblings, 0 replies; 2+ messages in thread
From: Peter S. Mazinger @ 2005-09-05  9:02 UTC (permalink / raw
  To: gentoo-embedded

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

-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-05  9:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-29 14:40 [gentoo-embedded] Emerge QT Vincent
2005-09-05  9:02 ` Peter S. Mazinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox