Current-Users archive

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

Re: rump i386 cross compile trouble




On Mar 9, 2015 11:27 AM, "Patrick Welche" <prlw1%cam.ac.uk@localhost> wrote:
>
> On Sat, Mar 07, 2015 at 09:55:08PM +0100, J. Hannken-Illjes wrote:
> > On 07 Mar 2015, at 18:03, Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
> >
> > > -               if (modclass != MODULE_CLASS_EXEC || error != ENOENT)
> > > +               if ((modclass != MODULE_CLASS_EXEC || error != ENOENT) &&
> > > +                   root_device != NULL)
> > >
> > > but why? Compiler bug (gcc)?
> >
> > Given this fragment is "#ifdef DEBUG" it looks like rump_server has to
> > be linked with librumpvfs in the DEBUG case?
>
> Indeed! The attached seems to fix the build - comments?
>

-lrumpvfs needs to be inside the whole-archive linker flags.

Justin



Home | Main Index | Thread Index | Old Index