Subject: Re: kernel compile problem
To: None <rmk@rmkhome.com>
From: Nathan J. Williams <nathanw@MIT.EDU>
List: port-sun3
Date: 01/27/2001 17:17:57
Rick Kelly <rmk@toad.rmkhome.com> writes:

> Problem while compiling a kernel for a Sun 3/50

What version? A rencent -current? 1.5? Something else?

> 
> cc  -O2 -fno-defer-pop -msoft-float -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-uninitialized -Wno-main -nostdinc -I. -I../../../../arch -I../../../.. -undef -D__NetBSD__ -Dm68k -Dmc68000 -D_KERNEL -Dsun3 -D_SUN3_ -DLANCE_REVC_BUG -DMAXUSERS=2  -c ../../../../nfs/nfs_vnops.c
> ../../../../nfs/nfs_vnops.c: In function `nfs_sillyrename':
> ../../../../nfs/nfs_vnops.c:5317: `s' undeclared (first use in this function)
> ../../../../nfs/nfs_vnops.c:5317: (Each undeclared identifier is reported only once
> ../../../../nfs/nfs_vnops.c:5317: for each function it appears in.)
> ../../../../nfs/nfs_vnops.c:5317: syntax error before `~'
> *** Error code 1

I think there's something wrong with your source tree. That file is
only about 3200 lines long, and it compiles fine in my -current source tree
on a 3/80. If it thinks nfs_sillyrename() is in the 5300-range,
the file is damaged.

        - Nathan