This is the mail archive of the gcc@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]

Re: About C/getch() errror


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


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