Subject: Re: internal compiler error?
To: Riccardo Mottola <zuse@libero.it>
From: Shigeki UNO <shigeki@mediawars.ne.jp>
List: port-mac68k
Date: 01/23/2003 01:35:25
Riccardo Mottola <zuse@libero.it> writes:

> Hello,
>
>     I am trying to compile blackbox WM on 1.6... and I get
>
> ----
>
> c++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/pkg/include -I/usr/X11R6/include
> -DSHA
> PE  -DNDEBUG -DNLS -DTIMEDCACHE
> -DLOCALEPATH=\"/usr/X11R6/share/blackbox/nls\" -
> DDEFAULTMENU=\"/usr/X11R6/share/blackbox/menu\"
> -DDEFAULTSTYLE=\"/usr/X11R6/shar
> e/blackbox/styles/Results\"  -O2 -I/usr/pkg/include -I/usr/X11R6/include
> -I/usr
> /X11R6/include -Wall -W -pedantic -c Screen.cc
> In file included from /usr/include/g++/alloc.h:21,
>                  from /usr/include/g++/std/bastring.h:39,
>                  from /usr/include/g++/string:6,
>                  from Screen.cc:75:
> /usr/include/g++/stl_alloc.h:1055: warning: ANSI C++ forbids the use of
> `extern'
>  on explicit instantiations
> /usr/include/g++/stl_alloc.h:1056: warning: ANSI C++ forbids the use of
> `extern'
>  on explicit instantiations
> /usr/include/g++/stl_alloc.h:1056: warning: ANSI C++ forbids the use of
> `extern'
>  on explicit instantiations
> /usr/include/g++/stl_alloc.h:1056: warning: ANSI C++ forbids the use of
> `extern'
>  on explicit instantiations
> Screen.cc: In method `void BScreen::LoadStyle()':
> Screen.cc:742: Internal compiler error.
> Screen.cc:742: Please submit a full bug report.
> Screen.cc:742: See <URL:http://www.gnu.org/software/gcc/bugs.html> for
> instructi
> ons.
> *** Error code 1
[...]
> So I wonder if someone else compiled it? if the compiler is obsolete ?
> 2.95.3 I thought it is the latest pre-3 series. Or maybe the blackbox source
> code is broken in that revision?

Sorry for you. ;)

I'm running 1.6E with the following gcc version and have installed blackbox
via pkgsrc without a hitch.

% uname -v
NetBSD 1.6E (NANA) #0: Mon Aug 12 03:50:30 JST 2002     shigeki@nana:/usr/src/sys/arch/mac68k/compile/NANA

% gcc -v
Using builtin specs.
gcc version 2.95.3 20010315 (release) (NetBSD nb3)

Take care,

---
Shigeki UNO (I'm a _twm_ user, though.)