Ad Widget

Collapse

Pgsql error in make

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • root_master
    Junior Member
    • Dec 2005
    • 18

    #1

    Pgsql error in make

    is postgresql support in beta10 ?

    i got follwoing errors

    ----

    Making all in zbxdbhigh
    make[3]: Entering directory `/root/zabbix/zabbix-1.1beta10/src/libs/zbxdbhigh'
    make[4]: Entering directory `/root/zabbix/zabbix-1.1beta10/src/libs/zbxdbhigh'
    if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I/usr/include/postgresql -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
    In file included from action.c:27:
    ../../../include/db.h:316: error: syntax error before '*' token
    ../../../include/db.h:316: warning: data definition has no type or storage class
    ../../../include/db.h:317: error: syntax error before "DBfetch"
    ../../../include/db.h:317: error: syntax error before '*' token
    ../../../include/db.h:317: warning: data definition has no type or storage class
    ../../../include/db.h:347: error: syntax error before "DB_ROW"
    action.c: In function `DBget_action_by_actionid':
    action.c:65: error: `PGresult' undeclared (first use in this function)
    action.c:65: error: (Each undeclared identifier is reported only once
    action.c:65: error: for each function it appears in.)
    action.c:65: error: `result' undeclared (first use in this function)
    action.c:66: error: `DB_ROW' undeclared (first use in this function)
    action.c:66: error: syntax error before "row"
    action.c:74: error: `row' undeclared (first use in this function)
    make[4]: *** [action.o] Error 1
    make[4]: Leaving directory `/root/zabbix/zabbix-1.1beta10/src/libs/zbxdbhigh'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/root/zabbix/zabbix-1.1beta10/src/libs/zbxdbhigh'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/root/zabbix/zabbix-1.1beta10/src/libs'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/zabbix/zabbix-1.1beta10/src'
    make: *** [all-recursive] Error 1
Working...