Hi!

Yes, it does.  At the beginning I thought -fPIC was not being pulled in, so, I 
set it manually for g++.    I just ran it, here is a log for it:


Host> /tmp/openoffice/src/openoffice-3.1.1 172> cd ucbhelper/source/provider && 
touch propertyvalueset.cxx && dmake
------------------------------
Making: ../../unxlngx6.pro/slo/propertyvalueset.obj
/opt/tools/gcc/4.2.2/bin/g++ -fPIC  -Wreturn-type -fmessage-length=0 -c -O2 
-fno-strict-aliasing -Wuninitialized   -fvisibility=hidden -I.  
-I../../unxlngx6.pro/inc/provider -I../inc -I../../inc/pch -I../../inc 
-I../../unx/inc -I../../unxlngx6.pro/inc -I. 
-I/tmp/openoffice/src/openoffice-3.1.1/solver/310/unxlngx6.pro/inc/stl 
-I/tmp/openoffice/src/openoffice-3.1.1/solver/310/unxlngx6.pro/inc/external 
-I/tmp/openoffice/src/openoffice-3.1.1/solver/310/unxlngx6.pro/inc 
-I/tmp/openoffice/src/openoffice-3.1.1/solenv/unxlngx6/inc 
-I/tmp/openoffice/src/openoffice-3.1.1/solenv/inc 
-I/tmp/openoffice/src/openoffice-3.1.1/res 
-I/tmp/openoffice/src/openoffice-3.1.1/solver/310/unxlngx6.pro/inc/stl 
-I/tmp/openoffice/src/openoffice-3.1.1/solenv/inc/Xp31 
-I/opt/tools/java/1.6.0.16-64/include 
-I/opt/tools/java/1.6.0.16-64/include/linux 
-I/opt/tools/java/1.6.0.16-64/include/native_threads/include 
-I/opt/tools/X11/R7.2-64/include  
-I/tmp/openoffice/src/openoffice-3.1.1/solver/310/unxlngx6.pro/inc/offuh -I. 
-I../../res -I. -pipe  -Wno-ctor-dtor-privacy -fno-use-cxa-atexit 
-fvisibility-inlines-hidden -Wall -Wextra -Wendif-labels -Wshadow 
-Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   -fpic -DLINUX -DUNX -DVCL 
-DGCC -DC341 -DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -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=/nfs/cl/itools/em64t_SLES10/pkgs/gcc/4.2.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.2/../../../../include/c++/4.2.2
 -DSUPD=310 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE 
-DCUI -DSOLAR_JAVA   -DUCBHELPER_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_   
-fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o 
../../unxlngx6.pro/slo/propertyvalueset.o 
/tmp/openoffice/src/openoffice-3.1.1/ucbhelper/source/provider/propertyvalueset.cxx
 
if ( -e ../../unxlngx6.pro/slo/propertyvalueset.o ) touch 
../../unxlngx6.pro/slo/propertyvalueset.obj 
/tmp/openoffice/src/openoffice-3.1.1/solver/310/unxlngx6.pro/bin/makedepend 
@/opt/tools/tmp/1.0/tmp/mkrdhNcz > 
../../unxlngx6.pro/misc/s_propertyvalueset.dpcc
------------------------------
Making: ../../unxlngx6.pro/slb/provider.lib
echo unxlngx6.pro/slo/configureucb.o unxlngx6.pro/slo/contentidentifier.o 
unxlngx6.pro/slo/providerhelper.o unxlngx6.pro/slo/contenthelper.o 
unxlngx6.pro/slo/contentinfo.o unxlngx6.pro/slo/propertyvalueset.o 
unxlngx6.pro/slo/registerucb.o unxlngx6.pro/slo/resultsetmetadata.o 
unxlngx6.pro/slo/resultset.o unxlngx6.pro/slo/resultsethelper.o 
unxlngx6.pro/slo/provconf.o unxlngx6.pro/slo/commandenvironmentproxy.o 
unxlngx6.pro/slo/interactionrequest.o 
unxlngx6.pro/slo/simpleinteractionrequest.o 
unxlngx6.pro/slo/simpleauthenticationrequest.o 
unxlngx6.pro/slo/simplenameclashresolverequest.o 
unxlngx6.pro/slo/simpleioerrorrequest.o 
unxlngx6.pro/slo/cancelcommandexecution.o 
unxlngx6.pro/slo/handleinteractionrequest.o 
unxlngx6.pro/slo/simplecertificatevalidationrequest.o | xargs -n1 > 
../../unxlngx6.pro/slb/provider.lib
-------------
making .dpslo


-imam

-----Original Message-----
From: stephan.bergm...@sun.com [mailto:stephan.bergm...@sun.com] 
Sent: Sunday, January 31, 2010 11:47 PM
To: dev@openoffice.org
Subject: Re: [dev] dmake error: while building ucbhelper

On 02/01/10 07:52, Toufique, Imam wrote:
> This is my first time building openoffice 3.1.1 from source.  The prebuilt 
> installation is not stable in my case in SuSE Linux enterprise server 10.
> 
> I have been having the following dmake error while it tries to build 
> ucbhelper:
> 
> Making: ../unxlngx6.pro/lib/libucbhelper4gcc3.so
> /opt/tools/gcc/4.2.2/bin/g++ -fPIC -Wl,-z,combreloc -Wl,-z,defs 
> -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -L../unxlngx6.pro/lib 
> -L../lib -L/tmp/openoffice/src/openoffice-3.1.1/solenv/unxlngx6/lib 
> -L/tmp/openoffice/src/openoffice-3.1.1/solver/310/unxlngx6.pro/lib 
> -L/tmp/openoffice/src/openoffice-3.1.1/solenv/unxlngx6/lib 
> -L/opt/tools/java/1.6.0.16-64/lib64 
> -L/opt/tools/java/1.6.0.16-64/jre/lib/amd64 
> -L/opt/tools/java/1.6.0.16-64/jre/lib/amd64/server 
> -L/opt/tools/java/1.6.0.16-64/jre/lib/amd64/native_threads 
> -L/opt/tools/X11/R7.2-64/lib -L/opt/tools/libiconv/1.11-64/lib 
> ../unxlngx6.pro/slo/ucbhelper4gcc3_version.o -o 
> ../unxlngx6.pro/lib/libucbhelper4gcc3.so ../unxlngx6.pro/slo/content.o 
> ../unxlngx6.pro/slo/contentbroker.o ../unxlngx6.pro/slo/commandenvironment.o 
> ../unxlngx6.pro/slo/fileidentifierconverter.o 
> ../unxlngx6.pro/slo/activedatasink.o ../unxlngx6.pro/slo/activedatastreamer.o 
> ../unxlngx6.pro/slo/proxydecider.o 
> ../unxlngx6.pro/slo/interceptedinteraction.o ..
/unxlngx6.pro/slo/configureucb.o ../unxlngx6.pro/slo/contentidentifier.o 
../unxlngx6.pro/slo/providerhelper.o ../unxlngx6.pro/slo/contenthelper.o 
../unxlngx6.pro/slo/contentinfo.o ../unxlngx6.pro/slo/propertyvalueset.o 
../unxlngx6.pro/slo/registerucb.o ../unxlngx6.pro/slo/resultsetmetadata.o 
../unxlngx6.pro/slo/resultset.o ../unxlngx6.pro/slo/resultsethelper.o 
../unxlngx6.pro/slo/provconf.o ../unxlngx6.pro/slo/commandenvironmentproxy.o 
../unxlngx6.pro/slo/interactionrequest.o 
../unxlngx6.pro/slo/simpleinteractionrequest.o 
../unxlngx6.pro/slo/simpleauthenticationrequest.o 
../unxlngx6.pro/slo/simplenameclashresolverequest.o 
../unxlngx6.pro/slo/simpleioerrorrequest.o 
../unxlngx6.pro/slo/cancelcommandexecution.o 
../unxlngx6.pro/slo/handleinteractionrequest.o 
../unxlngx6.pro/slo/simplecertificatevalidationrequest.o -luno_cppuhelpergcc3 
-luno_cppu -luno_salhelpergcc3 -luno_sal -ldl -lpthread -lm
> /usr/bin/ld: ../unxlngx6.pro/slo/propertyvalueset.o: relocation R_X86_64_PC32 
> against 
> `com::sun::star::beans::cppu_detail_getUnoType(com::sun::star::beans::XPropertyAccess
>  const*)::the_type' can not be used when making a shared object; recompile 
> with -fPIC

Strange, never seen that one before.  Can you please "cd 
ucbhelper/source/provider && touch propertyvalueset.cxx && dmake" and 
see whether the g++ compiler command line mentions -fPIC, too?

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to