RE: [ng-spice] How can I install ng-spice-rework13 on Sparc Solaris 2.6
You're having the standard problems with trying to compile
on Solaris. A lot of these are fixed in rework14, which
is on the ftp site. I think that's accessible for everyone,
isn't it Paolo ?
> In line for test_cs_ph.c
> double eps = DBL_EPSILON; #error point
>
> I Changed to
>
> "double eps ; double DBL_EPSILON; eps=DBL_EPSILON; "
> In file /src/frontend/outitf.c
> I Added
> "double FLT_MAX; "
DBL_EPSILON and FLT_MAX are hardware specific macros.
You need to #include float.h. For some reason, this
header gets included by another header in Linux, but
not in Solaris.
> 4.
> ld: warning: file
> spicelib/devices/ccvs/.libs/libccvs.so: attempted
> multiple
> inclusion of file
> Undefined first
> referenced symbol in file
> asprintf spice.o getopt_long
> spice.o ld: fatal:
I think I solved that one by using the -liberty option.
That links in the libiberty.a library, which should
contain those symbols. The library comes with some of
the GNU tools, so the chances are you've got it on your
system somewhere.
Not sure about the multiple inclusion thing.
Cheers,
Alan
Partial thread listing: