From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: FreeSWITCH build, timerfd macros
Date: Thu, 13 Dec 2012 13:59:12 -0500 [thread overview]
Message-ID: <20121213185912.GD20323@brightrain.aerifal.cx> (raw)
In-Reply-To: <50CA1032.5030708@barfooze.de>
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
next prev parent reply other threads:[~2012-12-13 18:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-13 11:23 ojab
2012-12-13 17:28 ` John Spencer
2012-12-13 18:59 ` Rich Felker [this message]
2012-12-13 19:07 ` ojab
2012-12-13 19:14 ` Rich Felker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121213185912.GD20323@brightrain.aerifal.cx \
--to=dalias@aerifal.cx \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).