Subject: kern/2146: /src/sys/conf/files.oldconf needs entry for kern_ntptime.c
To: None <gnats-bugs@NetBSD.ORG>
From: Thorsten Frueauf <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 02/29/1996 00:32:47
>Number:         2146
>Category:       kern
>Synopsis:       /src/sys/conf/files.oldconf needs entry for kern_ntptime.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 28 18:35:05 1996
>Last-Modified:
>Originator:     Thorsten Frueauf
>Organization:
private
>Release:        <NetBSD-current source date> current 28.02.1996
>Environment:
	
System: NetBSD di_frueauf 1.1A NetBSD 1.1A (CYBERDYNE) #0: Wed Feb 28 19:17:18 GMT 1996 milano@di_frueauf:/home/milano/source/netbsd-src/sys/arch/amiga/compile/CYBERDYNE amiga


>Description:
	
/src/sys/conf/files.oldconf needs entry for kern_ntptime.c else current
kernel on hp300 breaks.

>How-To-Repeat:
	
Try to compile a kernel on current hp300 and watch:

ld -n -Ttext 0 -e start -x -o netbsd ${SYSTEM_OBJ} vers.o
kern_sysctl.o: Undefined symbol `_sysctl_ntptime' referenced from text segment
*** Error code 1

>Fix:
	
Apply the following patch:

*** files.oldconf-orig  Mon Feb  5 17:20:48 1996
--- files.oldconf       Wed Feb 28 23:50:09 1996
***************
*** 44,49 ****
--- 44,50 ----
  kern/kern_ktrace.c    optional ktrace
  kern/kern_lkm.c               optional lkm
  kern/kern_malloc.c    standard
+ kern/kern_ntptime.c   standard
  kern/kern_physio.c    standard
  kern/kern_proc.c      standard
  kern/kern_prot.c      standard
>Audit-Trail:
>Unformatted:
/src/sys/conf/files.oldconf needs entry for kern_ntptime.c