From: Alan W. I. <ir...@be...> - 2003-02-04 00:03:03
|
On Mon, 3 Feb 2003, Don Spong wrote: [...] > /bin/sh ../../libtool --mode=link gcc -g -O2 -o > libtclmatrix.la -rpath /home/spongda/plplot-5.2.0/lib -version-info > 7:0:2 -rpath /home/spongda/plplot-5.2.0/lib -no-undefined > -L/usr/local/lib -ltcl8.3 tclMatrix.lo matrixInit.lo > mkdir .libs > rm -fr .libs/libtclmatrix.la .libs/libtclmatrix.* .libs/libtclmatrix.* > (cd . && ln -s tclMatrix.lo tclMatrix.o) > (cd . && ln -s matrixInit.lo matrixInit.o) > generating symbol list for `libtclmatrix.la' > /bin/nm -B tclMatrix.o matrixInit.o | sed -n -e 's/^.*[ > ]\([BCDT][BCDT]*\)[ ][ > ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | sed 's/.* > //' | sort | uniq > .libs/libtclmatrix.exp > gcc -shared -o .libs/libtclmatrix.so.5 tclMatrix.o matrixInit.o > -L/usr/local/lib -ltcl8.3 -lc -Wl,-bnoentry > -Wl,-bexport:.libs/libtclmatrix.exp > ld: 0711-317 ERROR: Undefined symbol: acos > ld: 0711-317 ERROR: Undefined symbol: asin > ld: 0711-317 ERROR: Undefined symbol: atan > ld: 0711-317 ERROR: Undefined symbol: atan2 > ld: 0711-317 ERROR: Undefined symbol: ceil > ld: 0711-317 ERROR: Undefined symbol: cos > ld: 0711-317 ERROR: Undefined symbol: cosh > ld: 0711-317 ERROR: Undefined symbol: exp > ld: 0711-317 ERROR: Undefined symbol: floor > ld: 0711-317 ERROR: Undefined symbol: fmod > ld: 0711-317 ERROR: Undefined symbol: hypot > ld: 0711-317 ERROR: Undefined symbol: log > ld: 0711-317 ERROR: Undefined symbol: log10 > ld: 0711-317 ERROR: Undefined symbol: pow > ld: 0711-317 ERROR: Undefined symbol: sin > ld: 0711-317 ERROR: Undefined symbol: sinh > ld: 0711-317 ERROR: Undefined symbol: sqrt > ld: 0711-317 ERROR: Undefined symbol: tan > ld: 0711-317 ERROR: Undefined symbol: tanh > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. > collect2: ld returned 8 exit status > make: 1254-004 The error code from the last command is 1. Maurice, I believe you have had prior experience with AIX. There are no math calls in tclMatrix.c and matrixInit.c, but I am wondering if (many!) unresolved math symbols in -ltcl8.3 are causing the link problem. This may be related to our convoluted method of determining the tcl link line in sysloc.in. Perhaps better cross-platform support would be automatic if we use what Rafael was recommending (/usr/share/aclocal/tcl.m4) as a replacement? Meanwhile, Don, to move by this, I suggest you disable our tcl front-end. (--disable-tcl). Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |