Subject: None
To: None <netbsd-help@NetBSD.ORG>
From: Kevin Dulzo <kdulzo@mcs.com>
List: netbsd-help
Date: 06/13/1995 17:45:00
Alright, again i plead for help.  My make depend works...but my make does not.
Apparently somewhere the linking process goes nuts.  I tried recompiling ld (I thought maybe after needing to recompile virtually ever other executable, that would be next.)  But ld would not compile ... "make: don't know how to make vprintf.c".

Here is the errors that ld vomited to me.

===============================================================================
making sure the kern library is up to date...
`libkern.a' is up to date.
sh ../../../../conf/newvers.sh
cc -Werror  -O6 -I. -I../../../../arch -I../../../.. -I../../../../sys -DI486_CPU -DDUMMY_NOPS -DXSERVER -DUCONSOLE -DINSECURE -DMACHINE_NONCONTIG -DTIMEZONE="6" -DDST="0" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DCOM_BIDIR -DDIAGNOSTIC -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DCOMPAT_NOMID -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_43 -DTCP_COMPAT_42 -DCOMPAT_SVR4 -DCOMPAT_LINUX -DUSER_LDT -DLKM -DFFS -DQUOTA -DLFS -DMFS -DNFSCLIENT -DNFSSERVER -DMSDOSFS -DFDESC -DFIFO -DKERNFS -DNULLFS -DPORTAL -DPROCFS -DUMAPFS -DUNION -DINET -DNS -DISO -DTPIP -DEON -DCCITT -DLLC -DHDLC -DGENERIC -D_KERNEL -Di386 -c vers.c
rm -f netbsd
ld -x -z -T F8100000 -o netbsd -e start ${SYSTEM_OBJ} vers.o
clnp_input.o: Undefined symbol `_ether_output' referenced from text segment
iso.o: Undefined symbol `_ether_output' referenced from text segment
iso_snpac.o: Undefined symbol `_ether_addmulti' referenced from text segment
iso_snpac.o: Undefined symbol `_ether_delmulti' referenced from text segment
tuba_table.o: Undefined symbol `_arpt_keep' referenced from text segment
tuba_table.o: Undefined symbol `_arpt_prune' referenced from text segment
tuba_table.o: Undefined symbol `_arpt_prune' referenced from text segment
autoconf.o: Undefined symbol `_setconf' referenced from text segment
ld: Unexpected multiple definitions of symbol `_pcopen', type 0x1

ld: Unexpected multiple definitions of symbol `_pcclose', type 0x1

ld: Unexpected multiple definitions of symbol `_pcread', type 0x1

ld: Unexpected multiple definitions of symbol `_pcwrite', type 0x1

ld: Unexpected multiple definitions of symbol `_pcioctl', type 0x1

ld: Unexpected multiple definitions of symbol `_pcstop', type 0x1

ld: Unexpected multiple definitions of symbol `_pctty', type 0x1

ld: Unexpected multiple definitions of symbol `_pcmmap', type 0x1

ld: Unexpected multiple definitions of symbol `_pccnprobe', type 0x1

ld: Unexpected multiple definitions of symbol `_pccninit', type 0x1

ld: Unexpected multiple definitions of symbol `_pccngetc', type 0x1

ld: Unexpected multiple definitions of symbol `_pccnputc', type 0x1

ld: Unexpected multiple definitions of symbol `_pccnpollc', type 0x1

pccons.o: Definition of symbol `_pcprobe' (multiply defined)
pccons.o: Definition of symbol `_pcattach' (multiply defined)
pccons.o: Definition of symbol `_kbd_cmd' (multiply defined)
pccons.o: Definition of symbol `_async_update' (multiply defined)
pccons.o: Definition of symbol `_pcintr' (multiply defined)
pccons.o: Definition of symbol `_pcopen' (multiply defined)
pccons.o: Definition of symbol `_pcstart' (multiply defined)
pccons.o: Definition of symbol `_pcparam' (multiply defined)
pccons.o: Definition of symbol `_pcclose' (multiply defined)
pccons.o: Definition of symbol `_pcread' (multiply defined)
pccons.o: Definition of symbol `_pcwrite' (multiply defined)
pccons.o: Definition of symbol `_pctty' (multiply defined)
pccons.o: Definition of symbol `_pcioctl' (multiply defined)
pccons.o: Definition of symbol `_sput' (multiply defined)
pccons.o: Definition of symbol `_pcstop' (multiply defined)
pccons.o: Definition of symbol `_pccnprobe' (multiply defined)
pccons.o: Definition of symbol `_pccninit' (multiply defined)
pccons.o: Definition of symbol `_pccnputc' (multiply defined)
pccons.o: Definition of symbol `_pccngetc' (multiply defined)
pccons.o: Definition of symbol `_pccnpollc' (multiply defined)
pccons.o: Definition of symbol `_pcmmap' (multiply defined)
pcvt_drv.o: Definition of symbol `_pcprobe' (multiply defined)
pcvt_drv.o: Definition of symbol `_pcattach' (multiply defined)
ld: Unexpected multiple definitions of symbol `_async_update', type 0x1

