Re: Why I can't create a database using Berkeley DB

2005-07-21 Thread Manuel Tejada
Thank Larry Hall. And Thank to Brain Dessent too. For your help. --- Larry Hall <[EMAIL PROTECTED]> escribió: > Reformatting... > > At 01:18 AM 7/21/2005, you wrote: > > > --- Larry Hall > ><[EMAIL PROTECTED]> escribió: > ^ >

Re: Why I can't create a database using Berkeley DB

2005-07-20 Thread Larry Hall
Reformatting... At 01:18 AM 7/21/2005, you wrote: > --- Larry Hall ><[EMAIL PROTECTED]> escribió: ^ >> At 10:27 PM 7/20/2005, you wrote: >> >When I tried to compile prueba_berkeley.c I get the >> >following: >>

Re: Why I can't create a database using Berkeley DB

2005-07-20 Thread Brian Dessent
Manuel Tejada wrote: > I have installed: > - db4.3 base package with docs > - libdb4.3 runtime and, > - libdb4.3-devel > > You mean I need another library? No, you need to tell the linker to use it. Add "-ldb-4.3" to the link command. Your book should explain this. Brian -- Unsubscribe info:

Re: Why I can't create a database using Berkeley DB

2005-07-20 Thread Manuel Tejada
I have installed: - db4.3 base package with docs - libdb4.3 runtime and, - libdb4.3-devel You mean I need another library? --- Larry Hall <[EMAIL PROTECTED]> escribió: > At 10:27 PM 7/20/2005, you wrote: > >When I tried to compile prueba_berkeley.c I get the > >following: > > > >$ gcc -o prueba

Re: Why I can't create a database using Berkeley DB

2005-07-20 Thread Larry Hall
At 10:27 PM 7/20/2005, you wrote: >When I tried to compile prueba_berkeley.c I get the >following: > >$ gcc -o prueba_berkeley prueba_berkeley.c >/cygdrive/c/WINDOWS/TEMP/ccRirmsy.o:prueba_berkeley.c:(.text+0x45): >undefined reference to `_db_create' >/cygdrive/c/WINDOWS/TEMP/ccRirmsy.o:prueba_berk

Why I can't create a database using Berkeley DB

2005-07-20 Thread Manuel Tejada
Recently I installed Berkeley DB version 4.3. I copied The following example source from a tutorial somewhere which I saved as prueba_berkeley.c: - #include #include #include #define DATABASE "access.db" int main() { DB *dbp; DBT key, data;