[CM] Re: Compiling FTH on OSX progress

Charles Turner vze26m98@optonline.net
Fri, 09 Mar 2007 11:24:13 -0500


I thought I'd inlcude the link erros I got when I built with:

./configure --without-gmp --with-readline-prefix=/sw


: -L/sw/lib ../src/array.o ../src/file.o ../src/hash.o ../src/hook.o
../src/io.o ../src/list.o ../src/misc.o ../src/numbers.o ../src/object.o
../src/port.o ../src/proc.o ../src/regexp.o ../src/string.o
../src/symbol.o ../src/utils.o ../ficl/dictionary.o ../ficl/extras.o
../ficl/fileaccess.o ../ficl/hash.o ../ficl/prefix.o
../ficl/primitives.o ../ficl/search.o ../ficl/stack.o ../ficl/system.o
../ficl/tools.o ../ficl/unix.o ../ficl/utility.o ../ficl/vm.o
../ficl/word.o `if test "Xalloca.o obstack.o regex.o" = "X"; then echo
""; else echo ../lib/*.o; fi` -o libfth.so -lintl -liconv -lc -lreadline
-lncurses -lm -lc 
rm -f libfth.a
ar cr libfth.a ../src/array.o ../src/file.o ../src/hash.o ../src/hook.o
../src/io.o ../src/list.o ../src/misc.o ../src/numbers.o ../src/object.o
../src/port.o ../src/proc.o ../src/regexp.o ../src/string.o
../src/symbol.o ../src/utils.o ../ficl/dictionary.o ../ficl/extras.o
../ficl/fileaccess.o ../ficl/hash.o ../ficl/prefix.o
../ficl/primitives.o ../ficl/search.o ../ficl/stack.o ../ficl/system.o
../ficl/tools.o ../ficl/unix.o ../ficl/utility.o ../ficl/vm.o
../ficl/word.o `if test "Xalloca.o obstack.o regex.o" = "X"; then echo
""; else echo ../lib/*.o; fi`
ranlib: file: libfth.a(alloca.o) has no symbols
ranlib libfth.a
ranlib: file: libfth.a(alloca.o) has no symbols
make fth-static
gcc -L/sw/lib -o fth-static fth.o libfth.a -lintl -liconv -lc -lreadline
-lncurses -lm -lc 
/usr/bin/ld: warning multiple definitions of symbol _xrealloc
libfth.a(utils.o) definition of _xrealloc in section (__TEXT,__text)
/sw/lib/libreadline.dylib(xmalloc.so) definition of _xrealloc
/usr/bin/ld: warning multiple definitions of symbol _xmalloc
libfth.a(utils.o) definition of _xmalloc in section (__TEXT,__text)
/sw/lib/libreadline.dylib(xmalloc.so) definition of _xmalloc
/usr/bin/ld: warning multiple definitions of symbol _xfree
libfth.a(utils.o) definition of _xfree in section (__TEXT,__text)
/sw/lib/libreadline.dylib(xmalloc.so) definition of _xfree
/usr/bin/ld: Undefined symbols:
_fth_make_ratio_from_float
_gmp_asprintf
_mpf_clear
_mpf_init_set_d
_mpf_integer_p
collect2: ld returned 1 exit status
make[2]: *** [fth-static] Error 1
make[1]: *** [fth] Error 2
make: *** [all] Error 2


<vze26m98@optonline.net>