Re: [ng-spice] New commit
On Tue, 3 Aug 1999, Manu Rouat wrote:
>
>
> Hi
> I did a new commit - many changes! The solaris compile problem
> should be handled now (I hope)
Do you allow for anonymous cvs checkouts? I hate to post fixes to old
versions...
While trying to compile ng-spice-0.0 on HP-UX, I got this from configure:
checking for main in -lXmu... yes
checking for main in -lncurses... no
checking for main in -ltermcap... yes
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)))
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.
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?)
Steve
--
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill. W:919-962-1845
Partial thread listing:
- Re: [ng-spice] New commit, (continued)