delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/17/19:24:14

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B7DA77F.3090204@ece.gatech.edu>
Date: Fri, 17 Aug 2001 19:23:43 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713
X-Accept-Language: en-us
MIME-Version: 1.0
To: "David A. Cobb" <superbiskit AT home DOT com>
CC: Xemacs General MailLIst <xemacs AT xemacs DOT org>,
Cygwin General MailList <cygwin AT cygwin DOT com>
Subject: Re: The continuing saga: building Xemacs-21.5--i686-pc-Cygwin: PART IV
References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20010817135414 DOT 03f16850 AT mail> <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20010817180631 DOT 03b1f4c0 AT mail> <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20010817190026 DOT 03ac71d0 AT mail>

David A. Cobb wrote:

> At 8/17/01 06:23 PM (Friday), Charles Wilson wrote:
> Errr...you need to run the command from the build directory where all 
> the .o files are.  <top>/src/ I think.
> 
> Gaaaak!  Actually "<build>/src" -- it is very LONG!  Attached.  I don't 
> know whether the attachment will slip through to the list.


Okay, here are some excerpts from your log.  Here's your problem:

...
attempt to open /usr/lib/noX/libgdbm.dll.a failed
attempt to open /usr/lib/noX/gdbm.dll.a failed
attempt to open /usr/lib/noX/libgdbm.a failed
attempt to open /usr/lib/noX/cyggdbm.dll failed
attempt to open /usr/lib/noX/libgdbm.dll failed
attempt to open /usr/lib/noX/gdbm.dll failed
attempt to open /usr/lib/noX/libgdbm.a failed
attempt to open /usr/local/lib/libgdbm.dll.a failed
attempt to open /usr/local/lib/gdbm.dll.a failed
attempt to open /usr/local/lib/libgdbm.a succeeded
                             ^^^^^^^^^^^^^^

this must be an old libgdbm library.  You should be using the import 
library in /usr/lib.  However, this wouldn't be such a problem if your 
object files had been compiled with the gdbm #include files that "match" 
the /usr/local/lib/libgdbm.a library.

However, it's obvious (!) from the errors you are getting that your 
object files were compiled with the "official" gdbm include files in 
/usr/include -- but you're linking against the wrong gdbm library.

Either (a) install the gdbm include files that match 
/usr/local/lib/libgdmb.a into /usr/local/include, or (b) remove 
/usr/local/lib/libgdbm.a.

--Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019