This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: About C/getch() errror
- To: JN_Lin at utc dot com dot tw
- Subject: Re: About C/getch() errror
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 30 Sep 1999 17:02:34 -0300
- Cc: gcc at gcc dot gnu dot org
- References: <482567FC.003450E5.00@utcoa01.utc.com.tw>
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