Ad Widget

Collapse

Make problem with zabbix-1.1alpha6 :(

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • miky_willis
    Junior Member
    • Feb 2005
    • 9

    #1

    Make problem with zabbix-1.1alpha6 :(

    Hi Everybody

    Yesterday I tried to install zabbix-1.1alpha6 instead of my alpha5... But I got this error when I run make:

    myhost# make
    Making all in src/zabbix_agent
    gcc -o ../../bin/zabbix_agent -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c ../../include/md5.c -Wall
    sysinfo.c: In function `process':
    sysinfo.c:389: warning: `function_str' might be used uninitialized in this function
    ../../include/snprintf.c: In function `dopr':
    ../../include/snprintf.c:182: warning: implicit declaration of function `__va_copy'
    ../../include/snprintf.c:180: warning: `args' might be used uninitialized in this function
    ../../include/snprintf.c: At top level:
    ../../include/snprintf.c:169: warning: `dopr' defined but not used
    /tmp/cciusw75.o: In function `dopr':
    /usr/home/mickael/zabbix-1.1alpha6/src/zabbix_agent/../../include/snprintf.c:184: undefined reference to `__va_copy'
    *** Error code 1

    Stop in /usr/home/mickael/zabbix-1.1alpha6/src/zabbix_agent.
    *** Error code 1

    Stop in /usr/home/mickael/zabbix-1.1alpha6.


    I don't understand...
    I run zabbix on a FreeBSD 4.10 with MySQL-4.1.10 and PHP-5.0.3_2

    Note that I was able to upgrade another zabbixalpha5 to alpha6 with no problem on another server running FreeBSD 5.3. And the overview page is Great

    thanks for help
  • sokhu
    Junior Member
    • Mar 2005
    • 1

    #2
    Make error on Freebsd 4.5-RC2

    I am experiencing the exact same problem running Freebsd 4.5-RC2, Mysql 3.23.49.

    I will post the solution if I am able to solve it, I hope you do the same.

    Regards,

    Stefan

    Comment

    • psad
      Junior Member
      • Feb 2005
      • 5

      #3
      if it helps: NetBSD 2.0 (sparc64)

      the same problem. Im looking for a solution, too.

      regards
      Paweł Sadowski

      Comment

      • deejay2
        Junior Member
        • Mar 2005
        • 3

        #4
        same here...

        Same problem with FreeBSD 5.3 here...

        Comment

        • deejay2
          Junior Member
          • Mar 2005
          • 3

          #5
          Got it... (copied from another thread)

          Got it...

          In zebra's source...

          include/snprintf.c

          Around line 113, replace __va_copy by: __builtin_va_copy
          Around line 121, ..same thing

          You have to replace 2 occurences of __va_copy by __builtin_va_copy

          Comment

          • miky_willis
            Junior Member
            • Feb 2005
            • 9

            #6
            Damned your solution did not work for me

            I always got the issue... But only on my Freebsd 4.10, it works fine on FreeBSD 5.3 with zabbix 1.1 alpha6 and 7...

            I continue searching

            thanks

            Comment

            • miky_willis
              Junior Member
              • Feb 2005
              • 9

              #7
              Hello everybody.

              I always got this issue and don't know what to do at all

              please help if somebody knows something...

              Comment

              Working...