Subject: Can't build new kernel
To: None <current-users@NetBSD.ORG>
From: Michael L. VanLoon -- HeadCandy.com <michaelv@MindBender.serv.net>
List: current-users
Date: 10/30/1997 09:31:35
I've been trying to get past the libc.so.13.x thing (I never built a
.13 -- I just need to build from before that, as we were warned
about).  However, I can't get a kernel compile to finish.  It always
fails with this message:

cc -g -O -fomit-frame-pointer -pipe -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -I. -I../../../../arch -I../../../.. -nostdinc -DEXEC_AOUT -DEXEC_SCRIPT -DI486_CPU -DI586_CPU -DI686_CPU -DMINDBENDER -DNTP -DDUMMY_NOPS -DINSECURE -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_43 -DCOMPAT_NOMID -DKTRACE -DFIFO -DQUOTA -DINET -DNFSCLIENT -DNFSSERVER -DGATEWAY -DPPP_BSDCOMP -DPPP_DEFLATE -DMROUTING -DXSERVER -DLKM -DCOMPAT_FREEBSD -DCOMPAT_IBCS2 -DCOMPAT_SVR4 -DCOMPAT_LINUX -DEXEC_ELF32 -DCOM_ESP -DCOM_HAYESP -DSYSVMSG -DSYSVSEM -DSYSVSHM -DSHMMAXPGS="0x400" -DPCVT_NSCREENS="9" -DPCVT_PRETTYSCRNS -DPCVT_INHIBIT_NUMLOCK="0" -DFAT_CURSOR="1" -DDDB -DAHC_TAGENABLE -DBUFCACHE="0xf" -DFFS -DLFS -DMFS -DNFS -DCD9660 -DMSDOSFS -DFDESC -DKERNFS -DNULLFS -DPORTAL -DPROCFS -DUMAPFS -DUNION -DMAXUSERS=32 -D_KERNEL  -Di386  -c ../../../../vm/vm_mmap.c
cc1: warnings being treated as errors
../../../../vm/vm_mmap.c:277: warning: function declaration isn't a prototype
../../../../vm/vm_mmap.c: In function `sys___msync13':
../../../../vm/vm_mmap.c:292: dereferencing pointer to incomplete type
../../../../vm/vm_mmap.c:293: dereferencing pointer to incomplete type
../../../../vm/vm_mmap.c:294: dereferencing pointer to incomplete type
../../../../vm/vm_mmap.c:286: warning: `addr' might be used uninitialized in this function
../../../../vm/vm_mmap.c:287: warning: `size' might be used uninitialized in this function
../../../../vm/vm_mmap.c:289: warning: `flags' might be used uninitialized in this function
*** Error code 1

What's up with that?  'sys___msync13' *looks* like a correct function
declaration/definition (in the K&R style).  This is with source supped
from last weekend to last night -- it fails the same way regardless.

Care to lend me a clue?

-----------------------------------------------------------------------------
  Michael L. VanLoon                           michaelv@MindBender.serv.net
      Contract software development for Windows NT, Windows 95 and Unix.
             Windows NT and Unix server development in C++ and C.

        --<  Free your mind and your machine -- NetBSD free un*x  >--
    NetBSD working ports: 386+PC, Mac 68k, Amiga, Atari 68k, HP300, Sun3,
        Sun4/4c/4m, DEC MIPS, DEC Alpha, PC532, VAX, MVME68k, arm32...
    NetBSD ports in progress: PICA, others...
-----------------------------------------------------------------------------