Subject: Re: Problems upgrading 1.5.1 to 1.5W
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 07/12/2001 21:33:00
On Thu, Jul 12, 2001 at 01:14:55PM +0300, Martti Kuparinen wrote:
> Hi!
> 
> 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
> -I/usr/src/lib/libroken/obj
> -I/usr/src/lib/libcom_err/compile_et/../../../crypto/dist/heimdal/lib/com_err
> -I/usr/src/lib/libcom_err/compile_et/../../../crypto/dist/heimdal/lib/roken
> -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
> 
> 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
> -D_PATH_LOCALEMODULE=\"/usr/lib/runemodule\" -DRESOLVSORT -I. -DPOSIX_MISTAKE
> -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

I worked aroud this with a 'make NOGCCERROR=1'

--
Manuel Bouyer <bouyer@antioche.eu.org>
--