From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7a010f4eab9f18f1 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-02-17 17:49:03 PST Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!news.duke.edu!news.mathworks.com!news.alpha.net!uwm.edu!spool.mu.edu!vinny.csd.mu.edu!not-for-mail From: stevax@vinny.csd.mu.edu (Peter L. Buschman) Newsgroups: comp.unix.osf.osf1 Subject: Problems Linking Curses under OSF/1 Date: 17 Feb 1995 06:58:26 GMT Organization: Vinny's Linux PC Message-ID: <3i1hei$jd2@spool.mu.edu> NNTP-Posting-Host: vinny.csd.mu.edu X-Newsreader: TIN [UNIX 1.3 941216BETA PL0] I'm sure this problem has an utterly simple fix, but I'm at a loss. I'm trying to program using the curses library. Under a VMS system, the following program compiles just fine, but on the OSF/1 system, I get linker errors. Can anyone help me with this? The program is: (minimal curses program) : #include : : main() : { : initscr(); : box(stdscr,'%','%'); : refresh(); : } And when compiling, the errors are: : ld: : Unresolved: : initscr : box : stdscr : wrefresh -- %% :. __________ _______ _________ %% 97buschmanp@alma.edu :::. | || | \ | || | || \ %% (|) |\/| /\ :::::. | ||_|_/ | || | ||--< %% :. .--. :::::::. _|__||_ _|__||___| _|__||__/ %% :::. `--.infonia! :::::::::. %%%%%%%:.`--' %%%%%%%%%%%% :::::::::::. Peter L. Buschman, Alma College :::::::. %% :::::::::::::. - Computer Science Major - :::::::::. %%