Subject: make fails in /usr/src/distrib/sparc
To: SPARC port <port-sparc@netbsd.org>
From: Greywolf <greywolf@starwolf.com>
List: port-sparc
Date: 11/21/2000 18:18:34
Plugh!

"make" fails in /usr/src/distrib/sparc; to wit (this is of length, and thus
I apologise...):

all ===> ramdisk
make -f ramdiskbin.mk all
(cd /usr/src/distrib/sparc/ramdisk/../../../distrib/utils/x_gzip; make gzip.o)
`gzip.o' is up to date.
(cd /usr/src/distrib/sparc/ramdisk/../../../usr.sbin/chroot; make chroot.o)
`chroot.o' is up to date.
(cd /usr/src/distrib/sparc/ramdisk/../../../sbin/newfs; make dkcksum.o getmntopts.o newfs.o mkfs.o ffs_bswap.o)
`dkcksum.o' is up to date.
`getmntopts.o' is up to date.
`newfs.o' is up to date.
`mkfs.o' is up to date.
`ffs_bswap.o' is up to date.
(cd /usr/src/distrib/sparc/ramdisk/../../../sbin/mount_cd9660; make mount_cd9660.o getmntopts.o)
`mount_cd9660.o' is up to date.
`getmntopts.o' is up to date.
(cd /usr/src/distrib/sparc/ramdisk/../../../sbin/mount_ffs; make mount_ffs.o getmntopts.o)
`mount_ffs.o' is up to date.
`getmntopts.o' is up to date.
(cd /usr/src/distrib/sparc/ramdisk/../../../distrib/utils/init_s; make init.o)
`init.o' is up to date.
(cd /usr/src/distrib/sparc/ramdisk/../../../bin/mt; make mt.o)
`mt.o' is up to date.
(cd /usr/src/distrib/sparc/ramdisk/../../../usr.bin/eject; make eject.o)
`eject.o' is up to date.
(cd /usr/src/distrib/sparc/ramdisk/../../../bin/pax; make ar_io.o ar_subs.o buf_subs.o cpio.o file_subs.o ftree.o gen_subs.o getoldopt.o options.o pat_rep.o pax.o sel_subs.o tables.o tar.o tty_subs.o)
`ar_io.o' is up to date.
`ar_subs.o' is up to date.
`buf_subs.o' is up to date.
`cpio.o' is up to date.
`file_subs.o' is up to date.
`ftree.o' is up to date.
`gen_subs.o' is up to date.
`getoldopt.o' is up to date.
`options.o' is up to date.
`pat_rep.o' is up to date.
`pax.o' is up to date.
`sel_subs.o' is up to date.
`tables.o' is up to date.
`tar.o' is up to date.
`tty_subs.o' is up to date.
(cd /usr/src/distrib/sparc/ramdisk/../../../distrib/utils/x_sh; make alias.o cd.o echo.o error.o eval.o exec.o expand.o histedit.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o options.o parser.o redir.o show.o trap.o output.o var.o test.o arith.o arith_lex.o builtins.o init.o nodes.o syntax.o)
cc -O2 -O3 -pipe -mv8 -Os -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror    -DTARGET_CHAR="int8_t" -o mksyntax /usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c
cc1: warnings being treated as errors
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:71: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:71: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:72: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:72: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:73: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:73: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:74: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:74: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:75: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:75: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:76: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:76: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:77: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:77: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:78: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:78: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:79: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:79: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:80: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:80: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:81: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:81: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:82: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:82: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:83: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:83: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:84: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:84: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:94: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:94: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:95: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:95: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:96: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:96: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:97: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:97: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:98: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:98: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c: In function `main':
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:223: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:223: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:224: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:224: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:225: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:225: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:226: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:226: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:227: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:227: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:228: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:228: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:229: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:229: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:230: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:230: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:231: warning: passing arg 1 of `print' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:234: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:234: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:235: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:235: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:236: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:236: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:237: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:237: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:238: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:238: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:239: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:239: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:241: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:241: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:242: warning: passing arg 1 of `print' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:245: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:245: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:246: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:246: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:248: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:248: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:249: warning: passing arg 1 of `print' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:252: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:252: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:253: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:253: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:254: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:254: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:255: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:255: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:256: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:256: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:257: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:257: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:258: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:258: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:259: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:259: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:260: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:260: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:261: warning: passing arg 1 of `print' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:262: warning: passing arg 1 of `filltable' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:264: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:264: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:265: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:265: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:266: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:266: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:267: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:267: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:268: warning: passing arg 1 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:268: warning: passing arg 2 of `add' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:269: warning: passing arg 1 of `print' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c: In function `init':
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:300: warning: passing arg 1 of `filltable' discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:301: warning: assignment discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:303: warning: assignment discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:304: warning: assignment discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:305: warning: assignment discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:306: warning: assignment discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:307: warning: assignment discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:308: warning: assignment discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:309: warning: assignment discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:310: warning: assignment discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c: At top level:
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:377: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:378: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:379: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:380: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:381: warning: initialization discards `const' from pointer target type
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c: In function `output_type_macros':
/usr/src/distrib/utils/x_sh/../../../bin/sh/mksyntax.c:391: warning: assignment discards `const' from pointer target type
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


				--*greywolf;
--
*BSD: An Operating System For Everyone