Compiling Ncurses source under cygwin.
I'm compiling like this:
gcc -lncurses -Wall -o rebane main.c
And it says that:
/cygdrive/c/DOCUME~1/LEHOPR~1/LOCALS~1/Temp/ccWaYTee.o(.text+0x57b):main.c: undefined reference to `_initscr'
etc.....
How to solve the problem?
Leho Pärnapuu
|