This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xemacs link problem


This looks like a missing library problem, or something similar.  Do you
have the 'db' package installed? If so, which version, and from which
source? The one from cygutils, or Michael Ring's version, or
self-compiled?  My suspicion is that you have both the cygutils static
db-2.77 library installed in /usr/local/, and Michael Ring's dll version
of db-3.1.17 installed in /usr/.  xemacs seems to be picking up the
dll's .h headers, but linking to the static version's library.

--Chuck


Guansong Zhang wrote:
> 
> I got the following error message when I compile both xemacs-21.2.10 and 12.
> 
> /packages/xemacs-21.1.12/src/database.c:263: undefined reference to
> `_imp__dbm_f
> irstkey'
> /packages/xemacs-21.1.12/src/database.c:267: undefined reference to
> `_imp__dbm_f
> etch'
> /packages/xemacs-21.1.12/src/database.c:265: undefined reference to
> `_imp__dbm_n
> extkey'
> database.o: In function `dbm_get':
> 
> This is on NT with cygwin 1.1.4, I don't have this problem with 1.1.2
> 
> Thanks,
> 
> Guansong

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]