To | ng-spice@ieee.ing.uniroma1.it |
From | "=?euc-kr?b?sei8urna?="<noise@hynix.com> |
Date | Tue, 29 May 2001 18:03:18 +0900 |
Delivered-To | mailing list ng-spice@ieee.ing.uniroma1.it |
Mailing-List | contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm |
Reply-To | ng-spice@ieee.ing.uniroma1.it |
How can I install ng-spice-rework 13 on Sparc Solaris 2.6. I use gmake 3.79.1 and GCC 2.95.3.
%./configure --prefix=~/myhome --exec-prefix=~/myhome --with-gnu-ld
It's seems to be no error in "configure" but in "make"
%make
It has the following error messages. 1. Error message test_cx_ph.c: In function `main': test_cx_ph.c:23: `DBL_EPSILON' undeclared (first use in this function) test_cx_ph.c:23: (Each undeclared identifier is reported only once test_cx_ph.c:23: for each function it appears in.) make[4]: *** [test_cx_ph.o] Error 1 make[4]: Leaving directory `/user/asicdev/noise/cad/src/ng-spice-rework-13/src/maths/cmaths'
In line for test_cs_ph.c double eps = DBL_EPSILON; #error point
I Changed to
"double eps ; double DBL_EPSILON; eps=DBL_EPSILON; "
2.
outitf.c:1039: warning: subscript has type `char' make[4]: *** [outitf.o] Error 1 make[4]: Leaving directory `/user/asicdev/noise/cad/src/ng-spice-rework-13/src/frontend'
In file /src/frontend/outitf.c I Added "double FLT_MAX; "
3.
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/include -I../src/spicelib/devices -I/usr/openwin/include -g -O2 -Wall -DSIMULATOR -o spice.o -c ./main.c ./main.c:17: getopt.h: No such file or directory make[3]: *** [spice.o] Error 1 make[3]: Leaving directory `/user/asicdev/noise/cad/src/ng-spice-rework-13/src' make[2]: *** [all-recursive] Error 1 There is no "getopt.h", so I fetched it from another source, gmake-3.79.1.tar.gz.
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: Symbol referencing errors. No output written to .libs/ngspice collect2: ld returned 1 exit status
In last error messages, I can't solve "ld" problem,
P.S) I have no text-only-MTA-program. sorry... |