Am 07.04.2013 16:46, schrieb Ken Brown: >> ~/Curses-1.28 $ export CURSES_LDFLAGS="-L/usr/lib/ncurses -lncurses" >> ~/Curses-1.28 $ export CURSES_CFLAGS="-I/usr/include/ncurses" > > ...you need -L/usr/lib/ncursesw and -I/usr/include/ncursesw. > > Ken
I tried it even with that compiler options. Today i tried to compile the test.c file from the Curses Package: ~/Curses-1.28 $ gcc-4 -I/usr/include/ncursesw -L/usr/lib/ncursesw -lncursesw -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -o testsym testsym.c /tmp/ccp3WxB0.o: In function `main': /home/axnrl/Curses-1.28/testsym.c:5: undefined reference to `_initscr' /home/axnrl/Curses-1.28/testsym.c:6: undefined reference to `_ncwrap_stdscr' /home/axnrl/Curses-1.28/testsym.c:6: undefined reference to `_getcury' /home/axnrl/Curses-1.28/testsym.c:6: undefined reference to `_ncwrap_stdscr' /home/axnrl/Curses-1.28/testsym.c:6: undefined reference to `_getcurx' collect2: ld returned 1 exit status This looks like a linker error, which could not find the symbols for the functions. Here's the test.c: ===8<=== #include <ncurses.h> main() { int x,y; initscr(); getyx(stdscr,y,x); } ===>8=== So i suppose that something went wrong while compiling the ncurses binary for cygwin. Should i run "rebaseAll" on the ncurses library? Regards, David -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple