kernel for MVME167

Henning Kiel <[email protected]> Tue, 19 Aug 2003 11:43:37 +0200 (CEST)
Newsgroups gmane.os.netbsd.ports.mvme68k
Message-ID <[email protected]>
Hi!

I am successfully running netbsd. Now I wanted to compile my own kernel,
but got errors:

cc  -m68040 -msoft-float -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -Dmvme68k -I.  -I../../../../arch -I../../../.. -nostdinc -DMVME167 -DM68040 -DMAXUSERS=2 -D_KERNEL -D_KERNEL_OPT   -c /usr/src/sys/arch/mvme68k/compile/HENNING-1/../../../../arch/mvme68k/mvme68k/pmap.c
/usr/src/sys/arch/mvme68k/compile/HENNING-1/../../../../arch/mvme68k/mvme68k/pmap.c:
In function `pmap_do_remove':
/usr/src/sys/arch/mvme68k/compile/HENNING-1/../../../../arch/mvme68k/mvme68k/pmap.c:930: parse error before `:'
/usr/src/sys/arch/mvme68k/compile/HENNING-1/../../../../arch/mvme68k/mvme68k/pmap.c:930: parse error before `)'
/usr/src/sys/arch/mvme68k/compile/HENNING-1/../../../../arch/mvme68k/mvme68k/pmap.c:
In function `pmap_protect':
/usr/src/sys/arch/mvme68k/compile/HENNING-1/../../../../arch/mvme68k/mvme68k/pmap.c:1049: parse error before `:'
/usr/src/sys/arch/mvme68k/compile/HENNING-1/../../../../arch/mvme68k/mvme68k/pmap.c:1049: parse error before `)'
/usr/src/sys/arch/mvme68k/compile/HENNING-1/../../../../arch/mvme68k/mvme68k/pmap.c: In function `pmap_kremove':
/usr/src/sys/arch/mvme68k/compile/HENNING-1/../../../../arch/mvme68k/mvme68k/pmap.c:1407: parse error before `:'
/usr/src/sys/arch/mvme68k/compile/HENNING-1/../../../../arch/mvme68k/mvme68k/pmap.c:1407: parse error before `)'
*** Error code 1


I have the 1.6.1 sources and use the attached config file
(I ran "config -v -P HENNING-1" and make depend)
I thought the sources were stable?

Henning
HENNING-1 (text/plain, 2.8 KB)
#       $NetBSD: VME167,v 1.17.4.1 2002/08/01 04:26:57 lukem Exp $

include         "arch/mvme68k/conf/std.mvme68k"

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

# Boards this kernel supports; need at least one
options         MVME167

# Needed on m68040 boards to emulate some missing FP instructions
options         FPSP
options         M68040

maxusers        2

#options        DDB
#options        DIAGNOSTIC, DEBUG

#options        SYSVSHM
#options        KTRACE
options         COMPAT_43

options         INSECURE

#options        USERCONF        # userconf(4) support
#options        PIPE_SOCKETPAIR # smaller, but slower pipe(2)

file-system     FFS
file-system     NFS
file-system     PROCFS
file-system     KERNFS
#file-system    MFS
#file-system    CD9660
#file-system    MSDOSFS
#file-system    UNION

options         NFSSERVER
options         NFS_V2_ONLY
#options        FFS_EI          # FFS Endian Independant support

# Networking options
options         INET
#options        GATEWAY         # IP packet forwarding
#options        ISO             # OSI networking
#options        TPIP
#options        EON
#options        TCP_DEBUG       # Record last TCP_NDEBUG packets with SO_DEBUG

options         COMPAT_AOUT_M68K        # compatibility with NetBSD/m68k a.out
#options        COMPAT_14, COMPAT_13, COMPAT_12
#options        COMPAT_SUNOS
#options        COMPAT_M68K4K   # compatibility with NetBSD/m68k4k binaries
#options        TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.

## force NFS root and swap
#config netbsd          root on ? type nfs
## "generic" boot (put root on boot device)
config netbsd           root on ? type ?

#options        NFS_BOOT_DHCP           # Diskless client w/ dhcp
#options        NFS_BOOT_BOOTP          # Diskless client w/ bootp
#options        NFS_BOOT_BOOTPARAM      # Diskless client w/ bootparamd


###pseudo-device        sl
#pseudo-device  ppp 2
pseudo-device   loop
pseudo-device   bpfilter
pseudo-device   pty
pseudo-device   vnd 2
pseudo-device   rnd
pseudo-device   clockctl                # user control of clock subsystem

mainbus0        at root

pcctwo0         at mainbus0
clock0          at pcctwo? ipl 5
clmpcc0         at pcctwo? ipl 4
ie0             at pcctwo? ipl 3
osiop0          at pcctwo? ipl 2
lpt0            at pcctwo? ipl 1

# VMEbus Support
vmetwo0         at mainbus0
vme0            at vmetwo0

# Example VMEbus device
#foo0           at vme0 addr 0x10001000 am 0x0d irq 3 vect 0x80

# Memory Controller Support (MCECC and MEMC040)
memc*           at mainbus0

# SCSI Bus Support
scsibus*        at osiop?

sd*             at scsibus? target ? lun ?
#st*            at scsibus? target ? lun ?
cd*             at scsibus? target ? lun ?