Which GNU tool contain asprintf.c


To ng-spice@ieee.ing.uniroma1.it
From Kim Sungbak <noise@hynix.com>
Date Fri, 26 Oct 2001 12:50:19 +0900
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
References <CF654D964573D311A1CA0090278A36FFA01C8B@EDIN_EXM1 >
Reply-To ng-spice@ieee.ing.uniroma1.it

I tried to install NG-SPICE on Sparc Solaris 7 with gcc-2.95.3.
At home page, instructions like "copy getopt.h getopt.c .. etc. to misc
directive" is performed. And getopt.* are found GNU tool as like
gettext, gmake. but asprintf.c is not found any GNU tools .
Which GNU tool contain asprintf.c ?

I worked with ng-spice-rework 12, ng-spice-rework13, ng-spice-14.x
I succeed "make" in each directive independently, but It always
has error messages like below on "ng-spice-rework/src" directive.
I always fail with "make" on "ng-spice-rework/src directive".

"
ld: warning: symbol `Spice_Version' has differing sizes:
        (file conf.o value=0x3; file ngspice.o value=0x1);
        conf.o definition taken
ld: warning: symbol `Spice_Notice' has differing sizes:
        (file conf.o value=0x41; file ngspice.o value=0x1);
        conf.o definition taken
ld: warning: symbol `Spice_Build_Date' has differing sizes:
        (file conf.o value=0x1d; file ngspice.o value=0x1);
        conf.o definition taken
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
make[3]: *** [ngspice] Error 1
make[3]: Leaving directory `/ng-spice-rework/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ng-spice-rework/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ng-spice-rework'
make: *** [all-recursive-am] Error 2    "

Have Error messages any interrelation with asprintf.c ?



Partial thread listing: