From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2515 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: lshw FTBFS: res_querydomain declared but not implemented Date: Sun, 30 Dec 2012 21:59:31 -0800 Message-ID: <20121230215931.cf9ff1d0.idunham@lavabit.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1356933583 7741 80.91.229.3 (31 Dec 2012 05:59:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Dec 2012 05:59:43 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2516-gllmg-musl=m.gmane.org@lists.openwall.com Mon Dec 31 06:59:59 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TpYPn-0006X1-HG for gllmg-musl@plane.gmane.org; Mon, 31 Dec 2012 06:59:59 +0100 Original-Received: (qmail 26340 invoked by uid 550); 31 Dec 2012 05:59:44 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 26332 invoked from network); 31 Dec 2012 05:59:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=jna556Cqmx5ie1isaVJnjg4dgOMSOl+TexBJ4UKZ/jGLtsK57hjC/B6umcFVB6ktFO0/WO83ViulHRixbfwJAjw5M8wLe3kEhpaw2sW7IPHTPuINUW7FxOoc98qsODJNblJNsYJXa3z5ayviXw29wtcer8RX7JbbE+iEPlFFcZ4=; h=Date:From:To:Subject:Message-Id:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; i486-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:2515 Archived-At: I've been trying to build lshw [1] with musl, and I ran into a few problems: 1: lshw uses __uint8_t (standard fixes work) 2: It wants GNU basename() (I added and used -fpermissive) 3: It wants MAX_PATH from some header that doesn't have it: I added 4: It wants res_querydomain. This does not show up until link time, since declares it. However, musl does not acually implement this function. Currently, I've got a very hackish implementation that isn't fit to ship: -it doesn't check for name == "machine." -it doesn't handle domain == NULL (should use name, without any terminal ".") -it does no error checking, on the assumption that res_query can handle that. [1] http://ezix.org/project/wiki/HardwareLiSter -- Isaac Dunham