compilation error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

compilation error

Parag Mehta
Hi

i am getting the following compilation error on RH 7.2 box. please
advise what i am missing.

thanks
Parag

Error:

cd bdb && make bdb.cmxa
make[1]: Entering directory `/root/sks-1.0.10/bdb'
gcc -O3 -Werror-implicit-function-declaration -I`ocamlc -where`   -I .
-c bdb_stubs.c
bdb_stubs.c: In function `finalize_caml_txn':
bdb_stubs.c:140: dereferencing pointer to incomplete type
bdb_stubs.c: At top level:
bdb_stubs.c:381: `DB_AUTO_COMMIT' undeclared here (not in a function)
bdb_stubs.c:381: initializer element is not constant
bdb_stubs.c:381: (near initialization for `db_open_flags[6]')
bdb_stubs.c: In function `caml_db_open':
bdb_stubs.c:468: incompatible type for argument 4 of indirect function call
bdb_stubs.c:468: too many arguments to function
bdb_stubs.c: In function `caml_db_get_size':
bdb_stubs.c:684: too few arguments to function
bdb_stubs.c: In function `caml_txn_abort':
bdb_stubs.c:1166: dereferencing pointer to incomplete type
bdb_stubs.c: In function `caml_txn_begin':
bdb_stubs.c:1196: structure has no member named `txn_begin'
bdb_stubs.c: In function `caml_txn_checkpoint':
bdb_stubs.c:1225: structure has no member named `txn_checkpoint'
bdb_stubs.c: In function `caml_txn_commit':
bdb_stubs.c:1246: dereferencing pointer to incomplete type
make[1]: *** [bdb_stubs.o] Error 1
make[1]: Leaving directory `/root/sks-1.0.10/bdb'
make: *** [bdb/bdb.cmxa] Error 2


_______________________________________________
Sks-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/sks-devel