Ad Widget

Collapse

Compile problems with zabbix-1.1beta10

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akschu
    Junior Member
    • May 2006
    • 17

    #1

    Compile problems with zabbix-1.1beta10

    Here is the error I get:

    if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I/usr/include/mysql -g -O2 -MT action.o -MD -MP -MF ".deps/action.Tpo" -c -o action.o action.c; \
    then mv -f ".deps/action.Tpo" ".deps/action.Po"; else rm -f ".deps/action.Tpo"; exit 1; fi
    action.c: In function `DBadd_action':
    action.c:36: error: `ACTION_SUBJECT_LEN_MAX' undeclared (first use in this function)
    action.c:36: error: (Each undeclared identifier is reported only once
    action.c:36: error: for each function it appears in.)
    action.c: At top level:
    action.c:63: error: parse error before "DB_ACTION"
    action.c: In function `DBget_action_by_actionid':
    action.c:65: error: `DB_RESULT' undeclared (first use in this function)
    action.c:65: error: parse error before "result"
    action.c:66: error: `DB_ROW' undeclared (first use in this function)
    action.c:70: error: `actionid' undeclared (first use in this function)
    action.c:73: error: `result' undeclared (first use in this function)
    action.c:74: error: `row' undeclared (first use in this function)
    action.c:82: error: `action' undeclared (first use in this function)
    make[4]: *** [action.o] Error 1

    Here are my compile options:

    ./configure --prefix=/usr --with-net-snmp --with-mysql --enable-server

    I'm not sure why it says there is a parse error, I looked at the file and it looks fine to me.

    schu
  • akschu
    Junior Member
    • May 2006
    • 17

    #2
    Any ideas on this?

    Comment

    • erisan500
      Senior Member
      Zabbix Certified Specialist
      • Aug 2005
      • 285

      #3
      do you have mysql-devel installed ?
      EriSan
      Zabbix Certified Specialist

      Comment

      • akschu
        Junior Member
        • May 2006
        • 17

        #4
        Slackware doesn't really have dev packages, each package contains the entire distro as if you did a make install. So yes, I have the header files and includes installed.

        Comment

        Working...