From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/461 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [compatability] sys/cdefs.h not shipped Date: Wed, 7 Sep 2011 16:11:05 -0400 Message-ID: <20110907201105.GL132@brightrain.aerifal.cx> References: <20110906234813.daa8abce.idunham@lavabit.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1315426498 10453 80.91.229.12 (7 Sep 2011 20:14:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2011 20:14:58 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-462-gllmg-musl=m.gmane.org@lists.openwall.com Wed Sep 07 22:14:54 2011 Return-path: Envelope-to: gllmg-musl@lo.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1R1OWL-0006pi-UG for gllmg-musl@lo.gmane.org; Wed, 07 Sep 2011 22:14:54 +0200 Original-Received: (qmail 17576 invoked by uid 550); 7 Sep 2011 20:14:52 -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 17568 invoked from network); 7 Sep 2011 20:14:51 -0000 Content-Disposition: inline In-Reply-To: <20110906234813.daa8abce.idunham@lavabit.com> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:461 Archived-At: On Tue, Sep 06, 2011 at 11:48:13PM -0700, Isaac Dunham wrote: > sys/cdefs.h is required by TI-RPC (an ipv6 compatible derivative of > the 'sun-rpc' code in gnu libc) and by libbsd; there are certainly > others, but those were the two I tried. > And no, a stub like features.h won't do the job. Could you elaborate on what's needed from this file? It's definitely a bug for any program to be using the stuff in cdefs.h, which is pretty much all double-underscore-prefixed macros for internal use by glibc to facilitate compiling in pre-ANSI C compilers, which is almost certainly not going to work anyway. Is TI-RPC working on other non-GNU/Linux systems, which probably don't have this header? Rich