Subject: Problems building May 18th V1.2 sources on a V1.1 i386 box
To: 'netbsd-bugs@NetBSD.ORG' <netbsd-bugs@NetBSD.ORG>
From: Burns, Scott <scott.burns@labatt.com>
List: netbsd-bugs
Date: 05/23/1996 19:42:12
I was trying to upgrade a 386 V1.1 machine with the V1.2 sources as of
the
May 18th tar files. I had left the "GENERIC" option and
"config netbsd swap generic" options in, which I will remove, but I
don't
think that will change things. No sound board support was included
in the config file.
-------------------------------------------------------------------------
----------

The command file used to perform the kernel portion of the rebuild was
as follows:

(cd /usr/src/usr.sbin/config ; make && make install && make cleandir)

(cd /usr/src/gnu/usr.bin/gas ; make && make install && make cleandir)

(cd /sys/arch/i386/conf ; config NCTI20_V1.2)
(cd /sys/arch/i386/compile/NCTI20_V1.2 ; make depend && make)

-------------------------------------------------------------------------
----------

The kernel config file was as follows (basically a stripped down
GENERIC):

machine         i386            # architecture, used by config; REQUIRED

options         I386_CPU        # CPU classes; at least one is REQUIRED
options         MATH_EMULATE    # floating point emulation

options         DUMMY_NOPS      # speed hack; recommended
options         XSERVER,UCONSOLE
options         INSECURE        # insecure; allow /dev/mem writing for X
options         MACHINE_NONCONTIG

maxusers        32              # estimated number of users
options         TIMEZONE=300    # time zone to adjust RTC time by
options         DST=1           # daylight savings time used by RTC

options         SWAPPAGER       # paging; REQUIRED
options         VNODEPAGER      # mmap() of files
options         DEVPAGER        # mmap() of devices

options         DIAGNOSTIC      # internally consistency checks
options         KTRACE          # system call tracing, a la ktrace(1)

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

options         COMPAT_10       # NetBSD 1.0,
options         COMPAT_43       # and 4.3BSD
options         TCP_COMPAT_42   # TCP bug compatibility with 4.2BSD

options         USER_LDT        # user-settable LDT; used by WINE
options         LKM             # loadable kernel modules

options         FFS             # UFS
options         QUOTA           # UFS quotas
options         LFS             # log-structured file system
options         MFS             # memory file system

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

options         CD9660          # ISO 9660 + Rock Ridge file system
options         MSDOSFS         # MS-DOS file system
options         FDESC           # /dev/fd
options         FIFO            # FIFOs; RECOMMENDED
options         KERNFS          # /kern
options         NULLFS          # loopback file system
options         PORTAL          # ?
options         PROCFS          # /proc
options         UMAPFS          # NULLFS + uid and gid remapping
options         UNION           # union file system
options         INET            # IP + ICMP + TCP + UDP
config          netbsd  swap generic
options         GENERIC

isa0    at root
npx0    at isa? port 0xf0 irq 13        # math coprocessor
pc0     at isa? port 0x60 irq 1         # generic PC console device
com0    at isa? port 0x3f8 irq 4        # standard PC serial ports
com1    at isa? port 0x2f8 irq 3
lpt0    at isa? port 0x378 irq 7        # standard PC parallel ports

aic0    at isa? port 0x340 irq 12       # Adaptec 152[02] SCSI
controllers
scsibus* at aic?
sd*     at scsibus? target ? lun ?      # SCSI disk drives
st*     at scsibus? target ? lun ?      # SCSI tape drives
cd*     at scsibus? target ? lun ?      # SCSI CD-ROM drives
ch*     at scsibus? target ? lun ?      # SCSI autochangers

fdc0    at isa? port 0x3f0 irq 6 drq 2  # standard PC floppy controllers
fd*     at fdc? drive ?
wdc0    at isa? port 0x1f0 irq 14       # ST506, ESDI, and IDE
controllers
wd*     at wdc? drive ?

ep0     at isa? port ? irq ?                    # 3C509 ethernet cards
ie0     at isa? port 0x360 iomem 0xd0000 irq 10 # StarLAN, 3C507, and
Etherexprs

pseudo-device   loop    1               # network loopback
pseudo-device   bpfilter 8              # packet filter
pseudo-device   sl      2               # CSLIP
pseudo-device   ppp     2               # PPP
pseudo-device   tun     2               # network tunneling over tty
pseudo-device   pty     64              # pseudo-terminals
pseudo-device   tb      1               # tablet line discipline
pseudo-device   vnd     4               # paging to files

