Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22313

./configure not working with -std=c99

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 7.0 (plan)
    • 6.4.0beta6
    • Documentation (D)
    • None
    • Sprint 97 (Feb 2023)
    • 0.25

      Set -std=c99

      export CFLAGS=-std=c99

      Running ./confiugure results in

      ./configure --enable-agent
      ...
      checking for library containing backtrace_symbols... none required
      checking for library containing jail_getname... no
      checking for main in -lm... yes
      checking for main in -lkvm... no
      checking for DNS lookup functions... yes
      checking for special C compiler options needed for large files... no
      checking for _FILE_OFFSET_BITS value needed for large files... no
      checking for an ANSI C-conforming const... yes
      checking for pid_t... yes
      checking for socklen_t... yes
      checking for actual socklen_t parameter type in socket functions... socklen_t
      checking for integer field name in union sigval of struct siginfo_t... configure: error: Unable to find integer field name in union sigval of struct siginfo_t

            mgeneralova Marina Generalova
            yurii Jurijs Klopovskis
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: