Re: [ng-spice] [ng-spice-devel] Pre3 is out (fwd)
Hi,
HAVE_TERMCAP seems to get defined even if you don't have it, so when I
tried your suggestion below it still fails because it tries to find
termcap.h. Modified the conficure script so that it doesn't define
HAVE_TERMCAP and the make continues on until it gets;
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include
-I/usr/X11R6.4/include -g -O2 -Wall -c aspice.c
aspice.c: In function `ft_checkkids':
aspice.c:202: warning: passing arg 1 of `wait' from incompatible pointer
type
aspice.c: At top level:
aspice.c:182: storage size of `status' isn't known
gmake[4]: *** [aspice.o] Error 1
gmake[4]: Leaving directory `/tmp/ng-spice-rework-14pre3/src/frontend'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/tmp/ng-spice-rework-14pre3/src/frontend'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/tmp/ng-spice-rework-14pre3/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/ng-spice-rework-14pre3'
gmake: *** [all-recursive-am] Error 2
"p.nenzi@ieee.org" wrote:
>
> 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
--
Robert Lindsell, Senior Hardware Engineer
Canon Information Systems Research Australia
PO Box 313 NORTH RYDE NSW 2113 mailto:robertl@research.canon.com.au
Fax: +61-2-9805-2929 Phone: +61-2-9805-2876
Partial thread listing: