bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trace() help


From: John Bleichert
Subject: Re: trace() help
Date: Fri, 7 Jun 2002 10:08:29 -0400 (EDT)

On Fri, 7 Jun 2002, Thomas Dickey wrote:
> 
> On Fri, Jun 07, 2002 at 08:04:07AM -0400, John Bleichert wrote:
<snip>
> > > > I've downloaded and built ncurses so I could get libncurses_g.a and the 
> > > > trace() function, but my compiler always complains about an "undefined 
> > > > reference to `trace', even if I #define TRACE in the code. Are there 
> > > > any 
> > > 
> > > The configure script adds modules to the library if it detects TRACE 
> > > defined,
> > > so they will be built when the library is compiled.  You should be able to
> > > check this by using nm on libncurses_g.a, e.g.,
> 
> > Ah. Well, I set trace in my shell (bash) and reconfigured:
> > 
> > address@hidden ncurses-5.2]# set TRACE
> 
> export CPPFLAGS=-DTRACE
> 

DOH! Yep, that did it. Sorry if that should have been obvious (I'm an HDL 
guy). 

Thanks a lot for the help - it works like a charm!

JB

/* 
 * John Bleichert
 * address@hidden
 * http://vonbek.dhs.org/latest.jpg
 */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]