problem with Curses on Sun

Thomas Wong twong at civil.ubc.ca
Wed Sep 19 07:44:58 AEST 1990


Hello. I am having a strange problem with Curses on our Sun.
(SunOS 4.0.3) I have a simple program that uses Curses and
uses it's routine beep(). So I have "#include <curses.h>"
in my source code, and for cc, I used:
cc -O main.c -o main -lcurses -ltermcap
simple enough.
But it comes back with:
ld: Undefined symbol 
   _beep 
I couldn't figure out why it can't find beep(). Any suggestions?
Thanks in advance.


Thomas.

--
    /*----------------------------------------------------------------------*/
   /*   Thomas Y. K. Wong     INTERNET:   thomas_wong at civil.ubc.ca         */
  /*   Civil Eng., U.B.C     BITNET:   thomas_wong%civil.ubc.ca at ubcmtsg   */
 /*   Van, B.C., Canada    UUCP:   ...!van-bc!civil.ubc.ca!thomas_wong   */
/*----------------------------------------------------------------------*/



More information about the Comp.unix.questions mailing list