Ad Widget

Collapse

Error making agent on OSX 10.4.10

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Spikelite
    Junior Member
    • Aug 2007
    • 4

    #1

    Error making agent on OSX 10.4.10

    I am installing the 1.4.2 agent on a OSX 10.4.10 machine that has XCode installed.

    I ran the ./configure --enable-agent and it checked out fine, then I ran 'make' and got this error:

    cpu.c: In function 'SYSTEM_CPU_UTIL':
    cpu.c:50: error: parse error before '}' token
    make[4]: *** [libspecsysinfo_a-cpu.o] Error 1
    make[3]: *** [all-recursive] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all-recursive] Error 1

    I found the thread: http://www.zabbix.com/forum/showthread.php?t=7404

    I then fixed that problem by changing the cpu.c file as suggested in the thread.

    Now I am getting this error:

    /usr/bin/ld: Undefined symbols:
    _res_9_init
    _res_9_query
    collect2: ld returned 1 exit status
    make[2]: *** [zabbix_agent] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all-recursive] Error 1

    Does anyone have any ideas?
    Last edited by Spikelite; 28-08-2007, 21:05.
  • Spikelite
    Junior Member
    • Aug 2007
    • 4

    #2
    I just attempted to make the client on 10.4.8 and ran into the same problem.

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      It was already fixed. Please use the latest code from www.zabbix.com/developers.php.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • Spikelite
        Junior Member
        • Aug 2007
        • 4

        #4
        The pre-zabbix-1.4 file would seem to be damaged, I can not open it via the GUI nor the CLI and both report errors in the file.

        Comment

        • Spikelite
          Junior Member
          • Aug 2007
          • 4

          #5
          The Aug 30 build was extractable however I encountered the exact same error:

          /usr/bin/ld: Undefined symbols:
          _res_9_init
          _res_9_query
          collect2: ld returned 1 exit status
          make[2]: *** [zabbix_agent] Error 1
          make[1]: *** [all-recursive] Error 1
          make: *** [all-recursive] Error 1

          Any ideas?
          Last edited by Spikelite; 29-08-2007, 23:46.

          Comment

          • BlouPhil
            Junior Member
            • Nov 2007
            • 12

            #6
            I had the same problem with 1.4.2.

            I downloaded 1.4.3 from http://www.zabbix.com/developers.php and it compiled right away.

            Running OSX 10.4.10

            Comment

            • rabbitt
              Junior Member
              • Jul 2008
              • 5

              #7

              Comment

              Working...