Subject: bootstrap-pkgsrc fails on sparc-sun-solaris2.6
To: None <netbsd-help@netbsd.org>
From: Ingolf Steinbach <ingolf.steinbach@jena-optronik.de>
List: netbsd-help
Date: 04/15/2003 12:23:36
Hi,

bootstrapping "digest" fails on a sparc-sun-solaris2.6
machine:

cd bootstrap-pkgsrc
./bootstrap
[...]
===> Installing digest
checking build system type... sparc-sun-solaris2.6
checking host system type... sparc-sun-solaris2.6
[...]
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
cc -DHAVE_CONFIG_H -I. -I. -DHOST=\"sparc-sun-solaris2.6\" -DVERSION=\"20021220\"  -g -c bits.c -o bits.o
"bits.c", line 76: warning: signed is a keyword in ANSI C
"bits.c", line 76: undefined symbol: signed
"bits.c", line 76: syntax error before or at: char
"bits.c", line 76: undefined symbol: x
"bits.c", line 76: undefined symbol: zero
"bits.c", line 76: undefined symbol: pre
"bits.c", line 76: warning: improper pointer/integer combination: op "="
"bits.c", line 76: undefined symbol: tmp
"bits.c", line 76: undefined symbol: pre
"bits.c", line 76: undefined symbol: tmp2
"bits.c", line 76: invalid source character: '#'
"bits.c", line 76: syntax error before or at: char
"bits.c", line 77: invalid source character: '#'
"bits.c", line 77: syntax error before or at: short
"bits.c", line 78: invalid source character: '#'
"bits.c", line 78: syntax error before or at: int
"bits.c", line 79: invalid source character: '#'
"bits.c", line 79: syntax error before or at: long
"bits.c", line 81: invalid source character: '#'
"bits.c", line 81: syntax error before or at: long
"bits.c", line 84: cannot recover from previous errors
*** Error code 10
make: Fatal error: Command failed for target `bits.o'
digest program installation failed.


/opt/SUNWspro/bin/cc -V
cc: WorkShop Compilers 4.2.1 04 Feb 1997 C 4.2.1
usage: cc [ options] files.  Use 'cc -flags' for details

uname -a
SunOS polaris 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-5_10

cat CVS/Tag
D2003.04.15.10.13.08


Any hints welcome. Thanks.

    Ingolf
-- 

Ingolf Steinbach                       Jena-Optronik GmbH
ingolf.steinbach@jena-optronik.de       ++49 3641 200-147
PGP: 0x7B3B5661  213C 828E 0C92 16B5  05D0 4D5B A324 EC04