Subject: Building 7/4 current
To: None <current-users@NetBSD.ORG>
From: Mark P. Gooderum <mark@nirvana.good.com>
List: current-users
Date: 07/04/1995 20:01:54
I get this error building a 7/4 kernel with PPP:

limbo::root 239%> make
cpp -DLOCORE -I. -I../../../../arch -I../../../.. -I../../../../sys -DI386_CPU 
-DI486_CPU -DI586_CPU -DMATH_EMULATE -DDUMMY_NOPS -DXSERVER -DUCONSOLE 
-DINSECURE -DMACHINE_NONCONTIG -DTIMEZONE="0" -DDST="0" -DSWAPPAGER 
-DVNODEPAGER -DDEVPAGER -DDDB -DDIAGNOSTIC -DKTRACE -DSYSVMSG -DSYSVSEM 
-DSYSVSHM -DCOMPAT_NOMID -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_43 -DTCP_COMPAT_42 
-DCOMPAT_SVR4 -DCOMPAT_IBCS2 -DCOMPAT_LINUX -DUSER_LDT -DLKM -DFFS -DQUOTA 
-DLFS -DMFS -DNFSCLIENT -DNFSSERVER -DCD9660 -DMSDOSFS -DFDESC -DFIFO -DKERNFS 
-DNULLFS -DPORTAL -DPROCFS -DUMAPFS -DUNION -DGATEWAY -DINET -DGENERIC 
-D_KERNEL -Di386 ../../i386/locore.s | as -g -o locore.o
../../../../arch/i386/isa/icu.s: Assembler messages:
../../../../arch/i386/isa/icu.s:161: Error: Unimplemented segment type 6 in 
parse_operand
*** Error code 1

The complaint really has nothing to due with the error, which appears to
be the line with the NETISR_PPP in icu.s:

#endif
#include "ppp.h"
#if NPPP > 0
        DONET(NETISR_PPP, _pppintr) <======== This line
#endif
        movl    %ebx,_cpl
        jmp     %esi

NETISR_PPP appears to not be defined anywhere.  The 1.0 code doesn't even
appear to have this reference for PPP.

Build a kernel w/o PPP and the problem goes away.
--
Mark