Subject: kernel compile report again.
To: None <port-pmax@NetBSD.ORG>
From: Arne H. Juul <arnej@pvv.unit.no>
List: port-pmax
Date: 08/29/1995 10:37:40
Here's a brand-new kernel-compile report, I just supped so I should
have the most recent sources from sun-lamp.  This is (almost) the
'standard' NEWCONF kernel - I've put in DIAGNOSTIC and KTRACE.

cc -c -O2 -I. -I../../../../arch -I../../../.. -I../../../../sys -DDS5000 -DDS5000_240 -DDS5000_100 -DDS5000_25 -DDS5000_200 -DDS3100 -DNEWCONF -DTIMEZONE="8*60" -DDST="1" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DDIAGNOSTIC -DDEBUG -DCOMPAT_43 -DKTRACE -DNKMEMCLUSTERS=1024 -DFIFO -DFFS -DQUOTA -DMFS -DNFSCLIENT -DNFSSERVER -DKERNFS -DINET -DCOMPAT_ULTRIX -D_KERNEL -Dpmax -D__NetBSD__   ../../../../arch/pmax/tc/if_le.c
../../../../arch/pmax/tc/if_le.c: In function `leattach':
../../../../arch/pmax/tc/if_le.c:289: `ASIC_INTR_LANCE' undeclared (first use this function)
../../../../arch/pmax/tc/if_le.c:289: (Each undeclared identifier is reported only once
../../../../arch/pmax/tc/if_le.c:289: for each function it appears in.)
*** Error code 1 (continuing)

The code in question looks like this:
        if (SYSTEM_HAS_ASIC()) {
                /* XXX YEECH!!! */
                *(volatile u_int *)ASIC_REG_IMSK(asic_base) |= ASIC_INTR_LANCE;
                wbflush();
        }
so I guess this is something which is supposed to change soon :-)
This is the most serious problem for me right now.


cc -c -O2 -I. -I../../../../arch -I../../../.. -I../../../../sys -DDS5000 -DDS5000_240 -DDS5000_100 -DDS5000_25 -DDS5000_200 -DDS3100 -DNEWCONF -DTIMEZONE="8*60" -DDST="1" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DDIAGNOSTIC -DDEBUG -DCOMPAT_43 -DKTRACE -DNKMEMCLUSTERS=1024 -DFIFO -DFFS -DQUOTA -DMFS -DNFSCLIENT -DNFSSERVER -DKERNFS -DINET -DCOMPAT_ULTRIX -D_KERNEL -Dpmax -D__NetBSD__   ../../../../arch/pmax/pmax/conf.c
../../../../arch/pmax/pmax/conf.c:129: rcons.h: No such file or directory
*** Error code 1 (continuing)

I found I could just remove the rcons lines, since rcons isn't there yet.
(I would like to see the rcons code later on and try it together with X
though).


cc -c -O2 -I. -I../../../../arch -I../../../.. -I../../../../sys -DDS5000 -DDS5000_240 -DDS5000_100 -DDS5000_25 -DDS5000_200 -DDS3100 -DNEWCONF -DTIMEZONE="8*60" -DDST="1" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DDIAGNOSTIC -DDEBUG -DCOMPAT_43 -DKTRACE -DNKMEMCLUSTERS=1024 -DFIFO -DFFS -DQUOTA -DMFS -DNFSCLIENT -DNFSSERVER -DKERNFS -DINET -DCOMPAT_ULTRIX -D_KERNEL -Dpmax -D__NetBSD__   ../../../../arch/pmax/tc/asic.c
../../../../arch/pmax/tc/asic.c: In function `asic_intr_establish':
../../../../arch/pmax/tc/asic.c:274: `ASIC_SLOT_RTC' undeclared (first use this function)
../../../../arch/pmax/tc/asic.c:274: (Each undeclared identifier is reported only once
../../../../arch/pmax/tc/asic.c:274: for each function it appears in.)
../../../../arch/pmax/tc/asic.c:294: warning: passing arg 2 from incompatible pointer type


The ASIC_SLOT_RTC thing is inside an #ifdef DIAGNOSTIC, so I just took
#ifdef 0 instead.


Please feel free to ignore this report until you have time, because I won't
have time to do anything with NetBSD for a couple of weeks now anyway I'm
afraid.

Yours,

  - Arne H. J.