delorie.com/archives/browse.cgi | search |
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: | <4.3.1.2.20001023184815.02026c78@pop.ma.ultranet.com> |
X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 4.3.1 |
Date: | Mon, 23 Oct 2000 18:54:09 -0400 |
To: | "Jeff Lu" <jklcom AT mindspring DOT com>, <cygwin AT sourceware DOT cygnus DOT com> |
From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Subject: | Re: Question |
In-Reply-To: | <NDBBIHPECLIGKCCLMACAEEHHCHAA.jklcom@mindspring.com> |
Mime-Version: | 1.0 |
At 06:15 PM 10/23/2000, Jeff Lu wrote: >I've downloaded and installed cygwin & gdbm-1.8.0. > >When tried to compile programs that uses dbm functions such as: > >gcc -o /home/jeff/getzip.cgi getzip.c utils.c -lndbm > >I got /usr/bin/ld: cannot find -lndbm > >gcc -o /home/jeff/getzip.cgi getzip.c utils.c -lgdbm >I got errors on dbm_open, dbm_fetch etc as undefined reference > >Please see attached error file. > >This is weird. Some dbm calls got renamed to "_imp__dbm_open" during >compile. > >Thanks >-Jeff I know nothing about gdbm and have not installed it myself. However, its clear from the first error you got that -lndbm either doesn't exist or is in the wrong location. Look around for libndbm.a and either move it to a know spot or add a -L path so the linker can find it. As for the other error about undefined references, check libgdbm.a to see if the symbols you're looking for are actually in the library. Assuming the package has been ported correctly and you're using the header files that go with that package, you shouldn't need to be concerned about the _imp prefix. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |