Ad Widget

Collapse

make on mac os x

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • riegersteve
    Member
    • Oct 2004
    • 68

    #1

    make on mac os x

    Making all in src/zabbix_agent
    gcc -o ../../bin/zabbix_agent -static -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
    ../../include/snprintf.c:169: warning: `dopr' defined but not used
    ld: can't locate file for: -lcrt0.o
    *** Error code 1

    Stop in /usr/local/src/zabbix-1.1alpha7/src/zabbix_agent.
    *** Error code 1

    Stop in /usr/local/src/zabbix-1.1alpha7.

    using make gnumake or bsdmake all the same error.
    ./configure -with-mysql=/usr/local/mysql -with-net-snmp --enable-static
    without snmp, mysql, and static, still the same errors.


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

    #2
    Try to compile without --enable-static. Also, I fixed a couple of OS/X compilation issues recently, so I'd wait till 1.1alpha8. The 1.1alpha8 agent will support memory[free] and memory[total] (good news for OS/X users).
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • riegersteve
      Member
      • Oct 2004
      • 68

      #3
      thanx, will wait, but as i said even without the enable-static, i still got that error.


      also once i get it up and running on the new mac os x (tiger) server i will make it publicly avaliable if that is ok with you.

      Comment

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

        #4
        I'm pretty sure the error has nothing to do with ZABBIX. It is something related to missing (?) libc files or something like this. Goggle gives lots of results about this error.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        Working...