Re: 1.0.1 compile problem on PPC linux

From: F J Franklin (F.J.Franklin@sheffield.ac.uk)
Date: Wed May 08 2002 - 08:56:59 EDT

  • Next message: nferrier@tapsellferrier.co.uk: "Re: 1.0.1 compile problem on PPC linux"

    On 8 May 2002 nferrier@tapsellferrier.co.uk wrote:
    > 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

    This makes little sense to me. If you have multiple compilers and/or
    compiler versions installed then perhaps the build is picking up the wrong
    one.

    But really this has nothing to do with AbiWord.

    > A separate issue:
    > Carrying on from my report of the autoconf problem it seems that the
    > default make setup does not seek libraries in:
    >
    > /usr/local/lib
    >
    > This is where "out of the box" builds of latest GCC put the C++ (and
    > java) libs.

    But really, again, this has *nothing* to do with AbiWord.

    > The problem can be easily fixed by doing this before a build:
    > export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

    This is not what I would call a fix. I'm surprised it makes any difference
    at all.

    Regards, Frank

    Francis James Franklin
    F.J.Franklin@shef.ac.uk

    "No, she really likes me. She told me I look like Britney Spears, and why
    would you say that to somebody you don't like?"
                                                               --- Elle Woods

    -----------------------------------------------
    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:59:46 EDT