-------------------------------------------------------------------------
----------

Everything compiled fine until the link of the kernel which seems to
include some
type of sound board driver code which is referenced in:
/sys/dev/isa/pss.c.


ranlib libcompat.a
cc  -O2 -Werror -I. -I../../../../arch -I../../../.. -DI386_CPU
-DMATH_EMULATE c
sh ../../../../conf/newvers.sh
cc  -O2 -Werror -I. -I../../../../arch -I../../../.. -DI386_CPU
-DMATH_EMULATE c
rm -f netbsd
ld -z -Ttext F8100000 -e start -x -o netbsd ${SYSTEM_OBJ} vers.o
pss.o: Undefined symbol `_ad1848_probe' referenced from text segment
pss.o: Undefined symbol `_audio_hardware_attach' referenced from text
segment
pss.o: Undefined symbol `_ad1848_intr' referenced from text segment
pss.o: Undefined symbol `_ad1848_attach' referenced from text segment
pss.o: Undefined symbol `_ad1848_open' referenced from text segment
pss.o: Undefined symbol `_ad1848_set_rec_port' referenced from text
segment
pss.o: Undefined symbol `_ad1848_get_rec_port' referenced from text
segment
pss.o: Undefined symbol `_ad1848_set_aux2_gain' referenced from text
segment
pss.o: Undefined symbol `_ad1848_mute_aux2' referenced from text segment
pss.o: Undefined symbol `_ad1848_set_aux1_gain' referenced from text
segment
pss.o: Undefined symbol `_ad1848_mute_aux1' referenced from text segment
pss.o: Undefined symbol `_ad1848_set_out_gain' referenced from text
segment
pss.o: Undefined symbol `_ad1848_set_rec_gain' referenced from text
segment
pss.o: Undefined symbol `_ad1848_set_rec_port' referenced from text
segment
pss.o: Undefined symbol `_ad1848_set_mon_gain' referenced from text
segment
pss.o: Undefined symbol `_ad1848_get_aux2_gain' referenced from text
segment
pss.o: Undefined symbol `_ad1848_get_aux1_gain' referenced from text
segment
pss.o: Undefined symbol `_ad1848_get_out_gain' referenced from text
segment
pss.o: Undefined symbol `_ad1848_get_rec_gain' referenced from text
segment
pss.o: Undefined symbol `_ad1848_get_rec_port' referenced from text
segment
pss.o: Undefined symbol `_ad1848_get_mon_gain' referenced from text
segment
pss.o: Undefined symbol `_ad1848_close' referenced from data segment
pss.o: Undefined symbol `_ad1848_set_in_sr' referenced from data segment
pss.o: Undefined symbol `_ad1848_get_in_sr' referenced from data segment
pss.o: Undefined symbol `_ad1848_set_out_sr' referenced from data
segment
pss.o: Undefined symbol `_ad1848_get_out_sr' referenced from data
segment
pss.o: Undefined symbol `_ad1848_query_encoding' referenced from data
segment
pss.o: Undefined symbol `_ad1848_set_encoding' referenced from data
segment
pss.o: Undefined symbol `_ad1848_get_encoding' referenced from data
segment
pss.o: Undefined symbol `_ad1848_set_precision' referenced from data
segment
pss.o: Undefined symbol `_ad1848_get_precision' referenced from data
segment
pss.o: Undefined symbol `_ad1848_set_channels' referenced from data
segment
pss.o: Undefined symbol `_ad1848_get_channels' referenced from data
segment
pss.o: Undefined symbol `_ad1848_round_blocksize' referenced from data
segment
pss.o: Undefined symbol `_ad1848_commit_settings' referenced from data
segment
pss.o: Undefined symbol `_ad1848_get_silence' referenced from data
segment
pss.o: Undefined symbol `_ad1848_dma_output' referenced from data
segment
pss.o: Undefined symbol `_ad1848_dma_input' referenced from data segment
pss.o: Undefined symbol `_ad1848_halt_out_dma' referenced from data
segment
pss.o: Undefined symbol `_ad1848_halt_in_dma' referenced from data
segment
pss.o: Undefined symbol `_ad1848_cont_out_dma' referenced from data
segment
pss.o: Undefined symbol `_ad1848_cont_in_dma' referenced from data
segment
*** Error code 1

Stop.
ncti20#