configuration: pentium-ii 96 mb ram
os: lfs, linux-2.6.0-test3, gcc-3.2.2
qt-free-3.2.2:
bash
export QTDIR=$PWD &&
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH &&
export PATH=$QTDIR/bin:$PATH &&
./configure -prefix /usr/local/qt -qt-gif -system-libpng \
-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions -thread &&
...
Do you accept the terms of either license?
yes
...
Build type: linux-g++
Platform notes:
- Also available for Linux: linux-kcc linux-icc linux-cxx
Configuration ....... nocrosscompiler minimal-config small-config medium-config \
large-config full-config styles tools kernel widgets dialogs iconview workspace \
network canvas table xml opengl sql release dll thread largefile stl system-mng \
system-jpeg system-png png gif system-zlib nis bigcodecs x11sm xinerama \
xcursor xrandr xrender xftfreetype xkb
STL support ......... yes
Thread support ...... yes
NIS support ......... yes
CUPS support ........ no
Large File support .. partial
GIF support ......... yes
MNG support ......... plugin (system)
JPEG support ........ plugin (system)
PNG support ......... yes (system)
zlib support ........ system
OpenGL support ...... yes
NAS sound support ... no
Session management .. yes
Xinerama support .... yes
Tablet support ...... no
Xcursor support ..... yes
XRandR support ...... yes
XRender support ..... yes
Xft support ......... yes
XKB Support ......... yes
Finding project files. Please wait...
236 projects found.
Creating makefiles. Please wait...
for /usr/src/qt-x11-free-3.2.2/src/moc/moc.pro
for /usr/src/qt-x11-free-3.2.2/src/qt.pro
for /usr/src/qt-x11-free-3.2.2/tools/tools.pro
for /usr/src/qt-x11-free-3.2.2/tools/assistant/lib/lib.pro
...
for /usr/src/qt-x11-free-3.2.2/plugins/src/styles/windows/windows.pro
Qt is now configured for building. Just run /usr/bin/make.
To reconfigure, run /usr/bin/make confclean and configure.
make sub-tools &&
make install
> ok.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!
! but:
cd qtopia-free-1.7.0
export QPEDIR=$PWD
cd ..
qt-embedded-free-3.2.2
bash
export QTDIR=$PWD
export QTEDIR=$QTDIR
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
cp $QPEDIR/src/qt/qconfig-qpe.h src/tools/
./configure -prefix /usr/local/qt-e -qt-gif -system-libpng \
-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions -thread \
-embedded x86 -qconfig qpe -qvfb -depths 4,8,16,32
...
Do you accept the terms of the license?
yes
Creating qmake. Please wait...
g++ -c -o project.o -DQWS -I. -Igenerators...
...
g++ -o qmake project.o property.o...
rm -f /usr/src/qt-embedded-free-3.2.2/bin/qmake
ln -s ../qmake/qmake /usr/src/qt-embedded-free-3.2.2/bin/qmake
Build type: qws/linux-x86-g++
Configuration ....... nocrosscompiler minimal-config small-config medium-config \
large-config full-config styles tools kernel widgets dialogs iconview workspace \
network canvas table xml sql release dll thread embedded largefile stl \
system-mng system-jpeg system-png png gif system-zlib bigcodecs ft
STL support ......... yes
Thread support ...... yes
NIS support ......... no
CUPS support ........ no
Large File support .. partial
GIF support ......... yes
MNG support ......... plugin (system)
JPEG support ........ plugin (system)
PNG support ......... yes (system)
zlib support ........ system
Embedded support .... x86
Finding project files. Please wait...
246 projects found.
Creating makefiles. Please wait...
for /usr/src/qt-embedded-free-3.2.2/src/moc/moc.pro
for /usr/src/qt-embedded-free-3.2.2/src/qt.pro
WARNING: Failure to find: .moc/release-shared-mt-emb-x86/allmoc.cpp
for /usr/src/qt-embedded-free-3.2.2/tools/tools.pro
for /usr/src/qt-embedded-free-3.2.2/tools/assistant/lib/lib.pro
...
for /usr/src/qt-embedded-free-3.2.2/plugins/src/styles/windows/windows.pro
Qt is now configured for building. Just run /usr/bin/make.
To reconfigure, run /usr/bin/make confclean and configure.
make sub-tools
cd qmake && make
make[1]: Entering directory `/usr/src/qt-embedded-free-3.2.2/qmake'
make[1]: `qmake' не требует обновления.
make[1]: Leaving directory `/usr/src/qt-embedded-free-3.2.2/qmake'
cd src/moc && make
make[1]: Entering directory `/usr/src/qt-embedded-free-3.2.2/src/moc'
make[1]: Цель `first' не требует выполнения команд.
make[1]: Leaving directory `/usr/src/qt-embedded-free-3.2.2/src/moc'
cd src && make
make[1]: Entering directory `/usr/src/qt-embedded-free-3.2.2/src'
echo '#include "/usr/src/qt-embedded-free-3.2.2/include/qt.h"' >.moc/release-shared-mt-emb-x86/allmoc.cpp
g++ -E -DQT_MOC_CPP -DQT_NO_STL -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -D_REENTRANT -fPIC \
-DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS \
-DQT_NO_NIS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_IMAGEIO_MNG \
-DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC \
-DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT \
-DQT_NO_QWS_VNC -DQT_NO_QWS_VGA16 -DQT_NO_QWS_TRANSFORMED -DQT_NO_QWS_MACH64 \
-DQT_NO_QWS_VOODOO3 -DQT_NO_QWS_MATROX -DQT_NO_QWS_SHADOWFB -DQT_NO_QWS_REPEATER \
-DQT_NO_QWS_KBD_SL5000 -DQT_NO_QWS_KBD_USB -DQT_NO_QWS_KBD_YOPY -DQT_NO_QWS_KBD_VR41 \
-DQT_NO_QWS_MOUSE_BUS -DQT_NO_QWS_MOUSE_LINUXTP -DQT_NO_QWS_MOUSE_VR41 \
-DQT_NO_QWS_MOUSE_YOPY -I/usr/src/qt-embedded-free-3.2.2/mkspecs/qws/linux-x86-g++ -I. -I3rdparty/freetype/src \
-I3rdparty/freetype/include -I3rdparty/freetype/builds/unix -I3rdparty/freetype2/include -I../include \
-I.moc/release-shared-mt-emb-x86/ >.moc/release-shared-mt-emb-x86/allmoc.h .moc/release-shared-mt-emb-x86/allmoc.cpp
/usr/src/qt-embedded-free-3.2.2/bin/moc -o .moc/release-shared-mt-emb-x86/allmoc.cpp .moc/release-shared-mt-emb-x86/allmoc.h
make[1]: Leaving directory `/usr/src/qt-embedded-free-3.2.2/src'
./moc-release-shared-mt-emb-x86/allmoc.h:21689: Error: syntax error
make[1]: *** [.moc-release-shared-mt-emb-x86/allmoc.cpp] Ошибка 1
make: *** [sub-src] Ошибка 2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!
!.moc/release-shared-mt-emb-x86/allmoc.h:21689:
21688: void setSortIndicator( int section, bool ascending = TRUE );
21689: __inline__ __attribute__((always_inline)) __attribute__((always_inline)) void setSortIndicator( int section, SortOrder order )
21690: { setSortIndicator( section, (order == Ascending) ); }
allmoc.cpp
лично мне не ясно, где здесь syntax error, но показалось похоже,
например, на ошибку из-за которой не собирался openoffice:
<
On Tuesday 18 March 2003 14:51, Gabriel Munoz wrote:
> Hello,
> Making: ../unxlngi4.pro/obj/parser.obj
<snip>
> ../unxlngi4.pro/misc/parser.cxx ../unxlngi4.pro/misc/parser.cxx: In
> function `int yyparse()':
> ../unxlngi4.pro/misc/parser.cxx:4726: parse error before `goto'
There are at least two solutions to this problem:
1) Downgrade bison
2) Manually comment the line which contains __attribute__(__unused__) in
parser.cxx just before line 4726 (see above) and then do a dmake (without
dmake clean). This error will then reappear three times in different files
generated by bison, and the fix is the same.
--
Alexander E. Patrakov
>
а вот, например, упоминание непосредственно с www.trolltech.com:
<
Message 1 in thread
Subject: Concerns compiling QTE 3.1.2
From: "Alexander Trauzzi" <mailto:atrauzzi@DOMAIN.HIDDEN>
Date: Thu, 24 Apr 2003 20:13:27 -0500
To: mailto:qt-embedded-interest@DOMAIN.HIDDEN
I'm trying to compile QTEmbedded on my Playstation2 running PS2Linux (please
don't focus on that fact unless it's a known issue with the platform, I have
my reasons for using it). It's essentially a 32mb MIPS system running at
~400mhz. Configure runs fine...All without a hitch except for a little bit
about something called "allmoc". I have no idea what this is, or what I'm
doing half the time.
I have interest in learning the high level language itself, and learning the
details that lead up to it as I go along. Right now I'm more intent on
learning C/C++ programming with a good library to build upon.
The problem? Well, I get to the point in the clipped section below, and my
system spends hours grinding the hard drive away and doing absolutley
nothing but consume CPU cycles.
I've compiled a lot of (other peoples') things, and I've seen them take a
long time. But I've never seen something get stuck on one aspect of a
compile for SO LONG.
Can anyone offer me any help/input here? Is there any way to avoid getting
that allmoc error during configure, or is it negligable? Here's a rundown
of the section that make goes through. Everything probably looks okay,
except for what's ultimatley HAPPENING.
-=-[CUT]-=-
gmake[2]: Entering directory `/root/qt-embedded-free-3.1.2/src'
echo '#include "/root/qt-embedded-free-3.1.2/include/qt.h"'
>.moc/release-shared-emb-generic/allmoc.cpp
...
/zlib -I../include -I.moc/release-shared-emb-generic/
>.moc/release-shared-emb-g
eneric/allmoc.h .moc/release-shared-emb-generic/allmoc.cpp
/root/qt-embedded-free-3.1.2/bin/moc -o
.moc/release-shared-emb-generic/allmoc.c
pp .moc/release-shared-emb-generic/allmoc.h
...
/release-shared-emb-generic/ -o .obj/release-shared-emb-generic/allmoc.o
.moc/re
lease-shared-emb-generic/allmoc.cpp
-=-[CUT]-=-
At this point, I can either sit, and wait for nothing to happen (so it would
seem), or kill it. I've had the system completley hang on me, killing the
SSH terminal I was running on.
Is this REALLY a question of patience? I'd really like to know.
Thanks in advance!
- Alexander Trauzzi
--------------------------------------------------------------------------------
Message 2 in thread
Subject: Re: Concerns compiling QTE 3.1.2
From: "Alexander Trauzzi" <mailto:atrauzzi@DOMAIN.HIDDEN>
Date: Thu, 24 Apr 2003 21:47:26 -0500
To: mailto:qt-embedded-interest@DOMAIN.HIDDEN
Here's what configure gives me for allmoc.cpp:
-=-[ CUT ]-=-
WARNING: Failure to find: .moc/release-shared-emb-generic/allmoc.cpp
-=-[ CUT ]-=-
I can't find the file anywhere to even attempt replacing it.
- Alexander Trauzzi
--------------------------------------------------------------------------------
Message 3 in thread
Subject: Re: Concerns compiling QTE 3.1.2
From: "Alexander Trauzzi" <mailto:atrauzzi@DOMAIN.HIDDEN>
Date: Fri, 25 Apr 2003 09:31:16 -0500
To: mailto:qt-embedded-interest@DOMAIN.HIDDEN
Hmph...Somewhat solved my own problem.
I've left the machine compiling for the night, and it made it through.
I have another problem though, which I was somewhat anticipating...
...
Is there any way to disable the compiling of designer?
- Alex
--------------------------------------------------------------------------------
Message 4 in thread
Subject: Re: Concerns compiling QTE 3.1.2
From: Warwick Allison <mailto:warwick@DOMAIN.HIDDEN>
Date: Wed, 30 Apr 2003 17:53:15 +1000
Organization: Trolltech Pty Ltd
To: mailto:atrauzzi@DOMAIN.HIDDEN, mailto:qt-embedded-interest@DOMAIN.HIDDEN
On Friday 25 April 2003 11:13, Alexander Trauzzi wrote:
> I'm trying to compile QTEmbedded on my Playstation2 running PS2Linux
> (please don't focus on that fact unless it's a known issue with the
> platform, I have my reasons for using it). It's essentially a 32mb MIPS
> system running at ~400mhz. Configure runs fine...All without a hitch
> except for a little bit about something called "allmoc". I have no idea
> what this is, or what I'm doing half the time.
The allmoc message can be ignored.
> I have interest in learning the high level language itself, and learning
> the details that lead up to it as I go along. Right now I'm more intent on
> learning C/C++ programming with a good library to build upon.
Building Qt/Embedded seems very much jumping in the deep end.
> The problem? Well, I get to the point in the clipped section below, and my
> system spends hours grinding the hard drive away and doing absolutley
> nothing but consume CPU cycles.
> I've compiled a lot of (other peoples') things, and I've seen them take a
> long time. But I've never seen something get stuck on one aspect of a
> compile for SO LONG.
>
> Can anyone offer me any help/input here? Is there any way to avoid getting
> that allmoc error during configure, or is it negligable? Here's a rundown
> of the section that make goes through. Everything probably looks okay,
> except for what's ultimatley HAPPENING.
allmoc.cpp is a VERY large file. My guess is that you PS2 is simply grinding
itself into the ground thrashing trying to compile it.
It's possible to (manually) split allmoc.cpp up, and if you're really
interested in persuing this, you could do that.
Another option is to simply use Qt/X11.
--
[ signature omitted ]
>
есть какие-либо соображения?