Ad Widget

Collapse

Error compiling Zabbix (httppoller.c:128:1: internal compiler error)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dbauermann
    Junior Member
    • Oct 2013
    • 3

    #1

    Error compiling Zabbix (httppoller.c:128:1: internal compiler error)

    I'm trying to compile Zabbix 2.0.9 from the source as I did any times, but now I'm getting this error:

    httppoller.c:128:1: internal compiler error: in pop_scope, at c-decl.c:1252
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <http://gcc.gnu.org/bugs.html> for instructions.
    make[3]: *** [httppoller.o] Error 1
    make[3]: Leaving directory `/tmp/zabbix-2.0.9/src/zabbix_server/httppoller'
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory `/tmp/zabbix-2.0.9/src/zabbix_server'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/tmp/zabbix-2.0.9/src'
    make: *** [install-recursive] Error 1

    Details from my config.log:

    It was created by configure, which was
    generated by GNU Autoconf 2.68. Invocation command line was

    $ ./configure --prefix=/opt/zabbix --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl

    ## --------- ##
    ## Platform. ##
    ## --------- ##

    hostname = *****
    uname -m = i686
    uname -r = 3.2.45-smp
    uname -s = Linux
    uname -v = #2 SMP Fri May 31 16:57:40 CDT 2013

    /usr/bin/uname -p = Intel(R) Pentium(R) 4 CPU 1.60GHz
    /bin/uname -X = unknown


    Thanks, Daniel.
  • Pada
    Senior Member
    • Apr 2012
    • 236

    #2
    Try updating the following packages if you can: gcc, binutils, glibc-devel

    What Linux distro and version are you running? Also, what gcc version?

    Comment

    • dbauermann
      Junior Member
      • Oct 2013
      • 3

      #3
      Hei Pada!

      I'm using Slackware 14.0.

      The packages are updating with your respective versions.

      Follow the versions from those packages:

      - binutils-2.22.52.0.2-i486-2
      - gcc-4.7.1-i486-1
      - glibc-2.15-i486-8_slack14.0

      Thanks!

      Comment

      • dbauermann
        Junior Member
        • Oct 2013
        • 3

        #4
        Hello Pada!

        I solved the problem.

        Actually, the problem "solution by self"! I'll explain...

        Yesterday I shutdown the server that I was compiling the Zabbix. Today, after I turned it on, I tried to compile again. And, for my surprise, the compile worked!

        I think that some needed lib, that I installed to compile, didn't do your installation correctly. And today, when I turned the server on, the process "ldconfig' fixed this.

        Thanks for your attention!

        Daniel.

        Comment

        • Pada
          Senior Member
          • Apr 2012
          • 236

          #5
          Fantastic! I'm glad you solved it by turning your PC off and on again

          ... this reminds met of the days I compiled FFmpeg and ZoneMinder, which clashed with the package manager's .so files.

          Comment

          Working...