[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    branches/work/kde4/qt-copy/ trying to compile...
From:       "Kurt V. Hindenburg" <kurt.hindenburg () kdemail ! net>
Date:       2005-05-30 16:40:10
Message-ID: 200505301140.10985.kurt.hindenburg () kdemail ! net
[Download RAW message or body]

Hi,
  I finally got this checkout; having troubles getting it to compile though.  
I'm trying to use kdesvn-build script...
1. Had to create an empty Makefile.cvs
2. Errors below

I also tried compiling as it says in README.qt-copy and it didn't work either.  
Any suggestions?
  Kurt

make[1]: Entering directory 
`/mnt/part6/KDE/svn/branches/work/kde4/qt-copy/src'
cd tools/moc && make first
make[2]: Entering directory 
`/mnt/part6/KDE/svn/branches/work/kde4/qt-copy/src/tools/moc'
g++ -c -pipe -O2 -Wall -W -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE 
-DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATASTREAM 
-DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD 
-DQT_NO_REGEXP -DQT_NO_QOBJECT 
-I/mnt/part6/KDE/svn/branches/work/kde4/qt-copy/mkspecs/linux-g++ -I. 
-I../../corelib/arch/generic -I/include -I. -I/include/QtCore -I. -o ./moc.o 
moc.cpp
g++ -c -pipe -O2 -Wall -W -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE 
-DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATASTREAM 
-DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD 
-DQT_NO_REGEXP -DQT_NO_QOBJECT 
-I/mnt/part6/KDE/svn/branches/work/kde4/qt-copy/mkspecs/linux-g++ -I. 
-I../../corelib/arch/generic -I/include -I. -I/include/QtCore -I. 
-o ./preprocessor.o preprocessor.cpp
In file included from scanner.h:32,
                 from moc.h:32,
                 from moc.cpp:29:
symbols.h:32:21: qstring.h: No such file or directory
symbols.h:33:21: qvector.h: No such file or directory
In file included from scanner.h:32,
                 from moc.h:32,
                 from moc.cpp:29:
symbols.h:39: error: parse error before `&' token
symbols.h:40: error: missing ';' before right brace
symbols.h: In constructor `Symbol::Symbol()':
symbols.h:38: error: class `Symbol' does not have any field named `lineNum'
symbols.h:38: error: class `Symbol' does not have any field named `token'
symbols.h:38: error: class `Symbol' does not have any field named `from'
symbols.h:38: error: class `Symbol' does not have any field named `len'
symbols.h: At global scope:
symbols.h:41: error: parse error before `&' token
symbols.h:41: error: ISO C++ forbids defining types within return type
symbols.h:41: error: semicolon missing after declaration of `struct Symbol'
symbols.h: In function `int Symbol(...)':
symbols.h:41: error: only constructors take base initializers
symbols.h:42: error: `lineNum' undeclared (first use this function)
symbols.h:42: error: (Each undeclared identifier is reported only once for 
each
   function it appears in.)
symbols.h:42: error: `token' undeclared (first use this function)
symbols.h:42: error: `lexem' undeclared (first use this function)
symbols.h:42: error: `from' undeclared (first use this function)
symbols.h:42: error: `len' undeclared (first use this function)
symbols.h:42: confused by earlier errors, bailing out
make[2]: *** [moc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from preprocessor.h:32,
                 from preprocessor.cpp:29:
symbols.h:32:21: qstring.h: No such file or directory
symbols.h:33:21: qvector.h: No such file or directory
In file included from preprocessor.h:32,
                 from preprocessor.cpp:29:
symbols.h:39: error: parse error before `&' token
symbols.h:40: error: missing ';' before right brace
symbols.h: In constructor `Symbol::Symbol()':
symbols.h:38: error: class `Symbol' does not have any field named `lineNum'
symbols.h:38: error: class `Symbol' does not have any field named `token'
symbols.h:38: error: class `Symbol' does not have any field named `from'
symbols.h:38: error: class `Symbol' does not have any field named `len'
symbols.h: At global scope:
symbols.h:41: error: parse error before `&' token
symbols.h:41: error: ISO C++ forbids defining types within return type
symbols.h:41: error: semicolon missing after declaration of `struct Symbol'
symbols.h: In function `int Symbol(...)':
symbols.h:41: error: only constructors take base initializers
symbols.h:42: error: `lineNum' undeclared (first use this function)
symbols.h:42: error: (Each undeclared identifier is reported only once for 
each
   function it appears in.)
symbols.h:42: error: `token' undeclared (first use this function)
symbols.h:42: error: `lexem' undeclared (first use this function)
symbols.h:42: error: `from' undeclared (first use this function)
symbols.h:42: error: `len' undeclared (first use this function)
symbols.h:42: confused by earlier errors, bailing out
make[2]: *** [preprocessor.o] Error 1
make[2]: Leaving directory 
`/mnt/part6/KDE/svn/branches/work/kde4/qt-copy/src/tools/moc'
make[1]: *** [sub-tools-moc-make_first-ordered] Error 2
make[1]: Leaving directory `/mnt/part6/KDE/svn/branches/work/kde4/qt-copy/src'
make: *** [sub-src-make_first-ordered] Error 2
Time from 236 was 3 minutes, and 56 seconds.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic