From: Czastkiewicz J. <cza...@su...> - 2003-10-29 10:30:58
|
Hallo Everybody! I've installed mdbtools and mdbtools_dev and wrote a simple program: /* test.cpp */ #include <mdbtools.h> int main() { mdb_init(); return 1; } /* end test.cpp */ And I tried to compile: g++ -o test test.cpp -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -lmdb /tmp/ccy48EO7.o(.text+0x11): In function `main': : undefined reference to `mdb_init()' collect2: ld returned 1 exit status Where is the problem? What more I should include? I have libmdb.so in /usr/lib and mdbtools.h in /usr/include, so it should work. Thanks you. Jacek Czastkiewicz PS Are there any version of ,,MDB Tools Programmer's Guide'' now ? |