On Monday 21 November 2005 10:40, Stephan Bergmann wrote:
> Petr Mladek wrote:
> >>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 to be a more common problem. libcomphelp4gcc3.so cannot be
> > linked from the same reasons. getCppuType is not defined even for more
> > Sequence<T> types.
>
> Will try to reproduce this.  Not sure yet who's at fault.

I tried to include include "com/sun/star/uno/Sequence.hxx from Any.hxx. It 
helped to compile both ucbhelper and comphelper. I am not sure if it is the 
right fix though.

The patch is attached.


-- 
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/
--- Any.hxx.old	2005-09-08 10:33:21.000000000 +0200
+++ Any.hxx	2005-11-21 11:23:32.000000000 +0100
@@ -50,6 +50,9 @@
 #ifndef _COM_SUN_STAR_UNO_GENFUNC_HXX_
 #include <com/sun/star/uno/genfunc.hxx>
 #endif
+#ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
+#include "com/sun/star/uno/Sequence.hxx"
+#endif
 
 
 namespace com

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

Reply via email to