Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1568

sys/sysinfo.h not defined in sysinfo.h

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.1
    • Component/s: None
    • Labels:
      None

      Description

      When compiling cfengine 3.6.0 from source on an old debian 3.1 version (after compiling an new version of openssl), then I got the following error:

      sysinfo.c:2508: error: storage size of `s' isn't known
      sysinfo.c:2508: warning: unused variable `s'

      When I added:

      "#include <sys/sysinfo.h>" into ./libenv/sysinfo.h it copiled successfully

        Attachments

          Release management

            Activity

              People

              Assignee:
              a10038 jimis (Dimitrios Apostolou)
              Reporter:
              sanderj Sander J
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: