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

List:       kde-bugs-dist
Subject:    [Bug 74281] New: Compilation Font & libtext2path error
From:       th3 th1nk3r <THINKER () mail ! ono ! es>
Date:       2004-02-05 20:26:13
Message-ID: 20040205202613.21511.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=74281      
           Summary: Compilation Font & libtext2path error
           Product: ksvg
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: wildfox@kde.org
        ReportedBy: THINKER@mail.ono.es


Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2 
OS:          Linux

I try to compile the kdegraphics 3.2 packet in my gentoo, but it fails when compiling \
ksvg. I have try to compile ksvg alone, and again fails.
This are the errors output by gcc3.2

cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning:   as it has already been specified as a non-system directory
In file included from Font.cpp:25:
Font.h:74: syntax error before `&' token
Font.h:79: 'FT_Face' is used as a type, but is not defined as a type.
In file included from Converter.h:29,
                 from Font.cpp:27:
/usr/include/freetype2/freetype/ftoutln.h:101: `FT_Error' was not declared in this \
                scope
/usr/include/freetype2/freetype/ftoutln.h:102: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h:102: syntax error before `(' token
/usr/include/freetype2/freetype/ftoutln.h:136: `FT_Error' was not declared in this \
                scope
/usr/include/freetype2/freetype/ftoutln.h:137: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h:137: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:102: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftoutln.h:137: syntax error before `(' token
/usr/include/freetype2/freetype/ftoutln.h:143: `FT_Error' was not declared in this \
                scope
/usr/include/freetype2/freetype/ftoutln.h:144: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h:144: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:137: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftoutln.h:144: syntax error before `(' token
/usr/include/freetype2/freetype/ftoutln.h:174: `FT_Error' was not declared in this \
                scope
/usr/include/freetype2/freetype/ftoutln.h:175: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h:175: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:144: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftoutln.h:175: syntax error before `(' token
/usr/include/freetype2/freetype/ftoutln.h:179: `FT_Error' was not declared in this \
                scope
/usr/include/freetype2/freetype/ftoutln.h:180: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h:180: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:175: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftoutln.h:180: syntax error before `(' token
/usr/include/freetype2/freetype/ftoutln.h:198: `FT_Error' was not declared in this \
                scope
/usr/include/freetype2/freetype/ftoutln.h:199: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h:199: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:180: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftoutln.h:199: syntax error before `(' token
/usr/include/freetype2/freetype/ftoutln.h:226: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h: In function `int FT_EXPORT()':
/usr/include/freetype2/freetype/ftoutln.h:226: `int FT_EXPORT()' redeclared as \
                different kind of symbol
/usr/include/freetype2/freetype/ftoutln.h:199: previous declaration of `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:199: previous non-function declaration `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:226: conflicts with function declaration \
                `int FT_EXPORT()'
/usr/include/freetype2/freetype/ftoutln.h:226: parse error before `(' token
/usr/include/freetype2/freetype/ftoutln.h:226: `FT_Outline' undeclared (first use \
                this function)
/usr/include/freetype2/freetype/ftoutln.h:226: (Each undeclared identifier is \
                reported only once for each function it appears in.)
/usr/include/freetype2/freetype/ftoutln.h:226: `outline' undeclared (first use this \
                function)
/usr/include/freetype2/freetype/ftoutln.h:227: `FT_BBox' undeclared (first use this \
                function)
/usr/include/freetype2/freetype/ftoutln.h:227: `acbox' undeclared (first use this \
                function)
/usr/include/freetype2/freetype/ftoutln.h:227: ISO C++ forbids declaration of \
                `FT_Outline_Get_CBox' with no type
/usr/include/freetype2/freetype/ftoutln.h:227: initializer list being treated as \
                compound expression
/usr/include/freetype2/freetype/ftoutln.h:247: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h: In function `int FT_EXPORT()':
/usr/include/freetype2/freetype/ftoutln.h:247: `int FT_EXPORT()' redeclared as \
                different kind of symbol
