Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!adm!news From: twong@civil.ubc.ca (Thomas Wong) Newsgroups: comp.unix.questions Subject: problem with Curses on Sun Message-ID: <24539@adm.BRL.MIL> Date: 18 Sep 90 21:44:58 GMT Sender: news@adm.BRL.MIL Lines: 21 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 " 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@civil.ubc.ca */ /* Civil Eng., U.B.C BITNET: thomas_wong%civil.ubc.ca@ubcmtsg */ /* Van, B.C., Canada UUCP: ...!van-bc!civil.ubc.ca!thomas_wong */ /*----------------------------------------------------------------------*/