when keywording app-text/openjade-1.3.2-r1 with ppc-macos it compiles fine. It has no use flags Reproducible: Always Steps to Reproduce: 1. 2. 3.
Fabian, whats your `emerge info` ? I get lots of c++ errors and undefined symbols when using Xcode 2.1 on 10.4.2
weird... My setup is pretty standard... had no time to tweak it yet # emerge info !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.51.19 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power Macintosh) ================================================================= System uname: 8.2.0 Power Macintosh powerpc macos-20041118 Python: [2.3.5 (#1, Mar 20 2005, 20:38:20)] distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos" AUTOCLEAN="yes" CFLAGS="-O3 -pipe" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sfperms strict userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://portage.orakel.ods.org/gentoo-portage" USE="ppc emboss libwww nls png ppc-macos readline tetex xml userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Ok, it looks like my problem is in OpenSP... lots of undefined symbols there and openjade links against it...I'll dig around some more....
I have exactly the same problem with undefined symbols in OpenSP. I was hoping to look into it this weekend, but it's just not going to happen. :-(
Finally I ran into compilation issues myself here too. It looks like the problem described here: http://www.pixelglow.com/lists/archive/macstl-dev/2005-February/000015.html
I can't get it to work either, even manually running configure and passing "-undefined dynamic_lookup" to the linker, which has helped me in the past. I don't think libtool is handling these arguments appropriately. Is this the same error everyone is getting? /bin/sh /var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2/libtool --mode=link /usr/local/bin/gcc -no-undefined -o libogrove.la Node.lo LocNode.lo \ -rpath /usr/lib -version-info 0:1:0 -lm /var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2/libtool: line 1: test: too many arguments /usr/local/bin/gcc -dynamiclib -o .libs/libogrove.0.0.1.dylib .libs/Node.o .libs/LocNode.o -lm -lc -install_name /usr/lib/libogrove.0.dylib ld: Undefined symbols: __ZTVN10__cxxabiv117__class_type_infoE __ZTVN10__cxxabiv120__si_class_type_infoE __ZdlPv __Znwm ___cxa_pure_virtual ___gxx_personality_v0 /usr/bin/libtool: internal link edit command failed make[2]: *** [libogrove.la] Error 1 make[1]: *** [grove] Error 2 make: *** [all] Error 2
I have these errors: In file included from stylelib.h:6, from InterpreterMessages.cxx:7: ./../include/config.h:39:1: warning: "SP_DEFINE_TEMPLATES" redefined In file included from ./../include/config.h:10, from stylelib.h:6, from InterpreterMessages.cxx:7: /usr/include/OpenSP/config.h:301:1: warning: this is the location of the previous definition /usr/include/OpenSP/Ptr.h:17: error: template with C linkage /usr/include/OpenSP/Ptr.h:53: error: template with C linkage /usr/include/OpenSP/Vector.h:19: error: template with C linkage /usr/include/OpenSP/Owner.h:16: error: template with C linkage /usr/include/OpenSP/StringOf.h:23: error: template with C linkage /usr/include/OpenSP/CopyOwner.h:14: error: template with C linkage make[2]: *** [InterpreterMessages.lo] Error 1 rm InterpreterMessages.cxx make[1]: *** [style] Error 2 make: *** [all] Error 2
i (on x86_64) got: mv -f FlowObj.o .libs/FlowObj.lo x86_64-pc-linux-gnu-g++ -march=nocona -O2 -pipe -I. -I./../include -I/usr/include/OpenSP -I/usr/include/OpenSP/.. -I./../grove -I./../spgrove -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=8 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/etc/sgml/catalog\" -DSGML_SEARCH_PATH_DEFAULT=\"/usr/share/sgml\" -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/sgml/openjade-1.3.2/builtins.dsl\" -c FlowObj.cxx >/dev/null 2>&1 make[2]: *** [FlowObj.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f primitive.o .libs/primitive.lo x86_64-pc-linux-gnu-g++ -march=nocona -O2 -pipe -I. -I./../include -I/usr/include/OpenSP -I/usr/include/OpenSP/.. -I./../grove -I./../spgrove -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=8 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/etc/sgml/catalog\" -DSGML_SEARCH_PATH_DEFAULT=\"/usr/share/sgml\" -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/sgml/openjade-1.3.2/builtins.dsl\" -c primitive.cxx >/dev/null 2>&1 mv -f .libs/primitive.lo primitive.lo rm InterpreterMessages.cxx make[2]: Leaving directory `/var/tmp/portage/app-text/openjade-1.3.2-r1/work/openjade-1.3.2/style' make[1]: *** [style] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-text/openjade-1.3.2-r1/work/openjade-1.3.2' make: *** [all] Error 2
Helmut, please report that in a new bug, this is an OSX related bug.
it clearly does /not/ work.
Created attachment 188312 [details, diff] A patch for openjade to link correctly over OpenSP