Subject: Re: current build problem, linux_exec_setup_stack undeclared
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 08/13/2003 00:36:14
In article <20030812135448.GA13640@sophos.com>,
Ian Fry <Ian.Fry@sophos.com> wrote:
>On Sat, Aug 09, 2003 at 06:47:49PM +0000, Christos Zoulas wrote:
>> In article <87k79mad0r.fsf@thelonious.dyndns.org>,
>> Russell McManus <russell_mcmanus@yahoo.com> wrote:
>> >I'm trying to build a current macppc kernel using my i386 NetBSD box.
>> >I'm running into some trouble building exec_conf.c.  The error message
>> >is attached.  Any ideas?
>> >
>> >My source tree is two days old.
>> Your compat/linux/arch/macppc/linux_exec.h should have a definition for it,
>> no?
>
>My compat/linux/arch/powerpc/linux_exec.h has this (updated last night):
>
>#define linux_exec_setup_stack(a, b)	exec_setup_stack(a, b)
>
>Changing this to
>
>#define linux_exec_setup_stack	exec_setup_stack
>
>allows a kernel to compile - I haven't been able to verify if this is
>correct, though.

Looks correct but the previous version should work. Can you look at the
preprocessor output?

christos