From owner-freebsd-questions Sun Jan 28 18:50:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id DF35F37B404 for ; Sun, 28 Jan 2001 18:50:31 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.1/8.11.1) id f0T2oSS15363; Sun, 28 Jan 2001 20:50:28 -0600 (CST) (envelope-from dan) Date: Sun, 28 Jan 2001 20:50:28 -0600 From: Dan Nelson To: Rob Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: compiling under compat/linux- Secrets? Message-ID: <20010128205027.A13338@dan.emsphone.com> References: <3A74B2E2.E7151E0A@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.14i In-Reply-To: <3A74B2E2.E7151E0A@home.com>; from "Rob" on Sun Jan 28 16:01:38 GMT 2001 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Jan 28), Rob said: > I am wondering if anyone can tell me the secrets to compiling under > compat/linux? I looked at the archives and did find one useful post > about invoking /usr/compat/linux/bin/bash before doing the configure and > make. I imagine that some changes might be needed to the configure > script. I've played around with it but it seems that the needed > libraries and includes are not being found. I've verified that they do > exist. You installed ports/devel/linux_devtools? > I am trying to compile the "vsound" linux program, used for intercepting > calls to /dev/dsp and storing the audio stream to a file. You shouldn't have to compile in Linux compat mode to get that to work; our /dev/dsp is completely compatible with Linux's. The only time you really need to build a Linux binary should be if you have to link to a library that you don't have the source to, or if you're cross-compiling for a Linux target. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message