Using the following compile command, I got the following undefines below: cc -O -o bs bs.c -lcurses -ltermcap Undefined: _saveterm _cbreak _beep _resetterm Can someone (probably the original poster) help?