Subject: Re: Ncurses prob
From: Paul-Kenji Cahier <[email-masked]>
To: [email-masked]
Date: Sat, 10 Jan 2004 05:19:14 +0100

hello again,

new question now, since every lib compiled well i went to the main
program and it cant find the new lib i just compiled, so i was
wondering what is it looking for when one does -lnameofthelib
cuz on my linux box everything goes fine, and i've checked the include
which are exactly the same

<05:11:07> DeathWolf@lafiel:/home/calendar/src$ make
gcc -g -Wall -ansi -pedantic -Wwrite-strings -Wshadow -Waggregate-return -I. -I/home/calendar/include -I/usr/local/include/ncurses -I/usr/local/include -L/usr/local/lib parser.o main.o cal.o   -L/home/calendar/lib -lncurses -loncurses -loxhtml -lotxt -lcal -ldate -o ../main
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -loncurses
collect2: ld returned 1 exit status
make: *** [all] Error 1

<05:14:57> DeathWolf@lafiel:/home/calendar/lib$ ll
total 210
drwxrwxrwx+   9 DeathWol None            0 Jan 10 05:08 .
drwxrwxrwx+   8 DeathWol None            0 Jan 10 05:14 ..
drwxrwxrwx+   2 DeathWol None            0 Jan 10 04:12 CVS
-rw-rw-rw-    1 DeathWol None          221 Nov 26 11:39 Makefile
drwxrwxrwx+   3 DeathWol None            0 Jan 10 04:48 libcal
-rwxrwxrwx    1 DeathWol None        41038 Jan 10 05:04 libcal.so
drwxrwxrwx+   3 DeathWol None            0 Jan 10 04:48 libdate
-rwxrwxrwx    1 DeathWol None        29857 Jan 10 05:04 libdate.so
drwxrwxrwx+   3 DeathWol None            0 Jan 10 04:48 libdebug
-rwxrwxrwx    1 DeathWol None        26422 Jan 10 05:04 libdebug.so
drwxrwxrwx+   3 DeathWol None            0 Jan 10 05:01 liboncurses
-rwxrwxrwx    1 DeathWol None        49859 Jan 10 05:04 liboncurses.so
drwxrwxrwx+   3 DeathWol None            0 Jan 10 05:03 libotxt
-rwxrwxrwx    1 DeathWol None        31712 Jan 10 05:04 libotxt.so
drwxrwxrwx+   3 DeathWol None            0 Jan 10 05:00 liboxhtml
-rwxrwxrwx    1 DeathWol None        32088 Jan 10 05:04 liboxhtml.so

<05:15:45> DeathWolf@lafiel:/home/calendar/include$ ll
total 23
drwxrwxrwx+   3 DeathWol None            0 Jan 10 04:48 .
drwxrwxrwx+   8 DeathWol None            0 Jan 10 05:14 ..
drwxrwxrwx+   2 DeathWol None            0 Jan 10 04:12 CVS
-rw-rw-rw-    1 DeathWol None         3570 Jan 10 05:14 cal.h
-rw-rw-rw-    1 DeathWol None         2744 Jan 10 05:04 libcal.h
-rw-rw-rw-    1 DeathWol None         1909 Jan 10 05:04 libdate.h
-rw-rw-rw-    1 DeathWol None         1946 Jan 10 05:04 libdebug.h
-rw-rw-rw-    1 DeathWol None          608 Jan 10 05:04 liboncurses.h
-rw-rw-rw-    1 DeathWol None          114 Jan 10 05:04 libotxt.h
-rw-rw-rw-    1 DeathWol None          102 Jan 10 05:04 liboxhtml.h
-rw-rw-rw-    1 DeathWol None         2567 Jan 10 05:14 parser.h
-rw-rw-rw-    1 DeathWol None         5998 Jan 10 05:14 queue.h

Most libs were compiled this way:

gcc -g -Wall -ansi -pedantic -Wwrite-strings -Wshadow -Waggregate-return -I. -I/home/calendar/include -I. -I/usr/include -I/usr/include/ncurses -I/usr/local/include -c output.c         -o ../liboxhtml.so
gcc -g -shared -o ../liboxhtml.so.dll -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive ../liboxhtml.so -Wl,--no-whole-archive -L/home/calendar/lib -L/usr/lib -lintl -lncurses
cp liboxhtml.h /home/calendar/include
cp ../liboxhtml.so.dll ../liboxhtml.so (i added this line later to
check it wasnt a prob with filenames but it wasnt)

