RE: [ng-spice-devel] Compilation problem


To ng-spice-devel@ieee.ing.uniroma1.it
From Charles Cook <chuckc@aitfl.com>
Date Wed, 7 Feb 2001 14:21:29 -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
Reply-To ng-spice-devel@ieee.ing.uniroma1.it

You might want to check red hat.  I think they
have a fix out for gcc & some of the associated libs.
I am using 7 as a server, it is giving me problems.

Chuck

-----Original Message-----
From: Manu Rouat [mailto:emmanuel.rouat@wanadoo.fr]
Sent: Wednesday, February 07, 2001 7:51 PM
To: ng-spice
Subject: [ng-spice-devel] Compilation problem




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: