RE: [ng-spice-devel] Compilation problem
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: