I noticed that in the README, only Solaris 2.7 and 2.6 are specified
as being supported. Is it known not to work on 2.8?
When I try to compile 0.65, I get this error in Timer.hh:
Providence Software Solutions, [EMAIL PROTECTED]:src$ make
c++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHAPE -DNDEBUG -DNLS
-DTIMEDCACHE -DLOCALEPATH=\"/usr/local/share/blackbox/nls\"
-DDEFAULTMENU=\"/usr/local/share/blackbox/menu\"
-DDEFAULTSTYLE=\"/usr/local/share/blackbox/styles/Results\" -g -O2
-I/usr/openwin/include -Wall -W -pedantic -c BaseDisplay.cc
In file included from BaseDisplay.hh:39,
from BaseDisplay.cc:85:
Timer.hh:93: parse error before `{'
Timer.hh: In function `int _timer_queue()':
Timer.hh:97: warning: return-type defaults to `int'
Timer.hh:93: previous non-function declaration `template <class _Tp,
class _Sequence, class _Compare> class
_timer_queue<_Tp,_Sequence,_Compare>'
Timer.hh:97: conflicts with function declaration `int _timer_queue()'
Timer.hh:97: base initializers not allowed for non-member functions
Timer.hh:97: warning: control reaches end of non-void function `_timer_queue()'
Timer.hh: At top level:
Timer.hh:98: destructors must be member functions
Timer.hh: In function `void _timer_queue()':
Timer.hh:98: new declaration `void _timer_queue()'
Timer.hh:97: ambiguates old declaration `int _timer_queue()'
Timer.hh: At top level:
Timer.hh:100: parse error before `&'
Timer.hh: In function `void release(...)':
Timer.hh:101: `c' undeclared (first use this function)
Timer.hh:101: (Each undeclared identifier is reported only once
Timer.hh:101: for each function it appears in.)
Timer.hh:101: `value' undeclared (first use this function)
Timer.hh:103: `comp' undeclared (first use this function)
Timer.hh: At top level:
Timer.hh:105: non-member function `empty()' cannot have `const' method qualifier
Timer.hh: In function `bool empty()':
Timer.hh:105: `_Base' undeclared (first use this function)
Timer.hh:105: parse error before `::'
Timer.hh:105: warning: control reaches end of non-void function `empty()'
Timer.hh: At top level:
Timer.hh:106: non-member function `size()' cannot have `const' method qualifier
Timer.hh: In function `unsigned int size()':
Timer.hh:106: `_Base' undeclared (first use this function)
Timer.hh:106: parse error before `::'
Timer.hh:106: warning: control reaches end of non-void function `size()'
Timer.hh: At top level:
Timer.hh:107: parse error before `&'
Timer.hh: In function `void push(...)':
Timer.hh:107: `_Base' undeclared (first use this function)
Timer.hh:107: parse error before `::'
Timer.hh: In function `void pop()':
Timer.hh:108: `_Base' undeclared (first use this function)
Timer.hh:108: parse error before `::'
Timer.hh: At top level:
Timer.hh:109: syntax error before `&'
Timer.hh:113: syntax error before `&'
In file included from BaseDisplay.cc:85:
BaseDisplay.hh:91: field `timerList' has incomplete type
BaseDisplay.hh: In method `bool BaseDisplay::hasShapeExtensions() const':
BaseDisplay.hh:116: confused by earlier errors, bailing out
*** Error code 1
make: Fatal error: Command failed for target `BaseDisplay.o'
I also tried the latest 0.70 beta and got a different compile error in Util.hh:
[EMAIL PROTECTED]:src$ make
source='BlackboxResource.cc' object='BlackboxResource.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/openwin/include -DNLS
-DLOCALEPATH=\"/usr/local/share/blackbox/nls\"
-DDEFAULTMENU=\"/usr/local/share/blackbox/menu\"
-DDEFAULTSTYLE=\"/usr/local/share/blackbox/styles/Results\" -I../lib
-g -O2 -Wall -W -pedantic -I/usr/openwin/include -c -o
BlackboxResource.o BlackboxResource.cc
../lib/Util.hh:46: sorry, not implemented: namespace
In file included from BlackboxResource.hh:28,
from BlackboxResource.cc:25:
../lib/Bitmap.hh:34: conflicting types for `struct Display'
../lib/Util.hh:32: previous declaration as `typedef struct _XDisplay Display'
In file included from BlackboxResource.hh:30,
from BlackboxResource.cc:25:
../lib/Font.hh:49: parse error before `::'
../lib/Font.hh:72: parse error before `::'
/afs/bp.ncsu.edu/contrib/gcc281/include/g++/std/bastring.h: In method
`void basic_string<char,string_char_traits<char>,__default_alloc_template<false,0>
>::Rep::release()':
/afs/bp.ncsu.edu/contrib/gcc281/include/g++/std/bastring.h:76:
warning: inline function `static void
basic_string<char,string_char_traits<char>,__default_alloc_template<false,0>
>::Rep::operator delete(void *)' called before definition
/afs/bp.ncsu.edu/contrib/gcc281/include/g++/std/bastring.h:76:
warning: inline function `static void
basic_string<char,string_char_traits<char>,__default_alloc_template<false,0>
>::Rep::operator delete(void *)' called before definition
../lib/Timer.hh: At top level:
In file included from BlackboxResource.hh:32,
from BlackboxResource.cc:25:
../lib/Timer.hh:50: warning: conversion to the same type will never
use a type conversion operator
../lib/Timer.hh:107: parse error before `{'
../lib/Timer.hh: In function `int _timer_queue()':
../lib/Timer.hh:112: warning: return-type defaults to `int'
../lib/Timer.hh:107: previous non-function declaration `template
<class _Tp, class _Sequence, class _Compare> class
_timer_queue<_Tp,_Sequence,_Compare>'
../lib/Timer.hh:112: conflicts with function declaration `int _timer_queue()'
../lib/Timer.hh:112: base initializers not allowed for non-member functions
../lib/Timer.hh:113: warning: control reaches end of non-void function
`_timer_queue()'
../lib/Timer.hh: At top level:
../lib/Timer.hh:115: destructors must be member functions
../lib/Timer.hh: In function `void _timer_queue()':
../lib/Timer.hh:115: new declaration `void _timer_queue()'
../lib/Timer.hh:112: ambiguates old declaration `int _timer_queue()'
../lib/Timer.hh: At top level:
../lib/Timer.hh:117: parse error before `&'
../lib/Timer.hh: In function `void release(...)':
../lib/Timer.hh:118: `_Base' undeclared (first use this function)
../lib/Timer.hh:118: (Each undeclared identifier is reported only once
../lib/Timer.hh:118: for each function it appears in.)
../lib/Timer.hh:118: parse error before `::'
../lib/Timer.hh:121: parse error before `::'
../lib/Timer.hh: At top level:
../lib/Timer.hh:124: non-member function `empty()' cannot have `const'
method qualifier
../lib/Timer.hh: In function `bool empty()':
../lib/Timer.hh:124: `_Base' undeclared (first use this function)
../lib/Timer.hh:124: parse error before `::'
../lib/Timer.hh:124: warning: control reaches end of non-void function `empty()'
../lib/Timer.hh: At top level:
../lib/Timer.hh:126: non-member function `size()' cannot have `const'
method qualifier
../lib/Timer.hh: In function `unsigned int size()':
../lib/Timer.hh:126: `_Base' undeclared (first use this function)
../lib/Timer.hh:126: parse error before `::'
../lib/Timer.hh:126: warning: control reaches end of non-void function `size()'
../lib/Timer.hh: At top level:
../lib/Timer.hh:127: parse error before `&'
../lib/Timer.hh: In function `void push(...)':
../lib/Timer.hh:128: `_Base' undeclared (first use this function)
../lib/Timer.hh:128: parse error before `::'
../lib/Timer.hh: In function `void pop()':
../lib/Timer.hh:130: `_Base' undeclared (first use this function)
../lib/Timer.hh:130: parse error before `::'
../lib/Timer.hh: At top level:
../lib/Timer.hh:131: syntax error before `&'
../lib/Timer.hh:136: syntax error before `&'
../lib/Timer.hh:152: parse error before `}'
In file included from BlackboxResource.cc:25:
BlackboxResource.hh:45: `bt' is not a class or namespace
BlackboxResource.hh:45: `NoCopy' is not a class or namespace
BlackboxResource.hh:45: confused by earlier errors, bailing out
*** Error code 1
make: Fatal error: Command failed for target `BlackboxResource.o'
If you all have any ideas, it'd be greatly appreciated. Thanks!
Ed Anderson
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives: http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]