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: | <038A897BC8D6064E928A60BA14CC0F5A82F5C1@lgchexch004.ad.lgc.com> |
From: | Jerome David <JDavid AT lgc DOT com> |
To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Subject: | ncurses |
Date: | Tue, 5 Jun 2001 09:02:46 -0500 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2653.19) |
Hi all, I am trying to compile edb-1.0.2 and I am getting the following errors: /usr/src/edb-1.0.2/tools/edb_vt_ed.c:13: undefined reference to `_imp__endwin' edb_vt_ed.o: In function `main': /usr/src/edb-1.0.2/tools/edb_vt_ed.c:23: undefined reference to `_imp__initscr' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:24: undefined reference to `_imp__stdscr' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:24: undefined reference to `_imp__keypad' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:25: undefined reference to `_imp__nonl' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:26: undefined reference to `_imp__cbreak' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:27: undefined reference to `_imp__noecho' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:28: undefined reference to `_imp__has_colors' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:30: undefined reference to `_imp__start_color' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:32: undefined reference to `_imp__init_pair' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:33: undefined reference to `_imp__init_pair' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:34: undefined reference to `_imp__init_pair' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:35: undefined reference to `_imp__init_pair' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:36: undefined reference to `_imp__init_pair' edb_vt_ed.o:/usr/src/edb-1.0.2/tools/edb_vt_ed.c:37: more undefined references to `_imp__init_pair' follow edb_vt_ed.o: In function `main': /usr/src/edb-1.0.2/tools/edb_vt_ed.c:45: undefined reference to `_imp__stdscr' /usr/src/edb-1.0.2/tools/edb_vt_ed.c:45: undefined reference to `_imp__wgetch' collect2: ld returned 1 exit status make[2]: *** [edb_vt_ed] Error 1 Aren't those functions supposed to be in ncurses ? There's a #include<curses.h> in edb_vt_ed.c. Isn't that enough ? I have the same kind of things (I think) when compiling enlightenment: memory.o: In function `_Emalloc': /usr/src/enlightenment-0.16.5/src/memory.c:194: undefined reference to `_imp__gettext' /usr/src/enlightenment-0.16.5/src/memory.c:194: undefined reference to `_imp__gettext' /usr/src/enlightenment-0.16.5/src/memory.c:194: undefined reference to `_imp__gettext' /usr/src/enlightenment-0.16.5/src/memory.c:195: undefined reference to `_imp__gettext' /usr/src/enlightenment-0.16.5/src/memory.c:196: undefined reference to `_imp__gettext' memory.o:/usr/src/enlightenment-0.16.5/src/memory.c:208: more undefined references to `_imp__gettext' follow these functions I think are supposed to be in libintl. I have tried adding #include <libintl.h>. All it does is removing the _imp__ in the error messages. The gcc command line has -L/lib and /lib contains libintl.a libintl.dll.a, libcurses.a and libcurses.dll.a What's wrong ?? J-D -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |