From Jos.Backus@nl.origin-it.com Tue May  4 13:52:25 1999
Return-Path: <Jos.Backus@nl.origin-it.com>
Received: from gw-nl3.philips.com (gw-nl3.philips.com [192.68.44.35])
	by hub.freebsd.org (Postfix) with ESMTP id 8E6EA15565
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 May 1999 13:52:21 -0700 (PDT)
	(envelope-from Jos.Backus@nl.origin-it.com)
Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1])
          by gw-nl3.philips.com with ESMTP id WAA12191
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 4 May 1999 22:52:18 +0200 (MEST)
          (envelope-from Jos.Backus@nl.origin-it.com)
Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl3.philips.com via mwrap (4.0a)
	id xma012189; Tue, 4 May 99 22:52:18 +0200
Received: from hal.mpn.cp.philips.com (hal.mpn.cp.philips.com [130.139.64.195]) 
	by smtprelay-nl1.philips.com (8.9.3/8.6.10-1.2.2m-970826) with SMTP id WAA24838
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 4 May 1999 22:52:17 +0200 (MET DST)
Received: (qmail 81503 invoked by uid 666); 4 May 1999 20:52:39 -0000
Message-Id: <19990504205239.81502.qmail@hal.mpn.cp.philips.com>
Date: 4 May 1999 20:52:39 -0000
From: Jos.Backus@nl.origin-it.com
Reply-To: Jos Backus <Jos.Backus@nl.origin-it.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: procfs fails to load because of undefined symbol
X-Send-Pr-Version: 3.2

>Number:         11497
>Category:       kern
>Synopsis:       procfs module Makefile lacks a source file
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May  4 14:00:01 PDT 1999
>Closed-Date:    Tue May 4 14:09:27 PDT 1999
>Last-Modified:  Tue May  4 14:12:13 PDT 1999
>Originator:     Jos Backus
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Origin B.V.
>Environment:

	-current since about two days

>Description:

	``kldload procfs'' fails:
	May  4 15:40:11 hal /kernel: Preloaded elf module "procfs.ko" at
	0xc02e2138.
	May  4 15:40:11 hal /kernel: link_elf: symbol procfs_dorlimit
	undefined

>How-To-Repeat:

	kldload procfs

>Fix:
	
	Patch sys/modules/procfs/Makefile:
	
--- Makefile.orig       Tue May  4 21:26:56 1999
+++ Makefile    Tue May  4 21:27:25 1999
@@ -3,7 +3,8 @@
 .PATH: ${.CURDIR}/../../miscfs/procfs
 KMOD=  procfs
 SRCS=  opt_vmpage.h procfs_ctl.c procfs_map.c procfs_note.c procfs_status.c \
-       procfs_subr.c procfs_type.c procfs_vfsops.c procfs_vnops.c
+       procfs_subr.c procfs_type.c procfs_vfsops.c procfs_vnops.c \
+       procfs_rlimit.c
 NOMAN=
 VFS_KLD=
 CFLAGS+= -DPROCFS


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: billf 
State-Changed-When: Tue May 4 14:09:27 PDT 1999 
State-Changed-Why:  
Fixed. I added the procfs_rlimit.c file in the right order (alphabetical) 
to avoid making a second commit after Bruce saw the one in this PR. 

Thanks for the report. 
>Unformatted:
