Ad Widget

Collapse

cant compile from cvs ....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clubbing80s
    Senior Member
    • Sep 2005
    • 109

    #1

    cant compile from cvs ....

    I downloaded the latest cvs today and tried to compile from the soure ..... make died with the follow errors ... any ideas ?

    make[3]: Entering directory `/home/greg/zabbix_cvs/src/zabbix_agent'
    if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -MT zabbix_agent.o -MD -MP -MF ".deps/zabbix_agent.Tpo" -c -o zabbix_agent.o zabbix_agent.c; \
    then mv -f ".deps/zabbix_agent.Tpo" ".deps/zabbix_agent.Po"; else rm -f ".deps/zabbix_agent.Tpo"; exit 1; fi
    zabbix_agent.c:65: error: static declaration of ‘CONFIG_HOSTS_ALLOWED’ follows non-static declaration
    zbxconf.h:23: error: previous declaration of ‘CONFIG_HOSTS_ALLOWED’ was here
    make[3]: *** [zabbix_agent.o] Error 1
    make[3]: Leaving directory `/home/greg/zabbix_cvs/src/zabbix_agent'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/greg/zabbix_cvs/src/zabbix_agent'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/greg/zabbix_cvs/src'
    make: *** [all-recursive] Error 1
  • Farley
    Junior Member
    • Sep 2009
    • 20

    #2
    I know that's a bit old, but yeah I'm having the same problem, latest cvs trying to build on a up to date gentoo.

    Anyone?

    Comment

    Working...