Date: Thu, 5 Dec 2002 13:02:58 +1030 (CST) From: "Wilkinson,Alex" <Alex.Wilkinson@dsto.defence.gov.au> To: Peter Wemm <peter@wemm.org> Cc: Andrew Gallatin <gallatin@cs.duke.edu>, alex <lex@adelaide.on.net>, Yoriaki FUJIMORI <fujimori@ns.fujimori.cache.waseda.ac.jp>, "" <alpha@freebsd.org> Subject: Re: link_elf: symbol osf1_wait4 undefined Message-ID: <20021205130210.I85125-100000@squirm.dsto.defence.gov.au> In-Reply-To: <20021204234429.1E7DE2A8A5@canning.wemm.org> References: <20021204234429.1E7DE2A8A5@canning.wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Only if -CURRENT would build on my Alpha ;( - aW This is quite well solved in 5.0: peter@daintree[3:41pm]~src/sys/alpha/osf1-121> grep MODULE_ * osf1_sysvec.c:MODULE_VERSION(osf1, 1); osf1_sysvec.c:MODULE_DEPEND(osf1, sysvmsg, 1, 1, 1); osf1_sysvec.c:MODULE_DEPEND(osf1, sysvsem, 1, 1, 1); osf1_sysvec.c:MODULE_DEPEND(osf1, sysvshm, 1, 1, 1); peter@daintree[3:41pm]~src/sys/alpha/osf1-122> cd ../linux/ peter@daintree[3:42pm]~src/sys/alpha/linux-123> grep MODULE_ * linux_sysvec.c:MODULE_VERSION(linux, 1); linux_sysvec.c:MODULE_DEPEND(linux, osf1, 1, 1, 1); linux_sysvec.c:MODULE_DEPEND(linux, sysvmsg, 1, 1, 1); linux_sysvec.c:MODULE_DEPEND(linux, sysvsem, 1, 1, 1); linux_sysvec.c:MODULE_DEPEND(linux, sysvshm, 1, 1, 1); ie: linux depends on osf1. osf1 depends on the sysv* stuff. linux also depends on the sysv*. All the dependency loading happens automatically if needed. There is no good solution for 4.x because the dependency system runs at the file level (rather than module level) and cannot detect when a module is already in the kernel. 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?20021205130210.I85125-100000>