/usr/include/freetype2/freetype/ftoutln.h:199: previous declaration of `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:199: previous non-function declaration `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:247: conflicts with function declaration \
                `int FT_EXPORT()'
/usr/include/freetype2/freetype/ftoutln.h:247: parse error before `(' token
/usr/include/freetype2/freetype/ftoutln.h:248: `FT_Pos' undeclared (first use this \
                function)
/usr/include/freetype2/freetype/ftoutln.h:248: parse error before `,' token
/usr/include/freetype2/freetype/ftoutln.h:249: ISO C++ forbids declaration of \
                `FT_Outline_Translate' with no type
/usr/include/freetype2/freetype/ftoutln.h:271: `FT_Error' undeclared (first use this \
                function)
/usr/include/freetype2/freetype/ftoutln.h:272: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h:272: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:199: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftoutln.h:272: syntax error before `(' token
/usr/include/freetype2/freetype/ftoutln.h:296: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h: In function `int FT_EXPORT()':
/usr/include/freetype2/freetype/ftoutln.h:296: `int FT_EXPORT()' redeclared as \
                different kind of symbol
/usr/include/freetype2/freetype/ftoutln.h:272: previous declaration of `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:272: previous non-function declaration `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:296: conflicts with function declaration \
                `int FT_EXPORT()'
/usr/include/freetype2/freetype/ftoutln.h:296: parse error before `(' token
/usr/include/freetype2/freetype/ftoutln.h:297: `FT_Matrix' undeclared (first use this \
                function)
/usr/include/freetype2/freetype/ftoutln.h:297: `matrix' undeclared (first use this \
                function)
/usr/include/freetype2/freetype/ftoutln.h:297: ISO C++ forbids declaration of \
                `FT_Outline_Transform' with no type
/usr/include/freetype2/freetype/ftoutln.h:297: initializer list being treated as \
                compound expression
/usr/include/freetype2/freetype/ftoutln.h:320: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h: In function `int FT_EXPORT()':
/usr/include/freetype2/freetype/ftoutln.h:320: `int FT_EXPORT()' redeclared as \
                different kind of symbol
/usr/include/freetype2/freetype/ftoutln.h:272: previous declaration of `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:272: previous non-function declaration `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:320: conflicts with function declaration \
                `int FT_EXPORT()'
/usr/include/freetype2/freetype/ftoutln.h:320: parse error before `(' token
/usr/include/freetype2/freetype/ftoutln.h:320: ISO C++ forbids declaration of \
                `FT_Outline_Reverse' with no type
/usr/include/freetype2/freetype/ftoutln.h:350: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h:350: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:272: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftoutln.h:350: syntax error before `(' token
/usr/include/freetype2/freetype/ftoutln.h:387: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftoutln.h:387: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:350: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftoutln.h:387: syntax error before `(' token
In file included from Converter.h:30,
                 from Font.cpp:27:
/usr/include/freetype2/freetype/ftglyph.h:104: 'FT_Library' is used as a type, but is \
                not defined as a type.
/usr/include/freetype2/freetype/ftglyph.h:106: 'FT_Glyph_Format' is used as a type, \
                but is not defined as a type.
/usr/include/freetype2/freetype/ftglyph.h:107: 'FT_Vector' is used as a type, but is \
                not defined as a type.
/usr/include/freetype2/freetype/ftglyph.h:157: 'FT_Int' is used as a type, but is not \
                defined as a type.
/usr/include/freetype2/freetype/ftglyph.h:158: 'FT_Int' is used as a type, but is not \
                defined as a type.
/usr/include/freetype2/freetype/ftglyph.h:159: 'FT_Bitmap' is used as a type, but is \
                not defined as a type.
/usr/include/freetype2/freetype/ftglyph.h:205: 'FT_Outline' is used as a type, but is \
                not defined as a type.
/usr/include/freetype2/freetype/ftglyph.h:228: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftglyph.h:228: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftoutln.h:387: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftglyph.h:228: syntax error before `(' token
/usr/include/freetype2/freetype/ftglyph.h:251: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftglyph.h:251: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftglyph.h:228: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftglyph.h:251: syntax error before `(' token
/usr/include/freetype2/freetype/ftglyph.h:281: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftglyph.h:281: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftglyph.h:251: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftglyph.h:281: syntax error before `(' token
/usr/include/freetype2/freetype/ftglyph.h:403: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftglyph.h: In function `int FT_EXPORT()':
/usr/include/freetype2/freetype/ftglyph.h:403: `int FT_EXPORT()' redeclared as \
                different kind of symbol
/usr/include/freetype2/freetype/ftglyph.h:281: previous declaration of `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftglyph.h:281: previous non-function declaration `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftglyph.h:403: conflicts with function declaration \
                `int FT_EXPORT()'
/usr/include/freetype2/freetype/ftglyph.h:403: parse error before `(' token
/usr/include/freetype2/freetype/ftglyph.h:404: type specifier omitted for parameter \
                `FT_UInt'
/usr/include/freetype2/freetype/ftglyph.h:404: parse error before `,' token
/usr/include/freetype2/freetype/ftglyph.h:405: ISO C++ forbids declaration of \
                `FT_Glyph_Get_CBox' with no type
/usr/include/freetype2/freetype/ftglyph.h:479: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftglyph.h:479: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftglyph.h:281: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftglyph.h:479: syntax error before `(' token
/usr/include/freetype2/freetype/ftglyph.h:497: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftglyph.h: In function `int FT_EXPORT()':
/usr/include/freetype2/freetype/ftglyph.h:497: `int FT_EXPORT()' redeclared as \
                different kind of symbol
/usr/include/freetype2/freetype/ftglyph.h:479: previous declaration of `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftglyph.h:479: previous non-function declaration `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftglyph.h:497: conflicts with function declaration \
                `int FT_EXPORT()'
/usr/include/freetype2/freetype/ftglyph.h:497: parse error before `(' token
/usr/include/freetype2/freetype/ftglyph.h:497: ISO C++ forbids declaration of \
                `FT_Done_Glyph' with no type
/usr/include/freetype2/freetype/ftglyph.h:528: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftglyph.h: In function `int FT_EXPORT()':
/usr/include/freetype2/freetype/ftglyph.h:528: `int FT_EXPORT()' redeclared as \
                different kind of symbol
/usr/include/freetype2/freetype/ftglyph.h:479: previous declaration of `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftglyph.h:479: previous non-function declaration `int \
                FT_EXPORT'
/usr/include/freetype2/freetype/ftglyph.h:528: conflicts with function declaration \
                `int FT_EXPORT()'
/usr/include/freetype2/freetype/ftglyph.h:528: parse error before `(' token
/usr/include/freetype2/freetype/ftglyph.h:528: parse error before `*' token
/usr/include/freetype2/freetype/ftglyph.h:529: ISO C++ forbids declaration of \
                `FT_Matrix_Multiply' with no type
/usr/include/freetype2/freetype/ftglyph.h:548: ISO C++ forbids declaration of \
                `FT_EXPORT' with no type
/usr/include/freetype2/freetype/ftglyph.h:548: redefinition of `int FT_EXPORT'
/usr/include/freetype2/freetype/ftglyph.h:479: `int FT_EXPORT' previously defined \
                here
/usr/include/freetype2/freetype/ftglyph.h:548: syntax error before `(' token
In file included from Font.cpp:27:
Converter.h:47: `Font' undeclared (first use this function)
Converter.h:47: template argument 1 is invalid
Converter.h:47: ISO C++ forbids declaration of `SharedFont' with no type
Converter.h:48: `Glyph' undeclared (first use this function)
Converter.h:48: template argument 1 is invalid
Converter.h:48: ISO C++ forbids declaration of `SharedGlyph' with no type
Converter.h:53: non-local function `void \
T2P::Converter::Converter(FT_EXPORT()::GlyphTracer*)' uses local type \
`FT_EXPORT()::GlyphTracer' Converter.h:64: non-local function \
`FT_EXPORT()::GlyphAffinePair* \
T2P::Converter::requestGlyph(FT_EXPORT()::GlyphRenderParams*, \
FT_EXPORT()::Rectangle&, FT_EXPORT()::Affine&, bool)' uses local type \
`FT_EXPORT()::GlyphAffinePair' Converter.h:66: `font' undeclared (first use this \
function) Converter.h:66: parse error before `unsigned'
Converter.h:66: non-local function `FT_EXPORT()::GlyphSet* \
T2P::Converter::calcString(...)' uses local type `FT_EXPORT()::GlyphSet' \
Converter.h:67: non-local function `SharedGlyph T2P::Converter::calcGlyph(const \
FT_EXPORT()::GlyphRenderParams*, FT_EXPORT()::Affine&, bool)' uses local type `const \
FT_EXPORT()::GlyphRenderParams' Converter.h:69: non-local function `void \
T2P::Converter::selectGlyph(FT_EXPORT()::GlyphRenderParams*)' uses local type \
`FT_EXPORT()::GlyphRenderParams' Converter.h:75: parse error before `)' token
Converter.h:77: semicolon missing after declaration of `T2P::Converter'
Converter.h:79: parse error before `*' token
Converter.h:79: non-member function `std::string T2P::cacheGlyphKey(...)' cannot have \
`const' method qualifier Converter.h:81: 'FT_Library' is used as a type, but is not \
defined as a type. Converter.h:83: syntax error before `*' token
Converter.h:85: 'Cache' is used as a type, but is not defined as a type.
Converter.h:86: 'Cache' is used as a type, but is not defined as a type.
Converter.h:90: parse error before `}' token
Font.cpp: In member function `std::list<std::string, std::allocator<std::string> >& \
T2P::FontVisualParams::fontList()': Font.cpp:99: syntax error before `::' token
Font.cpp:103: ISO C++ forbids declaration of `m_fontFace' with no type
Font.cpp:103: confused by earlier errors, bailing out
{standard input}: Assembler messages:
{standard input}:17: Error: symbol `FT_EXPORT' is already defined
{standard input}:24: Error: symbol `FT_EXPORT' is already defined
{standard input}:31: Error: symbol `FT_EXPORT' is already defined
{standard input}:38: Error: symbol `FT_EXPORT' is already defined
{standard input}:45: Error: symbol `FT_EXPORT' is already defined
make[1]: *** [Font.lo] Error 1
make: *** [all-recursive] Error 1


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

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