grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling grub2 on *BSD?


From: Robert Millan
Subject: Re: Compiling grub2 on *BSD?
Date: Wed, 30 Jan 2008 19:40:45 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Jan 30, 2008 at 08:38:23AM -0800, walt wrote:
> 
> BTW, I just discovered that this was discussed in a thread beginning
> 11-30-2005 but never finished.
> 
> Anyway, your suggestion helps, but not quite enough.  The c code now
> compiles and links okay into *.mod files, but now __enable_execute_stack
> shows up in several und-*.lst files, so that moddep.lst won't build.
> 
> I cheated by copying moddep.lst from my linux machine, and that allowed
> the build of grub to finish, but now I get that same missing symbol when
> I *run* grub. <sigh>

Try adding EXPORT_FUNC declarations in grub/kernel.h:

  void EXPORT_FUNC (foo) (void);

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]