[kde-de] kdebase-3.1: Compiler-error

Markus Rennings markus at rennings.net
Fr Feb 14 15:43:42 CET 2003


Hallo,

ich versuche grade KDE 3.1 zu kompilieren. Nach unzähligen Versuchen ist 
kdelibs auch durchgelaufen und installiert. Nun versuche ich kdebase zu 
kompilieren, und erhalte Fehlermeldungen, mit denen ich nicht unbedingt 
viel anfangen kann. Diese füge ich unten bei. 
Ich denke, ich habe alle dependencies erfüllt. System ist LRs 0.3.0 (eine 
Art LFS). KDE 3.0.5 ließ sich ohne Probleme kompilieren. QT 3.1.1 ist auch 
ordnungsgemäß kompiliert und übersetzt.

######################
$ set     # (auszugsweise)
KDEDIR=/opt/kde
LD_LIBRARY_PATH=/usr/qt-3.1.1/lib:/opt/kde/lib/:/lib/:/usr/lib:/usr/local/lib:/usr/X11R6/lib:/usr/local/ssl/lib:/all_access/kde31/kdelibs-3.1/bin:/usr/qt-3.1.1/bin:/opt/kde/bin
MACHTYPE=i686-pc-linux-gnu
PATH=/usr/X11R6/bin:/opt/kde/bin:/usr/local:/usr/local/bin:/usr/bin:/usr/local/java2_sdk/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/qt-3.1.1/bin:/bin
QTDIR=/usr/qt-3.1.1
CFLAGS='-s -O2 -march=pentium3 -fomit-frame-pointer -Wall 
-fexpensive-optimizations'
CXXFLAGS='-s -O2 -march=pentium3 -fomit-frame-pointer -Wall 
-fexpensive-optimizations'

Fehlermeldung:
cc1plus: warning: changing search order for system directory  
"/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system 
directory
In file included from AfmCreator.cpp:31:
FontEngine.h:144: 'FT_Library' is used as a type, but is not defined as a 
type.
FontEngine.h:145: 'FT_Face' is used as a type, but is not defined as a type.
FontEngine.h:231: `FT_UShort' was not declared in this scope
FontEngine.h:231: parse error before `)' token
FontEngine.h:232: `FT_UShort' was not declared in this scope
FontEngine.h:232: parse error before `)' token
FontEngine.h:237: `FT_CharMap' was not declared in this scope
FontEngine.h:237: `charMap' was not declared in this scope
FontEngine.h:237: syntax error before `{' token
FontEngine.h:238: semicolon missing after declaration of `CFontEngine'
FontEngine.h: In member function `const QString& 
CFontEngine::getFullName()':
FontEngine.h:177: `itsFullName' undeclared (first use this function)
FontEngine.h:177: (Each undeclared identifier is reported only once for each
   function it appears in.)
