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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to