Andreas Hartmann wrote:
> Hello!
> 
> 
> I'm trying to compile OO on Linux (gcc 3.4.5, glibc 2.3.5, binutils
> 2.16.91.0.5 or 2.15.94.0.2), but I'm getting a strange error during
> linking of libuno_cppu.so.3. I never saw an error like this before :-).

I detected the following dependencies:

        gcc     binutils        works
        3.4.3   2.15.94.0.2     yes
        3.4.5   2.15.94.0.2     with warnings
        3.4.5   2.16.91.0.6     error
        3.4.3   2.16.91.0.6     error

Seems that binutils 2.16.91.0.[5+6] have a feature, which prevents stlport
and cppu to compile.

Kind regards,
Andreas Hartmann


> Making: ../unxlngi6.pro/lib/libuno_cppu.so.3
> g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN'
> "-Wl,-hlibuno_cppu.so.3" -shared -Wl,-O1 -Wl,--version-script
> ../unxlngi6.pro/misc/cppu_uno_cppu.map
> -L../unxlngi6.pro/lib -L../lib -L/opt/cd/OOB680_m5/solenv/unxlngi6/lib
> -L/opt/cd/OOB680_m5/solver/680/unxlngi6.pro/lib
> -L/opt/cd/OOB680_m5/solenv/unxlngi6/lib
> -L/usr/java/jdk1.5.0_06/lib -L/usr/java/jdk1.5.0_06/jre/lib/i386
> -L/usr/java/jdk1.5.0_06/jre/lib/i386/client
> -L/usr/java/jdk1.5.0_06/jre/lib/i386/native_threads -L/usr/X11R6/lib
> ../unxlngi6.pro/slo/uno_cppu_version.o
> ../unxlngi6.pro/slo/uno_cppu_description.o -o
> ../unxlngi6.pro/lib/libuno_cppu.so.3 ../unxlngi6.pro/slo/typelib.o
> ../unxlngi6.pro/slo/static_types.o ../unxlngi6.pro/slo/data.o
> ../unxlngi6.pro/slo/sequence.o ../unxlngi6.pro/slo/any.o
> ../unxlngi6.pro/slo/lbmap.o ../unxlngi6.pro/slo/lbenv.o
> ../unxlngi6.pro/slo/threadpool.o ../unxlngi6.pro/slo/jobqueue.o
> ../unxlngi6.pro/slo/thread.o ../unxlngi6.pro/slo/threadident.o
> ../unxlngi6.pro/slo/current.o
> ../unxlngi6.pro/slo/cppu_opt.o -luno_sal -ldl -lpthread -lm
> 
> `.L330' referenced in section `.rodata' of ../unxlngi6.pro/slo/sequence.o:
> defined in discarded section
> `.gnu.linkonce.t._ZN4cppu22icopyConstructSequenceEP13_sal_SequenceP33_typelib_TypeDescriptionReferencePFvPvEP12_uno_Mapping'
> of ../unxlngi6.pro/slo/sequence.o
> `.L486' referenced in section `.rodata' of ../unxlngi6.pro/slo/sequence.o:
> defined in discarded section
> `.gnu.linkonce.t._ZN4cppu22icopyConstructSequenceEP13_sal_SequenceP33_typelib_TypeDescriptionReferencePFvPvEP12_uno_Mapping'
> of ../unxlngi6.pro/slo/sequence.o
> `.L347' referenced in section `.rodata' of ../unxlngi6.pro/slo/sequence.o:
> defined in discarded section
> `.gnu.linkonce.t._ZN4cppu22icopyConstructSequenceEP13_sal_SequenceP33_typelib_TypeDescriptionReferencePFvPvEP12_uno_Mapping'
> of ../unxlngi6.pro/slo/sequence.o
> `.L413' referenced in section `.rodata' of ../unxlngi6.pro/slo/sequence.o:
> defined in discarded section
> `.gnu.linkonce.t._ZN4cppu22icopyConstructSequenceEP13_sal_SequenceP33_typelib_TypeDescriptionReferencePFvPvEP12_uno_Mapping'
> of ../unxlngi6.pro/slo/sequence.o
> `.L438' referenced in section `.rodata' of ../unxlngi6.pro/slo/sequence.o:
> defined in discarded section
> `.gnu.linkonce.t._ZN4cppu22icopyConstructSequenceEP13_sal_SequenceP33_typelib_TypeDescriptionReferencePFvPvEP12_uno_Mapping'
> of ../unxlngi6.pro/slo/sequence.o
> `.L376' referenced in section `.rodata' of ../unxlngi6.pro/slo/sequence.o:
> defined in discarded section
> `.gnu.linkonce.t._ZN4cppu22icopyConstructSequenceEP13_sal_SequenceP33_typelib_TypeDescriptionReferencePFvPvEP12_uno_Mapping'
> of ../unxlngi6.pro/slo/sequence.o
> `.L457' referenced in section `.rodata' of ../unxlngi6.pro/slo/sequence.o:
> defined in discarded section
> `.gnu.linkonce.t._ZN4cppu22icopyConstructSequenceEP13_sal_SequenceP33_typelib_TypeDescriptionReferencePFvPvEP12_uno_Mapping'
> of ../unxlngi6.pro/slo/sequence.o
> `.L521' referenced in section `.rodata' of ../unxlngi6.pro/slo/sequence.o:
> defined in discarded section
> `.gnu.linkonce.t._ZN4cppu25_copyConstructAnyFromDataEP8_uno_AnyPvP33_typelib_TypeDescriptionReferenceP24_typelib_TypeDescriptionPFvS2_EP12_uno_Mapping'
> of ../unxlngi6.pro/slo/sequence.o
> 
> ....
> 
> BTW:
> I got a similar error during linking of stlport, which I omitted with the
> configure option --without-stlport4. All of the configure options:
> ./configure --with-lang=de --with-ant-home=/usr/local/ant --with-java
> --enable-libart --disable-mozilla --without-stlport4
> 
> 
> Does anybody know, how to fix this problem?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to