Hello,

Please helpl me to solve the issue. When I Configure kannel with mongodb I
get this error.

for dir in gw gw/smsc gwlib test utils wmlscript checks wap radius; do \
for file in $dir/*.c; do \
    gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-MM $file -MT $dir/`basename $file .c`.o -MT $dir/`basename $file .c`.i;
done; done > .depend
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/wap_push_ppg.o -c gw/wap_push_ppg.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/bb_udp.o -c gw/bb_udp.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/smscconn.o -c gw/smscconn.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/wml_compiler.o -c gw/wml_compiler.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/wap-maps.o -c gw/wap-maps.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/wap-error.o -c gw/wap-error.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/bb_store_spool.o -c gw/bb_store_spool.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/msg.o -c gw/msg.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/shared.o -c gw/shared.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/dlr_oracle.o -c gw/dlr_oracle.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/wap_push_ppg_pushuser.o -c gw/wap_push_ppg_pushuser.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/wap_push_sl_compiler.o -c gw/wap_push_sl_compiler.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/bb_boxc.o -c gw/bb_boxc.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/xml_shared.o -c gw/xml_shared.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/bb_http.o -c gw/bb_http.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/mime_decompiler.o -c gw/mime_decompiler.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/ota_prov.o -c gw/ota_prov.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/dlr.o -c gw/dlr.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/load.o -c gw/load.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/bb_store.o -c gw/bb_store.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/bb_store_file.o -c gw/bb_store_file.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/bb_smscconn.o -c gw/bb_smscconn.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/dlr_mssql.o -c gw/dlr_mssql.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/wap_push_pap_mime.o -c gw/wap_push_pap_mime.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/meta_data.o -c gw/meta_data.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/html.o -c gw/html.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/wap-appl.o -c gw/wap-appl.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/wap_push_pap_compiler.o -c gw/wap_push_pap_compiler.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/numhash.o -c gw/numhash.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/sms.o -c gw/sms.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/urltrans.o -c gw/urltrans.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/dlr_mysql.o -c gw/dlr_mysql.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/dlr_sdb.o -c gw/dlr_sdb.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/heartbeat.o -c gw/heartbeat.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/ota_compiler.o -c gw/ota_compiler.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/dlr_mem.o -c gw/dlr_mem.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/wap_push_si_compiler.o -c gw/wap_push_si_compiler.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/dlr_sqlite3.o -c gw/dlr_sqlite3.c
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl
-o gw/dlr_mongodb.o -c gw/dlr_mongodb.c
gw/dlr_mongodb.c:53:47: error: unknown type name ‘mongo_exception_type’
gw/dlr_mongodb.c: In function ‘dlr_mongodb_ensure_index’:
gw/dlr_mongodb.c:62:5: error: unknown type name ‘mongo_connection’
gw/dlr_mongodb.c:63:5: error: unknown type name ‘bson_buffer’
gw/dlr_mongodb.c:70:13: error: ‘mongo_connection’ undeclared (first use in
this function)
gw/dlr_mongodb.c:70:13: note: each undeclared identifier is reported only
once for each function it appears in
gw/dlr_mongodb.c:70:30: error: expected expression before ‘)’ token
gw/dlr_mongodb.c:72:5: warning: implicit declaration of function
‘bson_buffer_init’ [-Wimplicit-function-declaration]
gw/dlr_mongodb.c:73:5: warning: passing argument 1 of ‘bson_append_int’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:675:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:74:5: warning: passing argument 1 of ‘bson_append_int’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:675:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:75:5: warning: implicit declaration of function
‘bson_from_buffer’ [-Wimplicit-function-declaration]
gw/dlr_mongodb.c:77:5: error: ‘MONGO_TRY’ undeclared (first use in this
function)
gw/dlr_mongodb.c:77:15: error: expected ‘;’ before ‘{’ token
gw/dlr_mongodb.c: In function ‘dlr_mongodb_add’:
gw/dlr_mongodb.c:104:5: error: unknown type name ‘bson_buffer’
gw/dlr_mongodb.c:105:5: error: unknown type name ‘mongo_connection’
gw/dlr_mongodb.c:112:13: error: ‘mongo_connection’ undeclared (first use in
this function)
gw/dlr_mongodb.c:112:30: error: expected expression before ‘)’ token
gw/dlr_mongodb.c:115:5: warning: passing argument 1 of
‘bson_append_new_oid’ from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:664:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:117:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:118:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:119:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:120:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:121:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:122:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:123:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:124:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:125:5: warning: passing argument 1 of ‘bson_append_int’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:675:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:126:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:127:5: warning: passing argument 1 of ‘bson_append_int’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:675:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:132:5: error: ‘MONGO_TRY’ undeclared (first use in this
function)
gw/dlr_mongodb.c:132:15: error: expected ‘;’ before ‘{’ token
gw/dlr_mongodb.c: In function ‘dlr_mongodb_get’:
gw/dlr_mongodb.c:148:5: error: unknown type name ‘bson_buffer’
gw/dlr_mongodb.c:152:5: error: unknown type name ‘mongo_connection’
gw/dlr_mongodb.c:158:13: error: ‘mongo_connection’ undeclared (first use in
this function)
gw/dlr_mongodb.c:158:30: error: expected expression before ‘)’ token
gw/dlr_mongodb.c:161:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:162:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:165:9: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:171:5: error: ‘MONGO_TRY’ undeclared (first use in this
function)
gw/dlr_mongodb.c:171:15: error: expected ‘;’ before ‘{’ token
gw/dlr_mongodb.c: In function ‘dlr_mongodb_update’:
gw/dlr_mongodb.c:222:5: error: unknown type name ‘bson_buffer’
gw/dlr_mongodb.c:223:5: error: unknown type name ‘mongo_connection’
gw/dlr_mongodb.c:229:13: error: ‘mongo_connection’ undeclared (first use in
this function)
gw/dlr_mongodb.c:229:30: error: expected expression before ‘)’ token
gw/dlr_mongodb.c:232:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:233:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:236:9: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:243:9: error: unknown type name ‘bson_buffer’
gw/dlr_mongodb.c:243:9: warning: passing argument 1 of
‘bson_append_start_object’ from incompatible pointer type [enabled by
default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:915:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:243:28: warning: initialization makes pointer from integer
without a cast [enabled by default]
gw/dlr_mongodb.c:244:9: warning: passing argument 1 of ‘bson_append_int’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:675:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:245:9: warning: passing argument 1 of
‘bson_append_finish_object’ from incompatible pointer type [enabled by
default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:934:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:249:5: error: ‘MONGO_TRY’ undeclared (first use in this
function)
gw/dlr_mongodb.c:249:15: error: expected ‘;’ before ‘{’ token
gw/dlr_mongodb.c: In function ‘dlr_mongodb_remove’:
gw/dlr_mongodb.c:265:5: error: unknown type name ‘bson_buffer’
gw/dlr_mongodb.c:266:5: error: unknown type name ‘mongo_connection’
gw/dlr_mongodb.c:272:13: error: ‘mongo_connection’ undeclared (first use in
this function)
gw/dlr_mongodb.c:272:30: error: expected expression before ‘)’ token
gw/dlr_mongodb.c:275:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:276:5: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:279:9: warning: passing argument 1 of ‘bson_append_string’
from incompatible pointer type [enabled by default]
In file included from /usr/local/include/mongo/mongo.h:24:0,
                 from gw/dlr_mongodb.c:34:
/usr/local/include/mongo/bson.h:708:18: note: expected ‘struct bson *’ but
argument is of type ‘int *’
gw/dlr_mongodb.c:284:5: error: ‘MONGO_TRY’ undeclared (first use in this
function)
gw/dlr_mongodb.c:284:15: error: expected ‘;’ before ‘{’ token
gw/dlr_mongodb.c: In function ‘dlr_mongodb_messages’:
gw/dlr_mongodb.c:299:5: error: unknown type name ‘mongo_connection’
gw/dlr_mongodb.c:305:13: error: ‘mongo_connection’ undeclared (first use in
this function)
gw/dlr_mongodb.c:305:30: error: expected expression before ‘)’ token
gw/dlr_mongodb.c:308:5: error: ‘MONGO_TRY’ undeclared (first use in this
function)
gw/dlr_mongodb.c:308:15: error: expected ‘;’ before ‘{’ token
gw/dlr_mongodb.c: In function ‘dlr_mongodb_flush’:
gw/dlr_mongodb.c:323:5: error: unknown type name ‘mongo_connection’
gw/dlr_mongodb.c:329:13: error: ‘mongo_connection’ undeclared (first use in
this function)
gw/dlr_mongodb.c:329:30: error: expected expression before ‘)’ token
gw/dlr_mongodb.c:331:5: error: ‘MONGO_TRY’ undeclared (first use in this
function)
gw/dlr_mongodb.c:331:15: error: expected ‘;’ before ‘{’ token
make: *** [gw/dlr_mongodb.o] Error 1




-- 
Thanks and regards,
Himanshu Matta.
7566559950

Reply via email to