This is the mail archive of the cygwin@cygwin.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]

ncurses


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


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