Ad Widget

Collapse

2.4 kernel compile error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anomie
    Junior Member
    • Dec 2005
    • 4

    #1

    2.4 kernel compile error

    after running ./configure --enable-server --with-mysql-dir=/path/to/mysql

    everything looks good...however, after running make we get:

    action.c:65: `DB_RESULT' undeclared (first use in this function)
    action.c:65: (Each undeclared identifier is reported only once
    action.c:65: for each function it appears in.)
    action.c:65: `result' undeclared (first use in this function)
    action.c: In function `DBadd_action_to_linked_hosts':
    action.c:103: `DB_RESULT' undeclared (first use in this function)
    action.c:103: `result' undeclared (first use in this function)
    action.c:103: `result2' undeclared (first use in this function)
    make[4]: *** [action.o] Error 1
    make[4]: Leaving directory `/tmp/zabbix-1.1beta2/src/libs/zbxdbhigh'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/tmp/zabbix-1.1beta2/src/libs/zbxdbhigh'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/tmp/zabbix-1.1beta2/src/libs'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/zabbix-1.1beta2/src'
    make: *** [all-recursive] Error 1

    I have used several versions of gcc, automake etc....still get the same thing.
  • edeus
    Senior Member
    • Aug 2005
    • 120

    #2
    Did you declare a database type? i.e.

    --with-mysql

    Comment

    Working...