Subject: Re: Kernel compile fails on m68k
To: Frederick Bruckman <fb@enteract.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 09/12/1998 11:30:09
On Sat, 12 Sep 1998 11:38:02 -0500 (CDT) 
 Frederick Bruckman <fb@enteract.com> wrote:

Yes, I will be working on this today or tomorrow... m68k is just going to
be broken until the signal changes are dealt with.  (Which is going to be
a pain on the m68k due to how sigreturn is invoked).

 > Trying to compile a kernel after today's sup:
 > 
 > cc  -O2 -m68040 -pipe -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -msoft-float -I. 
 > -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DSETUIDSCRIPTS -DNVNODE="0x7c0" 
 > -DNKMEMCLUSTERS="0x800" -DBELL_FREQ="0x5d4" -DBELL_LENGTH="0xa" -DBELL_VOLUME="0x50" -DM68040 
 > -DFPSP -DLKM -DDIAGNOSTIC -DCOMPAT_43 -DFFS_EI -DEXT2FS_SYSTEM_FLAGS -DPPP_DEFLATE -DPPP_FILTER 
 > -DALTXBUTTONS -DMAXUSERS=16 -D_KERNEL  -Dmc68020 -Dmac68k  -c 
 > ../../../../arch/m68k/m68k/sig_machdep.c
 > ../../../../arch/m68k/m68k/sig_machdep.c: In function `sendsig':
 > ../../../../arch/m68k/m68k/sig_machdep.c:114: argument `mask' doesn't match prototype
 > ../../../../sys/signalvar.h:167: prototype declaration
 > ../../../../arch/m68k/m68k/sig_machdep.c:135: `SAS_ALTSTACK' undeclared (first use this function)
 > ../../../../arch/m68k/m68k/sig_machdep.c:135: (Each undeclared identifier is reported only once
 > ../../../../arch/m68k/m68k/sig_machdep.c:135: for each function it appears in.)
 > ../../../../arch/m68k/m68k/sig_machdep.c:136: structure has no member named `ps_sigonstack'
 > cc1: warnings being treated as errors
 > ../../../../arch/m68k/m68k/sig_machdep.c:136: warning: implicit declaration of function `sigmask'
 > ../../../../arch/m68k/m68k/sig_machdep.c: At top level:
 > ../../../../arch/m68k/m68k/sig_machdep.c:267: warning: function declaration isn't a prototype
 > ../../../../arch/m68k/m68k/sig_machdep.c: In function `sys_sigreturn':
 > ../../../../arch/m68k/m68k/sig_machdep.c:279: dereferencing pointer to incomplete type
 > ../../../../arch/m68k/m68k/sig_machdep.c:379: wrong type argument to bit-complement
 > ../../../../arch/m68k/m68k/sig_machdep.c:272: warning: `scp' might be used uninitialized in this function
 > *** Error code 1
 > 
 > Stop.
 > 

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942