From owner-freebsd-arch Tue Mar 13 21: 4:10 2001 Delivered-To: freebsd-arch@freebsd.org Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (Postfix) with ESMTP id 5F25237B718 for ; Tue, 13 Mar 2001 21:04:08 -0800 (PST) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.9.3/8.9.3) id VAA04203; Tue, 13 Mar 2001 21:58:07 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp04.primenet.com, id smtpdAAASUaW8h; Tue Mar 13 21:57:48 2001 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id WAA03185; Tue, 13 Mar 2001 22:03:41 -0700 (MST) From: Terry Lambert Message-Id: <200103140503.WAA03185@usr05.primenet.com> Subject: Re: sbufs in userland, proposed solution To: ken@kdm.org (Kenneth D. Merry) Date: Wed, 14 Mar 2001 05:03:40 +0000 (GMT) Cc: arch@FreeBSD.ORG In-Reply-To: <20010313162840.A90872@panzer.kdm.org> from "Kenneth D. Merry" at Mar 13, 2001 04:28:40 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > libcam will be complied with a dependency on libsbuf, so libsbuf will > automatically get pulled in for applications that dynamically link with > libcam. [ ... ] > As for applications that link statically (e.g. camcontrol), they'll have to > add libsbuf to the link line in order to compile. > > There is apparantly no way around the static link problem, so this is > something that has to be done, unless I go with one of the other two > alternatives -- putting sbufs in libc or in libcam. The "library A depends on library B" approach is _supposed_ to work with both static and dynamic linking. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message