Got my hands dirty and broke my leg (compiling qt-copy)
Hi folks,
in a pathetic attempt to be useful in some way I decided to dig into KDE
development. So I broke my leg at the very first step: compiling qt-copy :-)
Doing exactly what README.qt-copy told me, I'm getting this on
Debian/unstable:
---- snip ----
...
g++ -c -pipe -fno-exceptions -O2 -DQT_MOC -DQT_NO_CODECS
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/home/woch/src/kde/qt-copy/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./qfileinfo_unix.o ../tools/qfileinfo_unix.cpp
yacc -d moc.y
rm -f moc_yacc.cpp moc_yacc.h
mv -f y.tab.h moc_yacc.h
mv -f y.tab.c moc_yacc.cpp
g++ -c -pipe -fno-exceptions -O2 -DQT_MOC -DQT_NO_CODECS
-DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/home/woch/src/kde/qt-copy/mkspecs/linux-g++ -I. -I../../include
-I../tools -I. -o ./moc_yacc.o moc_yacc.cpp
y.tab.c: In function `int yyparse()':
y.tab.c:2091: `yylex' undeclared (first use this function)
y.tab.c:2091: (Each undeclared identifier is reported only once for each
function it appears in.)
moc.y:721: `enterNameSpace' undeclared (first use this function)
moc.y:722: `BEGIN' undeclared (first use this function)
moc.y:722: parse error before `;' token
moc.y:724: `leaveNameSpace' undeclared (first use this function)
moc.y:725: `selectOutsideClassState' undeclared (first use this function)
moc.y:730: parse error before `;' token
moc.y:752: `initClass' undeclared (first use this function)
moc.y:753: `generateClass' undeclared (first use this function)
moc.y:754: `registerClassInNamespace' undeclared (first use this function)
moc.y:766: `g' undeclared (first use this function)
moc.y:777: `initExpression' undeclared (first use this function)
moc.y:778: `templLevel' undeclared (first use this function)
moc.y:779: parse error before `;' token
moc.y:791: parse error before `;' token
...
make[1]: Leaving directory `/home/woch/src/kde/qt-copy/src/moc'
make: *** [src-moc] Error 2
---- snip ----
Since I'm new to nearly everything regarding KDE except using it for
years, I'm neither able to determine how to isolate the flaw nor where
to read for further instructions.
Any hints?
Ciao,
Jens
Reply to: