Subject: kern/17407: it is not possible to build a kernel with systrace support but without the PROCFS filesystem
To: None <gnats-bugs@gnats.netbsd.org>
From: Jim Wise <jwise@draga.com>
List: netbsd-bugs
Date: 06/26/2002 19:24:56
>Number: 17407
>Category: kern
>Synopsis: it is not possible to build a kernel with systrace support but without the PROCFS filesystem
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 26 16:25:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Jim Wise
>Release: NetBSD 1.5ZC
>Organization:
Jim Wise
jwise@draga.com
>Environment:
System: NetBSD himring.draga.com 1.5ZC NetBSD 1.5ZC (HIMRING) #7: Sun May 19 22:05:27 EDT 2002 jwise@himring.draga.com:/home/NetBSD/src/sys/arch/i386/compile/HIMRING i386
Architecture: i386
Machine: i386
>Description:
Building a kernel from a config file with `options SYSTRACE' but not `file-system PROCFS' yields
cc -march=pentiumpro -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c vers.c
ld -T ../../../../arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} vers.o
kern_systrace.o: In function `systrace_io':
kern_systrace.o(.text+0xe3d): undefined reference to `procfs_domem'
*** Error code 1
>How-To-Repeat:
Include `options SYSTRACE' in a kernel config without `file-system PROCFS'. Try to build.
>Fix:
Not sure.
>Release-Note:
>Audit-Trail:
>Unformatted:
(problem occurs building sources of 2002-06-26)