Subject: hp360 as a only fileserver?
To: port hp300 <port-hp300@NetBSD.ORG>
From: Andreas Brusinsky <brusinsk@ibdr.inf.tu-dresden.de>
List: port-hp300
Date: 07/02/1997 06:23:50
I attempted to strip out of a kernel definition as much as possible
but there seem to be some header files or libraries missing:

I my config file was:

#       $NetBSD: MY_CONFIG,v 1.23 1997/01/31 06:12:57 thorpej Exp $
machine hp300 m68k

option          SWAPPAGER       # paging; REQUIRED
option          DEVPAGER        # mmap() of devices

option          SYSVMSG         # System V-like message queues
option          SYSVSEM         # System V-like semaphores
option          SYSVSHM         # System V-like memory sharing

option          FFS             # UFS

option          NFSCLIENT       # Network File System client
option          NFSSERVER       # Network File System server

option          FIFO            # FIFOs; RECOMMENDED

option          INET            # IP + ICMP + TCP + UDP

pseudo-device   loop    1       # network loopback
pseudo-device   bpfilter 8      # packet filter

pseudo-device   pty     8       # pseudo-terminals

option          HP360

option          BUFPAGES=102
maxusers        8

config          bsd root on hd0a swap on hd0b

mainbus0        at root         # root "bus"

intio0          at mainbus0     # internal i/o space
dio0            at mainbus0     # DIO/DIO-II bus

le*             at dio? scode ?         # LANCE ethernet interfaces

fhpib*          at dio? scode ?         # `fast' HP-IB

hpibbus*        at fhpib?

rd*             at hpibbus? slave ? punit ?     # HP-IB disks

oscsi*          at dio? scode ?         # Old HP SCSI

sd*             at oscsi? target ? lun ?        # SCSI disks

the errors where:

 - some unused variables due to no definitions ('#ifdef' statements)
   (I could still make still the files by removing -Wall from the cc line)

 - and at the end  this:

