Subject: kern/4290: mac68k kernel won't link
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wormey@eskimo.com>
List: netbsd-bugs
Date: 10/18/1997 13:29:17
>Number:         4290
>Category:       kern
>Synopsis:       mac68k kernel fails to link, undefined symbol _memcmp
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 18 14:05:01 1997
>Last-Modified:
>Originator:     Steve Allen
>Organization:
I only speak for myself.
>Release:        NetBSD-current Oct. 18 1997
>Environment:
System: NetBSD c610 1.2G NetBSD 1.2G (GENERIC) #46: Sun Oct 12 12:16:21 PDT 1997 root2@c610:/usr/src/sys/arch/mac68k/compile/GENERIC mac68k


>Description:
	Kernel fails to link, due to undefined symbol '_memcmp' referenced
	by msdosfs_vfsops.o
>How-To-Repeat:
>Fix:
	
>Audit-Trail:
>Unformatted:
>3 c610 /compile/GENERIC # make
making sure the 68040 FPSP is up to date...
`fpsp.o' is up to date.
making sure the kern library is up to date...
`libkern.o' is up to date.
making sure the compat library is up to date...
`libcompat.a' is up to date.
sh ../../../../conf/newvers.sh
cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DEXEC_AOUT -DEXEC_SCRIPT -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DUCONSOLE -DDDB -DDIAGNOSTIC -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_SUNOS -DFFS -DNFS -DKERNFS -DNULLFS -DMFS -DFDESC -DUMAPFS -DLFS -DPORTAL -DPROCFS -DCD9660 -DUNION -DMSDOSFS -DQUOTA -DNFSSERVER -DFIFO -DINET -DTCP_COMPAT_42 -DGATEWAY -DNETATALK -DPPP_BSDCOMP -DPPP_DEFLATE -DPFIL_HOOKS -DM68040 -DM68030 -DM68020 -DFPSP -DFPU_EMULATE -DZS_CONSOLE_ABORT -DDISABLE_EXT_CACHE -DMAXUSERS=16 -D_KERNEL  -Dmc68020 -Dmac68k  -c vers.c
ld -n -Ttext 0 -e start -S -o netbsd ${SYSTEM_OBJ} vers.o
msdosfs_vfsops.o: Undefined symbol `_memcmp' referenced from text segment
*** Error code 1

Stop.


I noticed that today's CVS update failed before it got to src/sys, so I can't
say for certain that the fix is not already in the tree...