FontEngine.h: In member function `const QString& 
CFontEngine::getFamilyName()':
FontEngine.h:178: `itsFamily' undeclared (first use this function)
FontEngine.h: In member function `const QString& CFontEngine::getPsName()':
FontEngine.h:179: `itsPsName' undeclared (first use this function)
FontEngine.h: In member function `CFontEngine::EWeight
   CFontEngine::getWeight()':
FontEngine.h:181: `itsWeight' undeclared (first use this function)
FontEngine.h: In member function `CFontEngine::EWidth 
CFontEngine::getWidth()':
FontEngine.h:182: `itsWidth' undeclared (first use this function)
FontEngine.h: In member function `CFontEngine::EItalic
   CFontEngine::getItalic()':
FontEngine.h:183: `itsItalic' undeclared (first use this function)
FontEngine.h: In member function `CFontEngine::ESpacing
   CFontEngine::getSpacing()':
FontEngine.h:184: `itsSpacing' undeclared (first use this function)
FontEngine.h: In member function `const QString& CFontEngine::getFoundry()':
FontEngine.h:186: `itsFoundry' undeclared (first use this function)
FontEngine.h: In member function `CFontEngine::EType 
CFontEngine::getType()':
FontEngine.h:188: `itsType' undeclared (first use this function)
FontEngine.h: In member function `QString& CFontEngine::getAfmEncodingT1()':
FontEngine.h:224: `itsAfmEncoding' undeclared (first use this function)
FontEngine.h: At global scope:
FontEngine.h:238: ISO C++ forbids defining types within return type
FontEngine.h:238: extraneous `int' ignored
FontEngine.h:238: long, short, signed or unsigned invalid for 
`getGlyphIndexFt'
FontEngine.h:238: semicolon missing after declaration of `class CFontEngine'
FontEngine.h: In function `int getGlyphIndexFt(short unsigned int)':
FontEngine.h:238: `itsFt' undeclared (first use this function)
FontEngine.h:238: `FT_Get_Char_Index' undeclared (first use this function)
FontEngine.h: In function `bool setCharmapUnicodeFt()':
FontEngine.h:239: `ft_encoding_unicode' undeclared (first use this function)
FontEngine.h:239: `FT_Select_Charmap' undeclared (first use this function)
FontEngine.h: In function `bool setCharmapSymbolFt()':
FontEngine.h:240: `ft_encoding_symbol' undeclared (first use this function)
FontEngine.h: At global scope:
FontEngine.h:242: `FT_UShort' was not declared in this scope
FontEngine.h:242: parse error before `)' token
FontEngine.h:253: `NAME' was not declared in this scope
FontEngine.h: In function `QString& getXlfdBmp()':
FontEngine.h:262: `itsXlfd' undeclared (first use this function)
FontEngine.h: At global scope:
FontEngine.h:273: parse error before `private'
FontEngine.h:276: 'EWidth' is used as a type, but is not defined as a type.
FontEngine.h:277: 'EType' is used as a type, but is not defined as a type.
FontEngine.h:278: 'EItalic' is used as a type, but is not defined as a type.
FontEngine.h:279: 'ESpacing' is used as a type, but is not defined as a 
type.
FontEngine.h:280: `QString itsFullName' used prior to declaration
FontEngine.h:281: `QString itsFamily' used prior to declaration
FontEngine.h:282: `QString itsPsName' used prior to declaration
FontEngine.h:284: `QString itsAfmEncoding' used prior to declaration
FontEngine.h:285: `QString itsXlfd' used prior to declaration
FontEngine.h:286: `QString itsFoundry' used prior to declaration
FontEngine.h:288: 'TFtData' is used as a type, but is not defined as a type.
FontEngine.h:290: `friend' can only be specified inside a class
FontEngine.h:291: parse error before `}' token
In file included from /usr/include/c++/3.2/backward/fstream.h:31,
                 from AfmCreator.cpp:46:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning 
This file includes at least one deprecated or antiquated header. Please 
consider using one of the 32 headers found in section 17.4.1.2 of the C++ 
standard. Examples include substituting the <X> header for the <X.h> header 
for C++ includes, or <sstream> instead of the deprecated header 
<strstream.h>. To disable this warning use -Wno-deprecated.
AfmCreator.cpp: In static member function `static CAfmCreator::EStatus
   CAfmCreator::create(const QString&)':
AfmCreator.cpp:96: no matching function for call to `CFontEngine::
   setCharmapSymbolFt()'
AfmCreator.cpp:96: no matching function for call to `CFontEngine::
   setCharmapUnicodeFt()'
AfmCreator.cpp: In static member function `static CAfmCreator::EStatus
   CAfmCreator::create(const QString&, const QString&, bool)':
AfmCreator.cpp:184: no matching function for call to `CFontEngine::
   setCharmapUnicodeFt()'
AfmCreator.cpp:193: no matching function for call to `CFontEngine::
   setCharmapSymbolFt()'
AfmCreator.cpp:245: no matching function for call to `CFontEngine::
   getGlyphIndexFt(unsigned int)'
AfmCreator.cpp:248: no matching function for call to `CFontEngine::
   getGlyphIndexFt(int&)'
AfmCreator.cpp:256: no matching function for call to `CFontEngine::
   getNumGlyphsFt()'
AfmCreator.cpp: In function `bool encContainsGlyph(CEncodings::T8Bit&, 
unsigned
   int)':
AfmCreator.cpp:349: no matching function for call to `CFontEngine::
   getGlyphIndexFt(int&)'
make[4]: *** [AfmCreator.lo] Fehler 1
make[4]: Verlassen des Verzeichnisses Verzeichnis 
»/all_access/kde31/kdebase-3.1/kcontrol/kfontinst/kfontinst«
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis 
»/all_access/kde31/kdebase-3.1/kcontrol/kfontinst«
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis 
»/all_access/kde31/kdebase-3.1/kcontrol«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis 
»/all_access/kde31/kdebase-3.1«
make: *** [all] Fehler 2
############################

Ich hoffe, jemand kann mir einen Tip/ den entscheidenden Tip geben.

TIA
Gruß

Markus
-- 
Markus Rennings

PGP-key-ID: 927A769F