Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <20050722035458.98512.qmail@web50405.mail.yahoo.com>
Date: Thu, 21 Jul 2005 22:54:58 -0500 (CDT)
From: Manuel Tejada <mantemu@yahoo.com.mx>
Subject: Re: Why I can't create a database using Berkeley DB
To: Cygwin List <cygwin@cygwin.com>
In-Reply-To: <6.2.1.2.0.20050721015449.05774458@pop.prospeed.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

Thank Larry Hall. 
And Thank to Brain Dessent too.
For your help.



 --- Larry Hall
<lh-no-personal-replies-please@cygwin.com> escribió:

> Reformatting...
> 
> At 01:18 AM 7/21/2005, you wrote:
> 
> > --- Larry Hall
> ><lh-no-personal-replies-please@xyz.blah> escribió:
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> <http://cygwin.com/acronyms/#PCYMTNQREAIYR>
> 
> 
> >> 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_berkeley.c:(.text+0x59):
> >> >undefined reference to `_db_strerror'
> >> >collect2: ld returned 1 exit status
> >> >
> >> >
> >> >As you see, it tells the db_create() anf
> >> db_strerror()
> >> >are not defined. Somebody can tell me how to
> define
> >> >them?
> >> 
> >> 
> >> You forgot the library.  Add '-ldb-4.3'.  That
> >> should help.
> >I have installed:
> >- db4.3 base package with docs
> >- libdb4.3 runtime and,
> >- libdb4.3-devel
> 
> 
> Installed, yes.  Used, no.
> 
> 
> >You mean I need another library?
> 
> 
> No, but please use the ones you have installed.
> 
> 
> i.e. : gcc -o prueba_berkeley prueba_berkeley.c
> -ldb-4.3
> 
> Note - I haven't tried the above on my system but it
> should work AFAICS.
> 
> 
> --
> Larry Hall                             
> http://www.rfk.com
> RFK Partners, Inc.                      (508)
> 893-9779 - RFK Office
> 838 Washington Street                   (508)
> 893-9889 - FAX
> Holliston, MA 01746                     
> 
> 
> --
> Unsubscribe info:     
> http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:      
> http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 


Manuel TEJADA M.


	
	
		
___________________________________________________________ 
Do You Yahoo!? 
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. http://net.yahoo.com.mx 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

