Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 13 Dec 2012 13:59:12 -0500
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: FreeSWITCH build, timerfd macros

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.