build failure of GiNaC-1.2.3 on Mac OS X with gcc 3.4.2
Hello, While trying to get a consistent build of all of the components needed for xloops, I had a build failure with GiNaC-1.2.3. The platform is Mac OS X 10.3.5 with gcc-3.4.2. The underlying cln is version 1.1.8. Previously, I had been able to successfully build GiNaC using gcc-3.3 (as distributed with Apple Xcode 1.5), but that precludes building nestedsums, which depends on features in gcc-3.4.x. The end of the build log is below. The multiply defined symbols are harmless on OS X. The failure is due to the undefined symbols. Any suggestion would be appreciated. Best Wishes, Greg Wright <snip> mkdir .libs g++-3.4.2 -O2 -Wall -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 /opt/local/lib/gcc-3.4.2/libstdc++.dylib /opt/local/lib/libgmp.dylib /usr/bin/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 /usr/bin/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 /usr/bin/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 /usr/bin/ld: Undefined symbols: GiNaC::class_info<GiNaC::registered_class_options>::parents_identified GiNaC::class_info<GiNaC::registered_class_options>::first GiNaC::class_info<GiNaC::print_context_options>::parents_identified GiNaC::class_info<GiNaC::print_context_options>::first collect2: ld returned 1 exit status make[2]: *** [ginsh] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
participants (1)
-
Gregory Wright