Re: [ng-spice] [ng-spice-devel] Pre3 is out (fwd)


To ng-spice@ieee.ing.uniroma1.it
From "p.nenzi@ieee.org" <pnenzi@ieee.ing.uniroma1.it>
Date Mon, 23 Apr 2001 21:06:17 +0200 (CEST)
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
In-Reply-To <3AE45DE7.3A786EE3@wanadoo.fr >
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice@ieee.ing.uniroma1.it



On Mon, 23 Apr 2001, Manu Rouat wrote:

> Robert Lindsell wrote:
> > 
> > Hi,
> > 
> > A bit of feedback for you.
> > 
> > I tried building this on Solaris 2.6 with the following results;
> > 
> > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include
> > -I/usr/X11R6.4/include     -g -O2 -Wall  -c terminal.c
> > terminal.c:27: termcap.h: No such file or directory
> > 
> > Solaris doesn't use termcap. Commented out this line from terminal.c
> > then continued make...
> 
> there is an #IFDEF HAVE_TERMCAP that isn't use dproperly in that file.

Robert,

Take the old terminal.c or readd the #include "term.h" and write:


#ifdef HAVE_TERMCAP
#include <termcap.h>
#endif

#include <ngspice.h>
#include <cpdefs.h>

#include "variable.h"
#ifndef HAVE_TERMCAP
#include "terminal.h"
#endif



or user the #ifdef - #else - #endif syntax.

Can you try this for me ?

Thnaks,
Paolo


Partial thread listing: