Subject: kern/4021: kernel build uses absolute paths
To: None <>
From: Martin Husemann <>
List: netbsd-bugs
Date: 08/20/1997 22:38:28
>Number:         4021
>Category:       kern
>Synopsis:       it's not possible to build a kernel alternating in different mount points
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 20 14:05:01 1997
>Originator:     Martin Husemann
UP-Vision Computergraphik GmbH
>Release:        current as of Aug 17 1997
System: NetBSD 1.2G NetBSD 1.2G (RUMOLT) #0: Sun Aug 17 10:09:23 MEST 1997 i386


If you mount a kernel compile directory on /mnt/usr/src/sys/arch/i386/..., 
config and compile it there, you cannot go to the fileserver (where it is
mounted as /usr/src/sys/arch/i386) and compile a new kernel there, because
there are absolute paths in lib/kern/.depend and lib/compat/.depend.

You have to edit these files manually and replace the absolute by relative


See above.


Sorry, none available right now.