Hello Mikhail,

Thank you for the answer.

I did tried official builds 3.0, 3.1.1 and pre released 3.2. All builds are
throwing. I also made a small test program and compiled my function with it
as normal executable. Test program works without any problems. Problem rises
when I compile my OOo function as shared library. When I load my shared
library and call my OOo function it throws randomly. I can't understand
why?. My shared library worked very well in ubuntu 8.04. Could there be some
uncompatible libraries or what?

I build my library with command: 
gcc -c -O -fpic -I. -I./inc -I./inc/examples
-I/opt/openoffice.org/basis3.2/sdk/include -I./inc -DUNX -DGCC -DLINUX
-DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.4 -o libooo.o
libooo.cc
g++ -shared '-Wl,-rpath,$ORIGIN' -L"./lib"
-L"/opt/openoffice.org/basis3.2/sdk/lib" -L"/opt/openoffice.org/ure/lib" -o
libooo.so libooo.o -luno_cppuhelpergcc3 -luno_cppu -luno_salhelpergcc3
-luno_sal -lc -lstdc++ -lm -lboost_filesystem

Any ideas?

regards petteri


Mikhail Voytenko wrote:
> 
> As a first test I would suggest to switch to the official build from 
> openoffice.org.
> 

-- 
View this message in context: 
http://old.nabble.com/IOException-OOo-3.1.1-tp27226808p27273802.html
Sent from the openoffice - api dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to