ld -n -Ttext 0 -e start -S -o bsd ${SYSTEM_OBJ} vers.o
am7990.o: Undefined symbol `_ffs' referenced from text segment
am7990.o: Undefined symbol `_bcmp' referenced from text segment
am7990.o: Undefined symbol `_bcmp' referenced from text segment
am7990.o: Undefined symbol `_bzero' referenced from text segment
rnd.o: Undefined symbol `_bzero' referenced from text segment
rnd.o: Undefined symbol `_bzero' referenced from text segment
exec_script.o: Undefined symbol `_strncmp' referenced from text segment
exec_script.o: Undefined symbol `_strcpy' referenced from text segment
init_main.o: Undefined symbol `_strlen' referenced from text segment
kern_descrip.o: Undefined symbol `_bzero' referenced from text segment
kern_descrip.o: Undefined symbol `_bzero' referenced from text segment
kern_descrip.o: Undefined symbol `_bzero' referenced from text segment
kern_fork.o: Undefined symbol `_bzero' referenced from text segment
kern_prot.o: Undefined symbol `_bzero' referenced from text segment
kern_sig.o: Undefined symbol `_ffs' referenced from text segment
kern_sig.o: Undefined symbol `_ffs' referenced from text segment
kern_sig.o: Undefined symbol `_strncpy' referenced from text segment
kern_sig.o: Undefined symbol `_bzero' referenced from text segment
kern_sysctl.o: Undefined symbol `_strlen' referenced from text segment
kern_sysctl.o: Undefined symbol `_strlen' referenced from text segment
kern_sysctl.o: Undefined symbol `_strncpy' referenced from text segment
kern_sysctl.o: Undefined symbol `_strncpy' referenced from text segment
subr_autoconf.o: Undefined symbol `_strcmp' referenced from text segment
subr_autoconf.o: Undefined symbol `_strlen' referenced from text segment
subr_autoconf.o: More undefined symbol _bzero refs follow
subr_autoconf.o: Undefined symbol `_strcpy' referenced from text segment
subr_autoconf.o: Undefined symbol `_strcmp' referenced from text segment
subr_disk.o: Undefined symbol `_strcmp' referenced from text segment
sys_generic.o: Undefined symbol `_ffs' referenced from text segment
tty.o: Undefined symbol `_bcmp' referenced from text segment
tty.o: Undefined symbol `_scanc' referenced from text segment
vfs_cache.o: Undefined symbol `_bcmp' referenced from text segment
vfs_subr.o: Undefined symbol `_strcat' referenced from text segment
vfs_subr.o: Undefined symbol `_strcat' referenced from text segment
vfs_subr.o: Undefined symbol `_strcat' referenced from text segment
vfs_subr.o: Undefined symbol `_strcat' referenced from text segment
vfs_subr.o: Undefined symbol `_strcat' referenced from text segment
vfs_subr.o: Undefined symbol `_strcat' referenced from text segment
vfs_subr.o: Undefined symbol `_strcat' referenced from text segment
vfs_syscalls.o: Undefined symbol `_strncmp' referenced from text segment
bpf.o: Undefined symbol `_strcmp' referenced from text segment
if.o: Undefined symbol `_strlen' referenced from text segment
if.o: Undefined symbol `_bcmp' referenced from text segment
if.o: Undefined symbol `_bcmp' referenced from text segment
if.o: Undefined symbol `_bcmp' referenced from text segment
if.o: Undefined symbol `_strcmp' referenced from text segment
if_ethersubr.o: Undefined symbol `_bcmp' referenced from text segment
if_ethersubr.o: Undefined symbol `_bcmp' referenced from text segment
if_ethersubr.o: More undefined symbol _bcmp refs follow
ip_input.o: Undefined symbol `_strcpy' referenced from text segment
nfs_boot.o: Undefined symbol `_strlen' referenced from text segment
nfs_boot.o: Undefined symbol `_strlen' referenced from text segment
nfs_boot.o: Undefined symbol `_strlen' referenced from text segment
nfs_nqlease.o: Undefined symbol `_strncmp' referenced from text segment
nfs_vfsops.o: Undefined symbol `_strncpy' referenced from text segment
nfs_vfsops.o: Undefined symbol `_strncpy' referenced from text segment
nfs_vnops.o: Undefined symbol `_strlen' referenced from text segment
ffs_alloc.o: Undefined symbol `_skpc' referenced from text segment
ffs_alloc.o: Undefined symbol `_skpc' referenced from text segment
ffs_alloc.o: Undefined symbol `_scanc' referenced from text segment
ffs_alloc.o: Undefined symbol `_scanc' referenced from text segment
ffs_vfsops.o: Undefined symbol `_strncpy' referenced from text segment
ufs_vnops.o: More undefined symbol _strlen refs follow
swap_pager.o: Undefined symbol `_ffs' referenced from text segment
hil.o: Undefined symbol `_ffs' referenced from text segment
autoconf.o: Undefined symbol `_strncmp' referenced from text segment
autoconf.o: Undefined symbol `_strcmp' referenced from text segment
autoconf.o: Undefined symbol `_strcmp' referenced from text segment
autoconf.o: Undefined symbol `_strcmp' referenced from text segment
autoconf.o: Undefined symbol `_strcpy' referenced from text segment
autoconf.o: Undefined symbol `_strcmp' referenced from text segment
machdep.o: Undefined symbol `_strcat' referenced from text segment
machdep.o: Undefined symbol `_strcat' referenced from text segment
disksubr.o: Undefined symbol `_ffs' referenced from text segment
*** Error code 1


Any ideas or suggestions are really appreciated.
  
        Bye   Brusi

            by           E-Mail: ab2@inf.tu-dresden.de
                         Tel.-priv: 0351-8499347 (Germany/Dresden)
          \____

PS: Is it rigtht that the order inf kernel configurtation files
    is impotant?