[Fresco-devel] Troubles compiling on FreeBSD R5.0

Nicolas Souchu <[email protected]> Sat, 5 Apr 2003 02:09:43 +0000
Newsgroups gmane.comp.video.fresco.devel
Message-ID <[email protected]>
Hi folks,

As I discovered M2 was buildable on FreeBSD I gave it a try on R5.0.
Unfortunately I get a bunch of warnings and compilation errors:

First,

>>>
/usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This file i
ncludes 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 includ
e 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 -W
no-deprecated.
<<<

So how do we pass -Wno-deprecated to the building process?

Then a lot of:

>>>
/usr/local/include/omniORB4/acconfig.h:182:1: warning: "PACKAGE_TARNAME" redefin
ed
In file included from <command line>:1:
../include/Fresco/acconfig.hh:50:1: warning: this is the location of the previou
s definition
In file included from /usr/local/include/omniconfig.h:37,
                 from /usr/local/include/omniORB4/CORBA_sysdep.h:64,
                 from /usr/local/include/omniORB4/omniInternal.h:197,
                 from /usr/local/include/omniORB4/CORBA.h:310,
                 from ../include/Fresco/Window.hh:10,
                 from WindowSK.cc:3:
<<<

Then fatal errors attached.

Thanks for giving me some hints...

By the way, who did the port?

Nicholas

-- 
Nicholas Souchu - [email protected] - [email protected]
fatal-errors (text/plain, 11.7 KB)
In file included from /usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.cc:27:
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:64: `
   FT_Face' was not declared in this scope
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:64: `f' was 
   not declared in this scope
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:64: invalid 
   data member initialization
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:64: (use 
   `=' to initialize static data members)
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:64: variable
   or field `setup_face' declared void
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:65: `
   FT_Face' was not declared in this scope
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:65: `f' was 
   not declared in this scope
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:65: invalid 
   data member initialization
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:65: variable
   or field `setup_size' declared void
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:66: syntax 
   error before `&' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:67: `
   FT_Matrix' was not declared in this scope
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:67: `m' was 
   not declared in this scope
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:67: variable
   or field `matrix' declared void
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:67: syntax 
   error before `{' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:69: semicolon
   missing after declaration of `Berlin::DrawingKit::libArt::FTFont'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:69: ISO C++ 
   forbids defining types within return type
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:69: two or 
   more data types in declaration of `get_scale'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:69: non-
   member function `Berlin::DrawingKit::libArt::FTFont 
   Berlin::DrawingKit::libArt::get_scale()' cannot have `const' method 
   qualifier
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:69: semicolon
   missing after declaration of `class Berlin::DrawingKit::libArt::FTFont'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh: In 
   function `int Berlin::DrawingKit::libArt::get_scale()':
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:69: `_scale
   ' undeclared (first use this function)
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:69: (Each 
   undeclared identifier is reported only once for each function it appears 
   in.)
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh: At global 
   scope:
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:71: syntax 
   error before `protected'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:77: 'atom' 
   is used as a type, but is not defined as a type.
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:78: `atom' 
   was not declared in this scope
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:78: template
   argument 2 is invalid
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:78: template
   argument 4 is invalid
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:78: ISO C++ 
   forbids declaration of `_atoms' with no type
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:80: syntax 
   error before `&' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:83: syntax 
   error before `&' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:87: '
   FT_Matrix' is used as a type, but is not defined as a type.
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:88: `atom' 
   was not declared in this scope
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:88: `atom' 
   was not declared in this scope
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:88: template
   argument 1 is invalid
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:88: template
   argument 2 is invalid
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:88: ISO C++ 
   forbids declaration of `FamStyle' with no type
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:91: `
   FT_Matrix' was not declared in this scope
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:91: template
   argument 1 is invalid
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:91: ISO C++ 
   forbids declaration of `TGlyphSpec' with no type
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh: In member 
   function `bool Berlin::DrawingKit::TGlyphSpec_cmp::operator()(const 
   TGlyphSpec&, const TGlyphSpec&)':
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:101: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:101: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:102: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:102: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:102: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:102: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:103: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:103: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:103: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:103: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:103: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:103: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:104: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:104: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:104: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:104: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:104: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:104: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:104: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:104: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:105: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:105: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:105: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:105: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:105: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:105: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:105: request
   for member `first' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:105: request
   for member `first' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:106: request
   for member `second' in `a', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:106: request
   for member `second' in `b', which is of non-aggregate type `int'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh: At global 
   scope:
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:114: syntax 
   error before `*' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:117: syntax 
   error before `*' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:117: missing
   ';' before right brace
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:118: semicolon
   missing after declaration of `Berlin::DrawingKit::GlyphMetricsFactory'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:118: syntax 
   error before `(' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:125: syntax 
   error before `*' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:128: syntax 
   error before `*' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:128: missing
   ';' before right brace
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:129: semicolon
   missing after declaration of `Berlin::FaceMetricsFactory'
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:129: syntax 
   error before `(' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:136: syntax 
   error before `*' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:139: syntax 
   error before `*' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:139: missing
   ';' before right brace
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:140: syntax 
   error before `&' token
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:142: syntax 
   error before `}' token
In file included from /usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.cc:27:
/usr/devel/fresco/Fresco-M2/Berlin/modules/Drawing/libArt/FTFont.hh:22:1: unterminated #ifndef
gmake[3]: *** [FTFont.o] Erreur 1
gmake[3]: Quitte le répertoire `/ad0/usr/devel/fresco/fresco-build/Berlin/modules/Drawing/libArt'
gmake[2]: *** [Drawing/libArt] Erreur 2
gmake[2]: Quitte le répertoire `/ad0/usr/devel/fresco/fresco-build/Berlin/modules'
gmake[1]: *** [modules] Erreur 2
gmake[1]: Quitte le répertoire `/ad0/usr/devel/fresco/fresco-build/Berlin'
gmake: *** [Berlin] Erreur 2