Link Failure with 1.2.1 and Mac OS X 10.3.3

Gregory Wright gwright at comcast.net
Mon Apr 26 21:52:31 CEST 2004


Hi,

The latest still fails to link on Mac OS 10.3.3. Build log is below. 
Any suggestions?

Best Wishes,
Greg



if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../ginac -I../ginac -DIN_GINAC  
-I/opt/local/include -I/opt/local/include -I/opt/local/include  -g -O2 
-MT ginsh_lexer.o -MD -MP -MF ".deps/ginsh_lexer.Tpo" \
   -c -o ginsh_lexer.o `test -f 'ginsh_lexer.cc' || echo 
'./'`ginsh_lexer.cc; \
then mv -f ".deps/ginsh_lexer.Tpo" ".deps/ginsh_lexer.Po"; \
else rm -f ".deps/ginsh_lexer.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link g++  -g -O2  -L/opt/local/lib -o ginsh  
ginsh_parser.o ginsh_lexer.o ../ginac/libginac.la -lreadline -lncurses  
-L/opt/local/lib -lcln -lgmp
mkdir .libs
g++ -g -O2 -o .libs/ginsh ginsh_parser.o ginsh_lexer.o 
-Wl,-bind_at_load  -L/opt/local/lib ../ginac/.libs/libginac.dylib 
-lreadline -lncurses /opt/local/lib/libcln.dylib -lstdc++ 
/opt/local/lib/libgmp.dylib
ld: warning multiple definitions of symbol _PC
/opt/local/lib/libreadline.dylib(terminal.so) definition of _PC
/usr/lib/libncurses.dylib(lib_tputs.o) definition of _PC
ld: warning multiple definitions of symbol _BC
/opt/local/lib/libreadline.dylib(terminal.so) definition of _BC
/usr/lib/libncurses.dylib(lib_termcap.o) definition of _BC
ld: warning multiple definitions of symbol _UP
/opt/local/lib/libreadline.dylib(terminal.so) definition of _UP
/usr/lib/libncurses.dylib(lib_termcap.o) definition of _UP
ld: Undefined symbols:
__GLOBAL__I_cl_module__cl_C_ring__firstglobalfun
__GLOBAL__I_cl_module__cl_DF_globals__firstglobalfun
__GLOBAL__I_cl_module__cl_FF_globals__firstglobalfun
__GLOBAL__I_cl_module__cl_GV_I__firstglobalfun
__GLOBAL__I_cl_module__cl_GV_number__firstglobalfun
__GLOBAL__I_cl_module__cl_I_ring__firstglobalfun
__GLOBAL__I_cl_module__cl_LF_globals__firstglobalfun
__GLOBAL__I_cl_module__cl_MI__firstglobalfun
__GLOBAL__I_cl_module__cl_RA_ring__firstglobalfun
__GLOBAL__I_cl_module__cl_R_ring__firstglobalfun
__GLOBAL__I_cl_module__cl_SV_number__firstglobalfun
__GLOBAL__I_cl_module__cl_SV_ringelt__firstglobalfun
__GLOBAL__I_cl_module__cl_UP__firstglobalfun
__GLOBAL__I_cl_module__cl_UP_no_ring__firstglobalfun
__GLOBAL__I_cl_module__cl_ieee__firstglobalfun
__GLOBAL__I_cl_module__cl_no_ring__firstglobalfun
__GLOBAL__I_cl_module__cl_prin_globals__firstglobalfun
__GLOBAL__I_cl_module__cl_random_def__firstglobalfun
__GLOBAL__I_cl_module__cl_st_null__firstglobalfun
__GLOBAL__I_cl_module__cl_symbol__firstglobalfun
make[2]: *** [ginsh] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target com.apple.build returned: shell command "cd 
"/Users/gwright/src/darwinports/dports/math/GiNaC/work/GiNaC-1.2.1" && 
make all" returned error 2
Command output: ld: warning multiple definitions of symbol _BC
/opt/local/lib/libreadline.dylib(terminal.so) definition of _BC
/usr/lib/libncurses.dylib(lib_termcap.o) definition of _BC
ld: warning multiple definitions of symbol _UP
/opt/local/lib/libreadline.dylib(terminal.so) definition of _UP
/usr/lib/libncurses.dylib(lib_termcap.o) definition of _UP
ld: Undefined symbols:
__GLOBAL__I_cl_module__cl_C_ring__firstglobalfun
__GLOBAL__I_cl_module__cl_DF_globals__firstglobalfun
__GLOBAL__I_cl_module__cl_FF_globals__firstglobalfun
__GLOBAL__I_cl_module__cl_GV_I__firstglobalfun
__GLOBAL__I_cl_module__cl_GV_number__firstglobalfun
__GLOBAL__I_cl_module__cl_I_ring__firstglobalfun
__GLOBAL__I_cl_module__cl_LF_globals__firstglobalfun
__GLOBAL__I_cl_module__cl_MI__firstglobalfun
__GLOBAL__I_cl_module__cl_RA_ring__firstglobalfun
__GLOBAL__I_cl_module__cl_R_ring__firstglobalfun
__GLOBAL__I_cl_module__cl_SV_number__firstglobalfun
__GLOBAL__I_cl_module__cl_SV_ringelt__firstglobalfun
__GLOBAL__I_cl_module__cl_UP__firstglobalfun
__GLOBAL__I_cl_module__cl_UP_no_ring__firstglobalfun
__GLOBAL__I_cl_module__cl_ieee__firstglobalfun
__GLOBAL__I_cl_module__cl_no_ring__firstglobalfun
__GLOBAL__I_cl_module__cl_prin_globals__firstglobalfun
__GLOBAL__I_cl_module__cl_random_def__firstglobalfun
__GLOBAL__I_cl_module__cl_st_null__firstglobalfun
__GLOBAL__I_cl_module__cl_symbol__firstglobalfun
make[2]: *** [ginsh] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for GiNaC): 
com.apple.build
ranger>



More information about the GiNaC-devel mailing list