Re: [ng-spice-devel] Rework14 - Prerelease1
mcmahill@mtl.mit.edu wrote:
> Hi Paolo,
>
> A couple of bugs.
>
> the following are missing from the tar file: spinit setplot spectrum
>
> also I think the new CALLOC is wrong:
>
> --- src/maths/sparse/spdefs.h.orig Wed Feb 7 09:34:39 2001
> +++ src/maths/sparse/spdefs.h Wed Feb 7 15:58:55 2001
> @@ -260,5 +260,5 @@
> #ifndef HAVE_LIBGC
> #define CALLOC(ptr,type,number) \
> -{ ptr = (type *) calloc(type, number); \
> +{ ptr = (type *) calloc( number , sizeof(type) ); \
> }
> #else /* HAVE_LIBCG */
>
> other than that, it builds under NetBSD. Haven't done any more testing
> that to verify that it doens't crash when started (yet).
With Dan's patch it compiles on redhat 7.0 too!
'make check' crashes on the res_partition.cir test.
manu
Partial thread listing:
- Re: [ng-spice-devel] Rework14 - Prerelease1, (continued)