Thorsten Behrens-3 wrote:
>
> On Wed, Jun 11, 2008 at 10:29:44AM -0700, [EMAIL PROTECTED] wrote:
>> 1)While building slideshow after adding the rule at the end of the
>> prj/build.lst as follows
>> pe slideshow\test nmake - all pe_test pe_api
>> pe_inc NULL
>>
> Hi Karl,
>
> strictly speaking, this is not necessary - just cd into the test
> dir, and issue a 'dmake'.
>
>> A patial dump of the Error is as follows:
>>
>> Making: ../unxlngi6.pro/lib/libtests.so
>> ccache g++ -Wl,-z,noexecstack -Wl,-z,combreloc -Wl,-z,defs
>> -Wl,-rpath,'$ORIGIN' -Wl,--hash-style=both -g -shared -Wl,-O1
>> -Wl,--version-script ../unxlngi6.pro/misc/export_tests.map
>> -L../unxlngi6.pro/lib -L../lib
>> -L/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solenv/unxlngi6/lib
>> -L/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solver/680/unxlngi6.pro/lib
>> -L/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solenv/unxlngi6/lib
>> -LNO_JAVA_HOME/lib -LNO_JAVA_HOME/jre/lib/i386
>> -LNO_JAVA_HOME/jre/lib/i386/client
>> -LNO_JAVA_HOME/jre/lib/i386/native_threads [EMAIL PROTECTED]@
>> ../unxlngi6.pro/slo/views.o ../unxlngi6.pro/slo/slidetest.o
>> ../unxlngi6.pro/slo/testshape.o ../unxlngi6.pro/slo/testview.o
>> ../unxlngi6.pro/slo/tests_version.o -o ../unxlngi6.pro/lib/libtests.so
>> -luno_sal -lbasegfx680li -luno_cppuhelpergcc3 -luno_cppu -lcppunitli
>> -lutl680li -lvcl680li -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc
>> ../unxlngi6.pro/slo/views.o: In function `(anonymous
>> namespace)::UnoViewContainerTest::testContainer()':
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/slideshow/test/views.cxx:62:
>> undefined reference to
>> `slideshow::internal::UnoViewContainer::UnoViewContainer()'
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/slideshow/test/views.cxx:65:
>> undefined reference to
>> `slideshow::internal::UnoViewContainer::addView(boost::shared_ptr<slideshow::internal::UnoView>
>> const&)'
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/slideshow/test/views.cxx:72:
>> undefined reference to `slideshow::internal::UnoViewContainer::dispose()'
>> ../unxlngi6.pro/slo/slidetest.o: In function `LayerManagerTest':
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/slideshow/test/slidetest.cxx:60:
>> undefined reference to
>> `slideshow::internal::UnoViewContainer::UnoViewContainer()'
>> ../unxlngi6.pro/slo/slidetest.o: In function `(anonymous
>> namespace)::LayerManagerTest::tearDown()':
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/slideshow/test/slidetest.cxx:85:
>> undefined reference to `slideshow::internal::UnoViewContainer::dispose()'
>> ../unxlngi6.pro/slo/slidetest.o: In function `(anonymous
>> namespace)::LayerManagerTest::setUp()':
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/slideshow/test/slidetest.cxx:73:
>> undefined reference to
>> `slideshow::internal::UnoViewContainer::addView(boost::shared_ptr<slideshow::internal::UnoView>
>> const&)'
>>
> No idea what's causing this - tried it on a OOH680_m16, and it just
> worked. Issuing a 'cvs diff -rOOG680_m9 -rOOH680_m16' in
> slideshow/test yields insignificant differences, that you still
> might want to merge, via 'cvs up -dP -kk -jOOG680_m9 -jOOH680_m16'
>
>> 2)Have added the following line to the prj/build.lst of canvas
>> cv canvas\workben
>> nmake - all cv_test cv_inc NULL
>>
> See above.
>
>> Get the following error while building the module
>> Making: ../unxlngi6.pro/obj/canvasdemo.obj
>> ccache g++ -fmessage-length=0 -c -g -O0 -I.
>> -I../unxlngi6.pro/inc/canvasdemo -I../inc -I../inc/pch -I../inc
>> -I../unx/inc
>> -I../unxlngi6.pro/inc -I.
>> -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solver/680/unxlngi6.pro/inc/stl
>> -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solver/680/unxlngi6.pro/inc/external
>> -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solver/680/unxlngi6.pro/inc
>> -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solenv/unxlngi6/inc
>> -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solenv/inc
>> -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/res
>> -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solver/680/unxlngi6.pro/inc/stl
>> -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solenv/inc/Xp31
>> -INO_JAVA_HOME/include -INO_JAVA_HOME/include/linux
>> -INO_JAVA_HOME/include/native_threads/include -INONE
>> -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solver/680/unxlngi6.pro/inc/offuh
>> -I. -I../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden
>> -Wall
>> -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy
>> -Wno-non-virtual-dtor -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL
>> -DCVER=C341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR
>> -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE
>> -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
>> -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1
>> -DSUPD=680 -DDEBUG -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=2
>> -DGUI -DOOG680=OOG680 -fexceptions -fno-enforce-eh-specs
>> -DEXCEPTIONS_ON
>> -o ../unxlngi6.pro/obj/canvasdemo.o
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:
>> In constructor
>> 'DemoRenderer::DemoRenderer(com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice>,
>> com::sun::star::uno::Reference<com::sun::star::rendering::XCanvas>,
>> Size)':
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:131:
>> warning: 'DemoRenderer::mxDevice' will be initialized after
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:129:
>> warning:
>> 'com::sun::star::uno::Reference<com::sun::star::rendering::XCanvas>
>> DemoRenderer::mxCanvas'
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:135:
>> warning: when initialized here
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:129:
>> warning: 'DemoRenderer::mxCanvas' will be initialized after
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:122:
>> warning: 'Size DemoRenderer::maSize'
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:135:
>> warning: when initialized here
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:
>> In member function 'virtual void DemoApp::Main()':
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:666:
>> error: 'com::sun::star::ucb::ContentBroker' has not been declared
>> /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:672:
>> error: 'com::sun::star::ucb::ContentBroker' has not been declared
>>
> Right, seeing this as well. Attached patch should fix it, also fixed
> in CWS canvas05, but you don't want to start joining from there...
>
> Cheers,
>
> -- Thorsten
>
> Index: canvasdemo.cxx
> ===================================================================
> RCS file: /cvs/gsl/canvas/workben/canvasdemo.cxx,v
> retrieving revision 1.5
> diff -u -p -r1.5 canvasdemo.cxx
> --- canvasdemo.cxx 17 Jul 2007 14:27:02 -0000 1.5
> +++ canvasdemo.cxx 11 Jun 2008 21:22:59 -0000
> @@ -663,13 +663,13 @@ void DemoApp::Main()
> uno::Sequence< uno::Any > aArgs( 2 );
> aArgs[ 0 ] <<= rtl::OUString::createFromAscii(
> UCB_CONFIGURATION_KEY1_LOCAL );
> aArgs[ 1 ] <<= rtl::OUString::createFromAscii(
> UCB_CONFIGURATION_KEY2_OFFICE );
> - ::ucb::ContentBroker::initialize( xFactory, aArgs );
> + ::ucbhelper::ContentBroker::initialize( xFactory, aArgs );
>
> TestWindow pWindow;
> pWindow.Execute();
>
> // clean up UCB
> - ::ucb::ContentBroker::deinitialize();
> + ::ucbhelper::ContentBroker::deinitialize();
> }
>
> DemoApp aDemoApp;
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
Hi Thorsten,
Yes i did try what u mentioned but with no success. :(
Both the applications built successfully on X but give a segmentation fault
while running.
The 2 backtraces are as follows:
SLIDESHOW BACKTRACE
using alias names "DejaVu LGC Sans Condensed" for font family "DejaVu Sans"
OutputDevice::SetFont( name="", h=0)
[New Thread -1327875184 (LWP 4563)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1231608112 (LWP 4546)]
0xb7d64f49 in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
7387 void Window::Invalidate( USHORT nFlags )
(gdb) bt
#0 0xb7d64f49 in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#1 0xb7d66cec in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#2 0xb7d6cf51 in uno_type_any_assign ()
from /2.3.1/OOG680_m9/solver/680/unxlngi6.pro/lib/libuno_cppu.so.3
#3 0xb7348a16 in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#4 0xb14a584c in ?? ()
#5 0xbfb389e8 in ?? ()
#6 0xb148a334 in ?? ()
#7 0xb7326088 in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#8 0xb732609c in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#9 0xbfb38a10 in ?? ()
#10 0xbfb38a38 in ?? ()
#11 0xb73489ef in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#12 0xb7380488 in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#13 0xbfb389f0 in ?? ()
#14 0xbfb38a38 in ?? ()
CANVAS BACKTRACE
---
gdb) bt
#0 0xb7dfbf49 in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#1 0xb7dfdcec in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#2 0xb7e03f51 in uno_type_any_assign ()
from /2.3.1/OOG680_m9/solver/680/unxlngi6.pro/lib/libuno_cppu.so.3
#3 0xb743aa16 in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#4 0xb174d7d4 in ?? ()
#5 0xbfcf8f08 in ?? ()
#6 0xb1732104 in ?? ()
#7 0xb7418088 in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#8 0xb741809c in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#9 0xbfcf8f30 in ?? ()
#10 0xbfcf8f58 in ?? ()
#11 0xb743a9ef in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
#12 0xb7472488 in Window::Invalidate ()
at /2.3.1/OOG680_m9/vcl/source/window/window.cxx:7387
--
View this message in context:
http://www.nabble.com/Urgent%3Ademo-applications-not-building-tp17783038p17793057.html
Sent from the openoffice - dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]