On Friday 18 November 2005 16:18, Petr Mladek wrote: > On Friday 18 November 2005 09:59, Stephan Bergmann wrote: > > Done (see my Nov-18-2005 thread on [email protected]). > > Petr, please check out the below changes and let me know if it indeed > > solves your problem with your GCC 4.1 version; I will take care to get > > those changes into the master then. > > Stephan, great work. Your fixes helped to compile the code with gcc-4.1. > The build has not finished yet. There are more problems with gcc-4.1. I can > continue and fix the other problems though. I hope that the other problems > will be less complicated that this one :-)
I was too fast. After I send this mail, I got into troubles with getCppuType again. It seems that getCppuType is defined for com::sun::star::beans::PropertyValue but not for com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>. Then the related symbol is not defined in content.o when libucbhelper3gcc3.so is linked. The build log is attached. It seems that there is a template in com/sun/star/uno/Sequence.hxx that could be used but it is not included from the problematic source file ucbhelper/source/client/content.cxx at all. I was able to link the library after I included Sequence.hxx at the beginning of content.cxx. IMPORTANT: First time, I tried to include Sequence.hxx later in content.cxx, after the line: #include <cppuhelper/implbase1.hxx> But it did not help. Linker still was not able to find the symbol. I do not know why. I am still a bit lost in the getCppuType definitions, so I am not sure what is the right fix. Could you please help me? -- Best Regards, Petr Mladek software developer --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: [EMAIL PROTECTED] Drahobejlova 27 tel:+420 296 542 373 190 00 Praha 9 fax:+420 296 542 374 Czech Republic http://www.suse.cz/
build -- version: 1.144 ============= Building project ucbhelper ============= /usr/src/packages/BUILD/ooo-build-src680.139.1/build/src680-m139/ucbhelper/unotypes ------------- /usr/src/packages/BUILD/ooo-build-src680.139.1/build/src680-m139/ucbhelper/source/client ------------- /usr/src/packages/BUILD/ooo-build-src680.139.1/build/src680-m139/ucbhelper/source/provider ------------- /usr/src/packages/BUILD/ooo-build-src680.139.1/build/src680-m139/ucbhelper/util ------------------------------ Making: ../unxlngi6.pro/lib/libucbhelper3gcc3.so g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN' -shared -L../unxlngi6.pro/lib -L../lib -L/usr/src/packages/BUILD/ooo-build-src680.139.1/build/src680-m139/solenv/unxlngi6/lib -L/usr/src/packages/BUILD/ooo-build-src680.139.1/build/src680-m139/solver/680/unxlngi6.pro/lib -L/usr/src/packages/BUILD/ooo-build-src680.139.1/build/src680-m139/solenv/unxlngi6/lib -L/usr/lib/jvm/java/lib -L/usr/lib/jvm/java/jre/lib/i386 -L/usr/lib/jvm/java/jre/lib/i386/client -L/usr/lib/jvm/java/jre/lib/i386/native_threads -L/usr/X11R6/lib -L/usr/lib/xulrunner-1.8 ../unxlngi6.pro/slo/ucbhelper3gcc3_version.o ../unxlngi6.pro/slo/ucbhelper3gcc3_description.o -o ../unxlngi6.pro/lib/libucbhelper3gcc3.so ../unxlngi6.pro/slo/content.o ../unxlngi6.pro/slo/contentbroker.o ../unxlngi6.pro/slo/commandenvironment.o ../unxlngi6.pro/slo/fileidentifierconverter.o ../unxlngi6.pro/slo/activedatasink.o ../unxlngi6.pro/slo/activedatastreamer.o ../unxlngi6.pro/slo/proxydecider.o ../unxlngi6.pro/slo/interceptedinteraction.o ../unxlngi6.pro/slo/configureucb.o ../unxlngi6.pro/slo/contentidentifier.o ../unxlngi6.pro/slo/providerhelper.o ../unxlngi6.pro/slo/contenthelper.o ../unxlngi6.pro/slo/contentinfo.o ../unxlngi6.pro/slo/propertyvalueset.o ../unxlngi6.pro/slo/registerucb.o ../unxlngi6.pro/slo/resultsetmetadata.o ../unxlngi6.pro/slo/resultset.o ../unxlngi6.pro/slo/resultsethelper.o ../unxlngi6.pro/slo/provconf.o ../unxlngi6.pro/slo/commandenvironmentproxy.o ../unxlngi6.pro/slo/interactionrequest.o ../unxlngi6.pro/slo/simpleinteractionrequest.o ../unxlngi6.pro/slo/simpleauthenticationrequest.o ../unxlngi6.pro/slo/simplenameclashresolverequest.o ../unxlngi6.pro/slo/simpleioerrorrequest.o ../unxlngi6.pro/slo/cancelcommandexecution.o ../unxlngi6.pro/slo/handleinteractionrequest.o ../unxlngi6.pro/slo/backgrounddownload.o -luno_cppuhelpergcc3 -luno_cppu -luno_salhelpergcc3 -luno_sal -lvos3gcc3 -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc ../unxlngi6.pro/slo/content.o: In function `void com::sun::star::uno::operator<<=<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> >(com::sun::star::uno::Any&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&)':/usr/src/packages/BUILD/ooo-build-src680.139.1/build/src680-m139/solver/680/unxlngi6.pro/inc/com/sun/star/uno/Any.hxx:219: undefined reference to `com::sun::star::uno::Type const& getCppuType<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> >(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const*)' ../unxlngi6.pro/slo/content.o: In function `void com::sun::star::uno::operator<<=<com::sun::star::uno::Sequence<com::sun::star::beans::Property> >(com::sun::star::uno::Any&, com::sun::star::uno::Sequence<com::sun::star::beans::Property> const&)':/usr/src/packages/BUILD/ooo-build-src680.139.1/build/src680-m139/solver/680/unxlngi6.pro/inc/com/sun/star/uno/Any.hxx:219: undefined reference to `com::sun::star::uno::Type const& getCppuType<com::sun::star::uno::Sequence<com::sun::star::beans::Property> >(com::sun::star::uno::Sequence<com::sun::star::beans::Property> const*)' collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngi6.pro/lib/libucbhelper3gcc3.so' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /usr/src/packages/BUILD/ooo-build-src680.139.1/build/src680-m139/ucbhelper/util
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
