Re: [ng-spice] New commit


To ng-spice@ieee.ing.uniroma1.it
From Manu Rouat <emmanuel.rouat@wanadoo.fr>
Date Wed, 04 Aug 1999 08:31:22 +0200
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
Organization la Guilde
References <Pine.GHP.4.10.9908032201580.29182-100000@rukbat.cs.unc.edu >
Reply-To ng-spice@ieee.ing.uniroma1.it
Sender rouat@war.wanadoo.com

Stephen Tell wrote:
> 
> On Tue, 3 Aug 1999, Manu Rouat wrote:
> 
> >

> configure: error: Found neither ncurses or termcap
> 
> You might consider this patch to the relevant section of configure.in:
> 
> dnl Look for ncurses first, then termcap
> AC_CHECK_LIB(ncurses,main,LIBS="$LIBS -lncurses",
> AC_CHECK_LIB(termcap,main,LIBS="$LIBS -ltermcap",AC_ERROR(Found neither 
>ncurses or termcap)))

I did:

dnl Look for ncurses first, then termcap
AC_SEARCH_LIBS(tputs,ncurses termcap,AC_DEFINE(HAVE_TERMCAP),
               AC_MSG_ERROR(Found neither ncurses or termcap))

 
> since checks can nest... well, it worked for me anyway.  I'm still
> relatively new at autoconf/automake myself; one thing I've learned is that
> testing early on multiple systems helps a lot.
> 
> onwards:
> capabil.h and the vendor-supplied math.h disagree on "scalb"
> capabil.h:      extern double logb(double), scalb(double, int);
> vendor math.h has:      double scalb(double x, double n);
> 
> I saw the message about replacing capabil.h entirely, so this will
> probably get taken care of.

yes - this should be fixed now (I hope)

> 
> Down in ckt/acan.c, the compiler doesn't like the statement
>            "startTime  = SPfrontEnd->IFseconds();"
> acan.c:245: too few arguments to function
> 
> Somehow a "#define void int" is getting turned on, which makes the
> prototype for the IFseconds element of the IFfrontend structure wrong.
> I dunno - maybe just delete all of those #defines, and deal with the
> consequences.
> 
> (Are any of these at all helpful?)


Yes - i'll have a look at this ASAP
thanks


manu

Partial thread listing: