[mbackup-devel] working with development pkg mbackup0.6
Status: Alpha
Brought to you by:
jo2y
|
From: jay s. <jay...@gm...> - 2009-11-16 14:14:44
|
Hi,
I have compiled db3.4 and tried to integrate mbackup0.6 with it on
POSIX environment.
While doing so I have encountered following error.
$ make
c++ -ggdb -shared -Wl,-soname,libmbackup.so -o libmbackup.so libmbackup.o
mb_obj
ect.o mb_index.o mb_index_file.o mb_index_db3.o mb_index_entry.o mb_data.o
mb_fi
le.o mb_disk_file.o mb_tape_drive.o mb_tape_file.o mb_filter.o
mb_dummy_filter.o
mb_directory.o -lc -ldb_cxx
mb_index_db3.o: In function `mb_index_db3':
*/home/Administrator/mbackup-0.6j/src/lib/mb_index_db3.cc:43: undefined
reference
to `Db::open(char const*, char const*, DBTYPE, unsigned int, int)'*
*/home/Administrator/mbackup-0.6j/src/lib/mb_index_db3.cc:50: undefined
reference
to `Db::open(char const*, char const*, DBTYPE, unsigned int, int)'*
*/home/Administrator/mbackup-0.6j/src/lib/mb_index_db3.cc:57: undefined
reference
to `Db::open(char const*, char const*, DBTYPE, unsigned int, int)'*
*/home/Administrator/mbackup-0.6j/src/lib/mb_index_db3.cc:64: undefined
reference
to `Db::open(char const*, char const*, DBTYPE, unsigned int, int)'*
*/home/Administrator/mbackup-0.6j/src/lib/mb_index_db3.cc:43: undefined
reference
to `Db::open(char const*, char const*, DBTYPE, unsigned int, int)'*
mb_index_db3.o:/home/Administrator/mbackup-0.6j/src/lib/mb_index_db3.cc:50:
more
undefined references to `Db::open(char const*, char const*, DBTYPE,
unsigned in
t, int)' follow
collect2: ld returned 1 exit status
make: *** [libmbackup.so] Error 1
Please suggest me necessary steps to be take as I'm completely bugged up,
trying all the possible ways.
Do I need to create database and if so how?
And the other thing i find is stack trace saying undefined reference which i
think is a linking error.
I have compiled the Database library in corresponding POSIX environment but
still it is not able to resolve the DB.
Your suggestions will mean a lot to me.
Thanks & Regards
|