[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Linker barfs
Dear Sage members
I am attempting to compile a c program which calls the getch()
function which is defined in the /usr/include/curses.h file as
extern int wgetch(WINDOW *)
When I attempt to make the executable the linker barfs with the
following error message:
Undefined first referenced
symbol in file
wgetch myprog.o
stdscr myprog.o
ld: fatal: Symbol referencing errors. No output written
*** Error code 1
But the function "wgetch" is no where to be found in the header
files in /usr/include !!!
What did I do wrong ?????
joe kane
kanejm@netheaven.com