pcvt_drv.o: Definition of symbol `_pcintr' (multiply defined)
pcvt_drv.o: Definition of symbol `_pcopen' (multiply defined)
pcvt_drv.o: Definition of symbol `_pcstart' (multiply defined)
pcvt_drv.o: Definition of symbol `_pcparam' (multiply defined)
pcvt_drv.o: Definition of symbol `_pcclose' (multiply defined)
pcvt_drv.o: Definition of symbol `_pcread' (multiply defined)
pcvt_drv.o: Definition of symbol `_pcwrite' (multiply defined)
pcvt_drv.o: Definition of symbol `_pctty' (multiply defined)
pcvt_drv.o: Definition of symbol `_pcioctl' (multiply defined)
pcvt_drv.o: Definition of symbol `_pcmmap' (multiply defined)
ld: Unexpected multiple definitions of symbol `_sput', type 0x1

pcvt_drv.o: Definition of symbol `_pcstop' (multiply defined)
pcvt_drv.o: Definition of symbol `_pccnprobe' (multiply defined)
pcvt_drv.o: Definition of symbol `_pccninit' (multiply defined)
pcvt_drv.o: Definition of symbol `_pccnputc' (multiply defined)
pcvt_drv.o: Definition of symbol `_pccngetc' (multiply defined)
pcvt_drv.o: Definition of symbol `_pccnpollc' (multiply defined)
ld: Unexpected multiple definitions of symbol `_async_update', type 0x1

pcvt_kbd.o: Definition of symbol `_kbd_cmd' (multiply defined)
pcvt_out.o: Definition of symbol `_sput' (multiply defined)
pcvt_sup.o: Definition of symbol `_async_update' (multiply defined)
*** Error code 1

Stop.
===============================================================================

Here is a copy of my config file. (It was mentioned to me that i didn't include enough code...althought it doesn't make sense to me.)

================================================================================
#	$NetBSD: GENERIC,v 1.16 1995/05/12 03:18:05 cgd Exp $
#
#	GENERIC -- everything that's currently supported
#

machine		i386		# architecture, used by config; REQUIRED

makeoptions	CC="cc -Werror"

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

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

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

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

options		COM_BIDIR

#options		DDB		# in-kernel debugger
#makeoptions	DEBUG="-g"	# compile full symbol table
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	SHMMAXPGS=1024	# 1024 pages is the default

options		COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
options		COMPAT_09	# NetBSD 0.9,
options		COMPAT_10	# NetBSD 1.0,
options		COMPAT_43	# and 4.3BSD
options		TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD

options		COMPAT_SVR4	# binary compatibility with SVR4
#options	COMPAT_IBCS2	# binary compatibility with SCO and ISC
options		COMPAT_LINUX	# binary compatibility with Linux

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	GATEWAY		# packet forwarding
options		INET		# IP + ICMP + TCP + UDP
options		NS		# XNS
options		ISO,TPIP	# OSI
options		EON		# OSI tunneling over IP
options		CCITT,LLC,HDLC	# X.25

config		netbsd	root on wd0 swap on wd0
options		GENERIC

isa0	at root
pci0	at root

npx0	at isa? port 0xf0 irq 13	# math coprocessor

pc0	at isa? port 0x60 irq 1		# generic PC console device
vt0	at isa? port 0x60 irq 1

com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
com1	at isa? port 0x2f8 irq 3
#com2	at isa? port 0x3e8 irq 5
#com3	at isa? port 0x2e8 irq 9
#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
#com*	at ast? slave ? flags 1
#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
#com*	at boca? slave ?
#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
#com*	at rtfps? slave ?

#cy0	at isa? ...

lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
#lpt1	at isa? port 0x278
#lpt2	at isa? port 0x3bc

#lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
#lms1	at isa? port 0x238 irq 5
#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
#mms1	at isa? port 0x238 irq 5
#pms0	at isa? port 0x60 irq 12	# PS/2 auxiliary port mouse

#aha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI controllers
#aha1	at isa? port 0x334 irq ? drq ?	# Adaptec 154[02] SCSI controllers
#scsibus* at aha?
#ahb0	at isa? port ? irq ?		# Adaptec 174[024] SCSI controllers
#scsibus* at ahb?
#aic0	at isa? port 0x340 irq 12	# Adaptec 152[02] SCSI controllers
#scsibus* at aic?
#bt0	at isa? port 0x330 irq ? drq ?	# BusLogic [57]4X SCSI controllers
#bt1	at isa? port 0x334 irq ? drq ?	# BusLogic [57]4X SCSI controllers
#bt2	at isa? port ? irq ?
#scsibus* at bt?
#ncr*	at pci? bus ? dev ?		# NCR 538XX SCSI controllers
#scsibus* at ncr?
#sea0	at isa? iomem 0xc8000 irq 5
#scsibus* at sea?
#uha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI controllers
#uha1	at isa? port 0x334 irq ? drq ?	# UltraStor [13]4f SCSI controllers
#uha2	at isa? port ? irq ?		# UltraStor 24f SCSI controllers
#scsibus* at uha?

#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
#fdc1	at isa? port 0x370 irq ? drq ?
fd*	at fdc? drive ?

#mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives

wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
#wdc1	at isa? port 0x170 irq ?
wd*	at wdc? drive ?

#wt0	at isa? port 0x300 irq 5 drq 1	# Archive and Wangtek QIC tape drives

#ed0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC, 3C503, and NE[12]000
#ed1	at isa? port 0x250 iomem 0xd8000 irq 9	#   ethernet cards
#ed2	at isa? port 0x300 iomem 0xcc000 irq 10
#eg0	at isa? ...				# 3C505 ethernet cards
#el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
#ep0	at isa? port ? irq ?			# 3C509 ethernet cards
#ie0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN & 3C507 ethernet cards
#le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
#de*	at pci? bus ? dev ?

#pss0	at isa? port 0x220 irq 7 drq 6  # Personal Sound System
#sp0	at pss0 port 0x530 irq 10 drq 0	# 	sound port driver

sb0	at isa? port 0x220 irq 5 drq 1	# SoundBlaster
#wss0	at isa? port 0x530 irq 10 drq 0	# Windows Sound System
#pas0	at isa? port 0x220 irq 7 drq 1	# ProAudio Spectrum
#spkr0	at isa? ...

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
===============================================================================

	Any help would be appreciated...as usual.
				.kdulzo.