Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2001 12:24:02 +0100
From:      "Jeroen C. van Gelderen" <jeroen@vangelderen.org>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: Linux binary compatibility on axp platform
Message-ID:  <3B0B9DD1.ECBD5B4B@vangelderen.org>
References:  <Pine.LNX.4.21.0105222203520.9676-100000@scooby.ozarkmountain.net> <9eg68p$226j$1@kemoauc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Christian Weisgerber wrote:
> 
> Chris McCracken <chrismc@ozarkmountain.net> wrote:
> 
> > I'm having trouble using Linux-axp binary compatibility on my PWS-500
> > with FreeBSD-4.3.  Whenever I try to load the kernel module, I get the
> > following error:
> >
> > link_elf: symbol osf1_wait4 undefined
> 
> Have you loaded the osf1 module before the linux one?  There should
> be a dependency to take care of this automatically, but either it
> doesn't, or one of those modules is broken in 4.3.

It seems as though dependencies are not implemented on -STABLE:

/usr/include/sys/module.h
$FreeBSD: src/sys/sys/module.h,v 1.14.2.1 2000/08/09 00:00:07 peter Exp
$

#define MODULE_METADATA(uniquifier, type, data, cval)

#define MODULE_DEPEND(mod, dep, min, pref, max)

#define DECLARE_MODULE(name, data, sub, order) \
    SYSINIT(name##module, sub, order, module_register_init, &data) \
    struct __hack

#define MODULE_VERSION(mod, ver)

I don't know whether this functionality can be MFCed without
breaking compatibility too much...

Cheers,
Jeroen

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B0B9DD1.ECBD5B4B>