[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    Re: About C/getch() errror
From:       Alexandre Oliva <oliva () lsd ! ic ! unicamp ! br>
Date:       1999-09-30 19:58:43
[Download RAW message or body]

On Sep 30, 1999, JN_Lin@utc.com.tw wrote:

> wgetch                              /var/tmp/ccHPfBne.o
> stdscr                              /var/tmp/ccHPfBne.o
> ld: fatal: Symbol referencing errors. No output written to a.out

> #include <curses.h>

Ok, this will provide *declarations* for functions in the curses
library, but did you *link* your program with -lcurses?

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic