From: Maurice L. <mj...@ga...> - 2003-02-04 03:56:32
|
Alan W. Irwin writes: > On Mon, 3 Feb 2003, Don Spong wrote: > > [...] > > 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. Uh.. -lm ? Don't forget we have a record of all the flags used in the previous config system down in cf/. So: $ grep lm cf/lib_sh_aix.in $(SHLIB_LIBS) -lc -lm 2>ld.out $(SHLIB_LIBS) -lc -lm 2>ld.out $(SHLIB_LIBS) -lc -lm 2>ld.out -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |