Subject: Re: Problems upgrading 1.5.1 to 1.5W
To: None <,>
From: None <>
List: current-users
Date: 07/12/2001 17:59:30

	I'm in the process of upgrading an Ultrasparc from 1.5.1 to 1.5W
	and noticed one problem while building the user space (the kernel
	is already 1.5W while everything else is still 1.5.1).

	# cd /usr/src
	# make beforeinstall
	# make obj
	# make includes
	includes ===> lib/libvers
	includes ===> lib/libcom_err
	cc -O -I. -I/usr/src/lib/libcom_err/compile_et/../../../include/heimdal
	-DHAVE_CONFIG_H -o compile_et strlcpy.lo strlcat.lo compile_et.lo parse.lo
	lex.lo getarg.lo print_version.lo warnerr.lo strupr.lo get_window_size.lo
	compile_et.lo: In function `main':
	compile_et.lo(.text+0x65c): undefined reference to `setprogname'
	warnerr.lo: In function `set_progname':
	warnerr.lo(.text+0x14): undefined reference to `setprogname'
	*** Error code 1

That always hits me if I don't use MAKEOBJDIRPREFIX.  I'd suggest
filing a pr.

	My libc is still from 1.5.1 so this failed. Trying to rebuild libc fails
	as well:

	# cd /usr/src/lib/libc
	# make all install
	cc -O -DALL_STATE -DUSG_COMPAT  -Wall -Wstrict-prototypes -Wmissing-prototypes
	-Wpointer-arith -Wno-uninitialized -Werror -D_LIBC -DNLS -DYP -DHESIOD
	-DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -DINET6
	-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../libexec/ld.elf_so
	-I/usr/src/lib/libc/dlfcn -DWITH_RUNE -DRUNEMOD_MAJOR=3
	-DPORTMAP -DFLOATING_POINT -c /usr/src/lib/libc/rpc/bindresvport.c
	In file included from /usr/include/rpc/rpcb_clnt.h:61,
	from /usr/include/rpc/rpc.h:75,
	from /usr/src/lib/libc/rpc/bindresvport.c:57:
	/usr/include/rpc/rpcb_prot.h:197: warning: `#ifdef' argument starts with a digit

	Any ideas? I don't have any packages installed (e.g. Netscape) so
	I'm unable to check if this is a known fault.
	The sources were updated yesterday...

I think you need to do a `make includes' to fix that.