On 05/07/2010 04:46 AM, Lionel Sacks wrote:
Hi,
Thanks. Solved the specific error I reported below.
However, there where quire a few other simulator errors - probably from
other similar sources which I had omitted for brevity... apologies for that.
The full output is attached.'

I am using gcc 3.6.4... is that not good? Are there, maybe, some options
I should apply?

The oldest compiler I'm using at the moment is 4.1.2. The INSTALL says the oldest compiler it was ever built with was 3.4.6 but that was a long time ago and the codebase has changed a lot since. I doubt there are options that will help, it looks to me like a compiler bug.

However if the same solution works (outlining some functions) then that's probably a reasonable change to make in the interests of wider compiler portability. If you want to fix the code to build on your compiler I can commit the changes. Create a JIRA at https://issues.apache.org/jira/secure/Dashboard.jspa, attach your patch (check yes to the legal disclaimer) and assign it to me.


On Thu, May 6, 2010 at 4:59 PM, Alan Conway <[email protected]
<mailto:[email protected]>> wrote:

    On 05/06/2010 08:37 AM, Lionel Sacks wrote:

        Hi,
        a, hopefully, quick question.
        First time trying to build the c++ qpidc-0.6
        Working on Ubuntu 8.4, fresh install of boost etc.

        Configure and Make proceed with out errors till:
        Must remake target `libqpidcommon.la <http://libqpidcommon.la>'.

        when I get a lot of errors like

        `.L2263' referenced in section `.rodata' of qpid/.libs/Url.o:
        defined in
        discarded section `.gnu.linkonce.t._ZN4qpid7AddressC1ERKS0_' of
        qpid/.libs/Url.o

        for various values of linkonce.t.xxx and then ld exit status 1.

        Has anyone any ideas where that may come from? Some incompatible
        tool or
        library?

        thanks for any clues.

        Lionel.


    The symbol it's complaining about is the copy constructor
    qpid::Address::Address(qpid::Address const&). I suspect the fact
    that Address has only inline functions is confusing your version of
    the compiler, I don't see anything wrong in the code itself.
      Out-lining those function might help, there's no good reason for
    them to be inline. Try the attached patch, if it solves your problem
    I'll commit it.





---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to