problem with Curses on Sun

Conor P. Cahill cpcahil at virtech.uucp
Wed Sep 19 23:50:45 AEST 1990


In article <24539 at adm.BRL.MIL> twong at civil.ubc.ca (Thomas Wong) writes:
>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?

Perhaps you compiled this in the BSD environment and the beep() isn't a
BSD supported function?  Try compiling it in the System V environment.



-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 



More information about the Comp.unix.questions mailing list