From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2456 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: Re: FreeSWITCH build, timerfd macros Date: Thu, 13 Dec 2012 18:28:18 +0100 Message-ID: <50CA1032.5030708@barfooze.de> References: <50C9BAC2.1090806@ojab.ru> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1355419699 3949 80.91.229.3 (13 Dec 2012 17:28:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2012 17:28:19 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2457-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 13 18:28:33 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 1TjCaD-0003aS-G7 for gllmg-musl@plane.gmane.org; Thu, 13 Dec 2012 18:28:29 +0100 Original-Received: (qmail 8070 invoked by uid 550); 13 Dec 2012 17:28:15 -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 8044 invoked from network); 13 Dec 2012 17:28:06 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Mail/1.0 In-Reply-To: <50C9BAC2.1090806@ojab.ru> Xref: news.gmane.org gmane.linux.lib.musl.general:2456 Archived-At: 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