This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linking with the file curses.h


Stephen <stephen84s@gmail.com> writes:

> I am using the following functions in my C program
> wgetch(stdscr), etc which are supposed to be declared in curses.h file.
> I have #included the curses.h file in my program but still the following
> error pops up during Linking (not during compiling as I tried to compile the
> program as gcc -c <filename.c> and it was a success).
> 
> 
> 
> The gcc I use has come with the Red Hat Fedora Core3 OS.
> 
> Someone Please help me solve this problem as the dead line for my project is
> 20 May 2005.Please Help!!! 

This is almost certainly a question about C, not about gcc.  You
omitted the error message.  You omitted the exact command line that
you used.  You omitted a complete testcase.  I'm going to take a wild
guess and say that you may have also omitted -lcurses from your link
line.

Ian


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