[syslog-ng] [Bug 138] New: Compilation failure in 3.3.1: CLOCK_MONOTONIC undeclared

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Mon Oct 10 00:00:32 CEST 2011


https://bugzilla.balabit.com/show_bug.cgi?id=138

           Summary: Compilation failure in 3.3.1: CLOCK_MONOTONIC undeclared
           Product: syslog-ng
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS
            Status: NEW
          Severity: normal
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: bazsi at balabit.hu
        ReportedBy: jacknagel at gmail.com
Type of the Report: bug
   Estimated Hours: 0.0


Attempting to compile syslog-ng v3.3.1 from source on Mac OS X 10.6.8 fails with

logsource.c: In function ‘log_source_msg_ack’:
logsource.c:85: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
logsource.c:85: error: (Each undeclared identifier is reported only once
logsource.c:85: error: for each function it appears in.)

I believe this is because OS X does not define CLOCK_MONOTONIC. Actually, afaik,
OS X doesn't implement clock_gettime() either.


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list