From owner-freebsd-alpha Wed May 23 5:25:19 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from mail5.svr.pol.co.uk (mail5.svr.pol.co.uk [195.92.193.20]) by hub.freebsd.org (Postfix) with ESMTP id 7948837B422 for ; Wed, 23 May 2001 05:25:14 -0700 (PDT) (envelope-from jeroen@vangelderen.org) Received: from modem-20.nickel.dialup.pol.co.uk ([62.136.27.20] helo=vangelderen.org) by mail5.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 152XhQ-00056R-00; Wed, 23 May 2001 13:25:12 +0100 Message-ID: <3B0B9DD1.ECBD5B4B@vangelderen.org> Date: Wed, 23 May 2001 12:24:02 +0100 From: "Jeroen C. van Gelderen" X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Christian Weisgerber Cc: freebsd-alpha@freebsd.org Subject: Re: Linux binary compatibility on axp platform References: <9eg68p$226j$1@kemoauc.mips.inka.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Christian Weisgerber wrote: > > Chris McCracken 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