From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2458 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: FreeSWITCH build, timerfd macros Date: Thu, 13 Dec 2012 13:59:12 -0500 Message-ID: <20121213185912.GD20323@brightrain.aerifal.cx> References: <50C9BAC2.1090806@ojab.ru> <50CA1032.5030708@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1355425170 24863 80.91.229.3 (13 Dec 2012 18:59:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2012 18:59:30 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2459-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 13 19:59:44 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 1TjE0Q-00021x-1h for gllmg-musl@plane.gmane.org; Thu, 13 Dec 2012 19:59:38 +0100 Original-Received: (qmail 27726 invoked by uid 550); 13 Dec 2012 18:59:25 -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 27718 invoked from network); 13 Dec 2012 18:59:24 -0000 Content-Disposition: inline In-Reply-To: <50CA1032.5030708@barfooze.de> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2458 Archived-At: On Thu, Dec 13, 2012 at 06:28:18PM +0100, John Spencer wrote: > On 12/13/2012 12:23 PM, ojab wrote: > >Hi list, > > > >glibc's timerfd.h has some defines, which doesn't exist in musl. > > > >One of them — TFD_TIMER_ABSTIME, which is basically > >#define TFD_TIMER_ABSTIME (1 << 0) > > > >is used by FreeSWITCH, so right now FS build fails with > >>src/switch_time.c:827:29: error: 'TFD_TIMER_ABSTIME' undeclared > >>(first use in this function) > > to make it work you can simply add -DTFD_TIMER_ABSTIME=1 to your CFLAGS. > for example: > CFLAGS="-DTFD_TIMER_ABSTIME=1" ./configure --blah --blah Yes, but this macro is obviously supposed to be defined in timerfd.h. Are there any other macros we should add there at the same time? Rich