Re: problem building OPIE

From: David Woodhouse <dwmw2.a.t.infradead.org>
Date: Sun Jun 16 2002 - 11:20:59 EDT

oliver.fels@gmx.net said:
> > qpeapplication.cpp:381: `VESA_POWERDOWN' undeclared (first use this
> > function)
> This is a consequence of the tool chain you are using- The one from
> handhelds.org is based on a kernel 2.2.x tree which does not contain
> those defines. Three things to chose from for solving the problem:

No. This is a consequence of qpeapplication.cpp including kernel headers.
Userspace programs should never include kernel headers.

> 1) Get a toolchain from Sharp/Embedix for the Zaurus
> 2) Modify the handhelds.org toolchain with the current 2.4.18 kernel includes
> 3) Change into the /home/nikitas/opie/library directory and compile
> qpeapplication.cpp manually using the command arm-linux-g++ -c -I/
> home/nikitas/qt-2.3.2/include -pipe -DQT_QWS_IPAQ -DQWS
> -fno-exceptions -fno-rtti -O2 -DVESA_NO_BLANKING=0 -DVESA_POWERDOWN'=3
> -Wall -W -fPIC -I/home/nikitas/opie/include -Ibackend -o qpeapplication.o

All three of those are not fixes -- only workarounds. The correct fix is to
remove the #include <linux/fb.h> from qpeapplication.cpp and replace it with
the appropriate definitions.

--
dwmw2
Received on Sun Jun 16 15:21:11 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:50:07 EDT