Compilation problem


To ng-spice <ng-spice-devel@ieee.ing.uniroma1.it>
From Manu Rouat <emmanuel.rouat@wanadoo.fr>
Date Wed, 07 Feb 2001 19:50:42 -0500
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
Mailing-List contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm
Organization la Guilde
Reply-To ng-spice-devel@ieee.ing.uniroma1.it
Sender rouat



I can't compile the latest cvs version of ngspice.

It screws up on spalloc.c:

make[4]: Entering directory 
`/home/rouat/dev/ngspice/ng-spice-rework/src/maths/sparse'
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include    -g -O2 -Wall 
 -c spalloc.c
spalloc.c: In function `spCreate':
spalloc.c:212: parse error before `ElementPtr'
spalloc.c:217: parse error before `ElementPtr'
spalloc.c:222: parse error before `ElementPtr'
make[4]: *** [spalloc.o] Error 1


I'm looking at the files spalloc.c and spdefs.h (where CALLOC
is defined but I can't find where it goes wrong.

Note that I'm using Redhat7.0, and that there have been quite
a lot of problems with the version of gcc that they shipped.
Anyone else has this problem?

manu


Partial thread listing: