Subject: Re: NetBSD 1.4.1/sparc and gcc & ncurses
To: Jussi Hamalainen <count@theblah.org>
From: Adrian Bunk <bunk@fachschaften.tu-muenchen.de>
List: port-sparc
Date: 11/04/1999 09:19:08
On Wed, 3 Nov 1999, Jussi Hamalainen wrote:

> Hello folks,
>=20
> Has anyone successfully compiled gcc-2.95.2 on NetBSD 1.4.1/sparc? I
> tried and failed miserably. Make bootstrap barfs at
> libiberty/fnmatch.c (IIRC) due to undefined symbols (stuff missing
> from /usr/include/fnmatch.h).

No, I was trying to compile gcc-2.95.2 (with gcc-2.95) on a SPARCstation2
running NetBSD 1.3.3 . libiberty/fnmatch.c compiled without any problems,
but then there was the following error later:

gmake[3]: Entering directory `/usr/soft/gcc-2.95.2/objdir/gcc/cp'
stage1/xgcc -Bstage1/
-B/usr/local/DIR/gcc-2.95.2/sparc-unknown-netbsd1.3.3/bin/ -c  -DIN_GCC
-O2 -O2 -I/usr/local/include/ -g -L/usr/local/lib/
-I. -I.. -I../../../gcc/cp
-I../../../gcc/cp/.. -I../../../gcc/cp/../config
-I../../../gcc/cp/../../include ../../../gcc/cp/call.c
stage1/xgcc -Bstage1/
-B/usr/local/DIR/gcc-2.95.2/sparc-unknown-netbsd1.3.3/bin/ -c  -DIN_GCC
-O2 -O2 -I/usr/local/include/ -g -L/usr/local/lib/
-I. -I.. -I../../../gcc/cp
-I../../../gcc/cp/.. -I../../../gcc/cp/../config
-I../../../gcc/cp/../../include ../../../gcc/cp/decl.c
=2E./../../gcc/cp/decl.c: In function `push_decl_level':
=2E./../../gcc/cp/decl.c:594: storage size of `tem' isn't known
=2E./../../gcc/cp/decl.c:597: warning: return makes pointer from integer
without a cast
=2E./../../gcc/cp/decl.c: In function `poplevel_class':
=2E./../../gcc/cp/decl.c:1747: warning: assignment makes pointer from
integer without a cast
gmake[3]: *** [decl.o] Error 1
gmake[3]: Leaving directory `/usr/soft/gcc-2.95.2/objdir/gcc/cp'
gmake[2]: *** [cc1plus] Error 2
gmake[2]: Leaving directory `/usr/soft/gcc-2.95.2/objdir/gcc'
gmake[1]: *** [bootstrap] Error 2
gmake[1]: Leaving directory `/usr/soft/gcc-2.95.2/objdir/gcc'
gmake: *** [bootstrap] Error 2


Some time ago I was able to compile gcc-2.95 without any problems.

> Also, ncurses 4.2 and 5.0 won't compile. I get a whole host of syntax
> errors from code that looks perfectly OK to me.

ncurses-4.2 run fine here.

> Any advice, anyone?
>=20
> -=3D[ Count Zero / TBH - Jussi H=E4m=E4l=E4inen - email count@theblah.org=
 ]=3D-

cu,
Adrian

--
Selbst die weiteste Reise beginnt mit dem ersten Schritt.