*BSD News Article 30726


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!munnari.oz.au!ihnp4.ucsd.edu!agate!howland.reston.ans.net!pipex!uknet!comlab.ox.ac.uk!olis.lib.ox.ac.uk!JOSE
From: JOSE@olis.lib.ox.ac.uk
Subject: Re: [?] Problems compiling curses program!!
Message-ID: <16FB9C4E2S85.JOSE@olis.lib.ox.ac.uk>
Organization: Libraries Automation Service
References: <2qr12u$6e8@news.tamu.edu> <2qsfk6$19o@rigel.infinet.com>
Date: Tue, 17 May 94 14:00:00 BST
Lines: 22

In article <2qsfk6$19o@rigel.infinet.com>
mfoley@infinet.com (Mark Foley) writes:
 
>
>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>
 
The defines A_REVERSE, A_BOLD etc. are NOT in curses.h, or at least they
aren't in the curses.h that comes with FreeBSD 1.1 Gamma.