*BSD News Article 30372


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!usenet.ins.cwru.edu!ns.mcs.kent.edu!kira.cc.uakron.edu!malgudi.oar.net!infinet!mfoley
From: mfoley@infinet.com (Mark Foley)
Newsgroups: comp.os.386bsd.development
Subject: Re: [?] Problems compiling curses program!!
Date: 12 May 1994 05:42:30 GMT
Organization: InfiNet - Internet Access (614/224-3410)
Lines: 14
Message-ID: <2qsfk6$19o@rigel.infinet.com>
References: <2qr12u$6e8@news.tamu.edu>
NNTP-Posting-Host: rigel.infinet.com
X-Newsreader: TIN [version 1.2 PL2]

Dan Hickman (hickman@prism.tamu.edu) wrote:
: I am having problems compiling a curses program.  It gives errors stating
: that
: 'A_REVERSE' undefined
: 'A_BOLD' undefined
: 'A_BLINK' undefined

: my compile command is:
: cc -o menu menu.c -lcurses -ltermcap

If you are including curses.h in your program, I can't imagine why you
would get these errors. They are #define's in this header. Do you have:

#include <curses.h>