Thanks for the help,

Paul-Kenji Cahier
> Hello all,

> i know it might be my fault but i'm trying to compile a prog with
> ncurses under cygwin and here is what i gets:
> (it compiles well, exept at link time)

> make[2]: Entering directory
> `/cygdrive/d/Data/calendar/lib/liboncurses'
> gcc -g -Wall -ansi -pedantic -Wwrite-strings -Wshadow
> -Waggregate-return -I. -I/cygdrive/d/Data/calendar/include
> -I/usr/include/ncurses -I/usr/local/include -L/usr/local/lib 
> -shared -fPIC output.c      -o ../liboncurses.so
> cc1: warning: -fPIC ignored for target (all code is position independent)
> output.c: In function `display_year':
> output.c:224: warning: comparison between pointer and integer
> output.c: In function `fill_win_month':
> output.c:336: warning: unused variable `opts'
> output.c: In function `fill_win_events':
> output.c:469: warning: implicit declaration of function `snprintf'
> output.c: In function `display_month':
> output.c:545: warning: unused variable `y'
> output.c: At top level:
> output.c:706: warning: `_cleanup' defined but not used
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x116): In function `ncurses_display':
> /cygdrive/d/Data/calendar/lib/liboncurses/output.c:123: undefined reference to `_libintl_gettext'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x173): In function `month_box_color':
> /cygdrive/d/Data/calendar/lib/liboncurses/output.c:133: undefined reference to `_wattr_on'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1be):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:134:
> undefined reference to `_wborder'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1dc):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:135:
> undefined reference to `_wattr_off'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x20f): In function `display_year':
> /cygdrive/d/Data/calendar/lib/liboncurses/output.c:153: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x22b):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:156: undefined reference to `_COLS'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x234):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:156: undefined reference to `_LINES'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x23c):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:156: undefined reference to `_newwin'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x252):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:157:
> undefined reference to `_scrollok'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x258):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:160: undefined reference to `_COLS'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x280):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:161: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x288):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:161:
> undefined reference to `_wattr_on'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x2b4):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:162:
> undefined reference to `_mvwprintw'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x2c9):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:163: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x2d1):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:163:
> undefined reference to `_wattr_off'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x30e):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:174: undefined reference to `_COLS'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x346):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:179: undefined reference to `_newwin'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x432):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:199:
> undefined reference to `_wborder'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x466):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:201:
> undefined reference to `_libintl_gettext'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x493):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:201:
> undefined reference to `_mvwprintw'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x4cb):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:208: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x4d3):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:208:
> undefined reference to `_wrefresh'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x5dd):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:230:
> undefined reference to `_wredrawln'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x603):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:231:
> undefined reference to `_wredrawln'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x6bf):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:256: undefined reference to `_delwin'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x6e9):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:258:
> undefined reference to `_wredrawln'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x745):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:286:
> undefined reference to `_wnoutrefresh'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x767):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:288:
> undefined reference to `_wnoutrefresh'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x773):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:289:
> undefined reference to `_doupdate'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x778):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:291: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x780):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:291: undefined reference to `_wgetch'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x7ab):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:295: undefined reference to `_delwin'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x7bd):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:296: undefined reference to `_delwin'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x7c2):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:297: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x7ca):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:297:
> undefined reference to `_wrefresh'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x82b): In function `fill_win_month':
> /cygdrive/d/Data/calendar/lib/liboncurses/output.c:321: undefined reference to `_libintl_gettext'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x873):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:322:
> undefined reference to `_mvwprintw'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x964):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:348:
> undefined reference to `_wattr_on'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x9ad):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:353:
> undefined reference to `_wattr_on'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x9f6):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:361:
> undefined reference to `_wattr_on'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xa3c):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:369:
> undefined reference to `_wattr_on'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xaca):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:388:
> undefined reference to `_mvwprintw'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xaf7):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:392:
> undefined reference to `_mvwprintw'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xb3d):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:394:
> undefined reference to `_mvwprintw'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xb63):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:399:
> undefined reference to `_wattr_off'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xb7e):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:400:
> undefined reference to `_wattr_off'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xb99):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:401:
> undefined reference to `_wattr_off'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xbb4):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:402:
> undefined reference to `_wattr_off'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xcbf): In function `redraw_win_events':
> /cygdrive/d/Data/calendar/lib/liboncurses/output.c:424: undefined reference to `_wattr_on'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xcdc):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:425:
> undefined reference to `_wattr_on'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xcf9):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:426:
> undefined reference to `_wattr_on'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xd16):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:427:
> undefined reference to `_wattr_on'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xd4d):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:431:
> undefined reference to `_mvwprintw'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xd68):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:433:
> undefined reference to `_wattr_off'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xd83):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:434:
> undefined reference to `_wattr_off'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xd9e):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:435:
> undefined reference to `_wattr_off'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xdb9):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:436:
> undefined reference to `_wattr_off'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xdf4):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:440:
> undefined reference to `_mvwprintw'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xe46):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:442:
> undefined reference to `_wborder'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xf7b): In function `fill_win_events':
> /cygdrive/d/Data/calendar/lib/liboncurses/output.c:469: undefined reference to `_libintl_gettext'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0xfe4):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:475:
> undefined reference to `_libintl_gettext'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x104d):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:481:
> undefined reference to `_libintl_gettext'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x115d):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:517:
> undefined reference to `_libintl_gettext'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x11cf):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:526:
> undefined reference to `_libintl_gettext'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1241): In function `display_month':
> /cygdrive/d/Data/calendar/lib/liboncurses/output.c:551: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x125d):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:554: undefined reference to `_COLS'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1266):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:554: undefined reference to `_LINES'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x126e):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:554: undefined reference to `_newwin'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1287):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:559: undefined reference to `_COLS'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x12b6):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:559: undefined reference to `_newwin'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1304):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:560:
> undefined reference to `_wborder'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1309):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:563: undefined reference to `_LINES'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1324):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:564: undefined reference to `_COLS'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1333):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:564: undefined reference to `_newwin'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x134a):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:568:
> undefined reference to `_libintl_gettext'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1359):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:568: undefined reference to `_COLS'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1375):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:569: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x137d):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:569:
> undefined reference to `_wattr_on'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1391):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:570:
> undefined reference to `_libintl_gettext'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x13af):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:570:
> undefined reference to `_mvwprintw'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x13c4):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:571: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x13cc):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:571:
> undefined reference to `_wattr_off'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x145e):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:580:
> undefined reference to `_wborder'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1463):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:582: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x146b):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:582:
> undefined reference to `_wrefresh'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1667):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:643:
> undefined reference to `_wrefresh'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1672):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:644:
> undefined reference to `_wrefresh'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x167d):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:645:
> undefined reference to `_wrefresh'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1682):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:584: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x168a):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:584: undefined reference to `_wgetch'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x16b8):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:652: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x16c0):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:652:
> undefined reference to `_wrefresh'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x174c): In function `destroy_win':
> /cygdrive/d/Data/calendar/lib/liboncurses/output.c:671: undefined reference to `_wborder'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1757):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:672:
> undefined reference to `_wrefresh'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1762):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:673: undefined reference to `_delwin'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x17ed): In function `ncurses_init':
> /cygdrive/d/Data/calendar/lib/liboncurses/output.c:681: undefined reference to `_initscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x17f2):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:682: undefined reference to `_cbreak'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x17ff):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:683: undefined reference to `_stdscr'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1807):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:683: undefined reference to `_keypad'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x180c):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:684: undefined reference to `_noecho'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1811):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:686:
> undefined reference to `_has_colors'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x181a):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:687: undefined reference to `_endwin'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1826):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:688:
> undefined reference to `_libintl_gettext'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1848):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:689:
> undefined reference to `_libintl_gettext'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x186f):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:695:
> undefined reference to `_start_color'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x188b):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:697:
> undefined reference to `_init_pair'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x18a7):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:698:
> undefined reference to `_init_pair'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x18c3):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:699:
> undefined reference to `_init_pair'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x18df):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:700:
> undefined reference to `_init_pair'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x18fb):/cygdrive/d/Data/calendar/lib/liboncurses/output.c:701:
> undefined reference to `_init_pair'
> /cygdrive/c/DOCUME~1/DEATHW~1/LOCALS~1/Temp/ccAc2Nj8.o(.text+0x1919): In function `ncurses_cleanup':
> /cygdrive/d/Data/calendar/lib/liboncurses/output.c:712: undefined reference to `_endwin'
> collect2: ld returned 1 exit status
> make[2]: *** [all] Error 1

> anyone knows what's going on?

> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/