1.0.1 compile problem on PPC linux

From: nferrier@tapsellferrier.co.uk
Date: Wed May 08 2002 - 08:41:44 EDT

  • Next message: Hubert Figuiere: "Re: 1.0.1 compile problem on PPC linux"

    The make crashes here:

    ap_Toolbar_LabelSet.o(.text+0x58): undefined reference to `operator new(unsigned)'
    ap_Toolbar_LabelSet.o(.text+0x58): relocation truncated to fit: R_PPC_REL24 operator new(unsigned)
    ap_Toolbar_LabelSet.o(.text+0x1e08): undefined reference to `operator delete(void*)'
    ap_Toolbar_LabelSet.o(.text+0x1e08): relocation truncated to fit: R_PPC_REL24 operator delete(void*)
    ap_Toolbar_LabelSet.o(.text+0x1e14): undefined reference to `_Unwind_Resume'
    ap_Toolbar_LabelSet.o(.text+0x1e14): relocation truncated to fit: R_PPC_REL24 _Unwind_Resume
    /usr/local/src/abiword-1.0.1/abi/src/Linux_2.4.18-ben0_ppc_OBJ/obj/libAbiWPAp.a(ap_Toolbar_LabelSet.o)(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
    collect2: ld returned 1 exit status

    The reference to Linux_2.4.18-ben0_ppc_OBJ is a reference to my kernel
    I guess.

    A separate issue:
    Carrying on from my report of the autoconf problem it seems that the
    default make setup does not seek libraries in:


    This is where "out of the box" builds of latest GCC put the C++ (and
    java) libs.

    The problem can be easily fixed by doing this before a build:

       export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

    however, I think it would be good if abi dealt with it up front.

    I'm sorry I didn't test these things before, I didn't really have
    time. If you like you can put me down as a tester for PPC linux (I
    don't know how common that is on your user base).


    To unsubscribe from this list, send a message to
    abiword-user-request@abisource.com with the word
    unsubscribe in the message body.

    This archive was generated by hypermail 2.1.4 : Wed May 08 2002 - 08:42:57 EDT