Building XULRunner with GCC 3.4.5 - JavaXPCOM does not work

Vladimir Korenev <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <0MGdnd7DlbvnEeDZnZ2dnUVZ_sednZ2d__28379.6388809153$1149078917$gmane$org@mozilla.org>
I have fetched recent XULRunner sources from MOZILLA_1_8_0_BRANCH and
built it using GCC 3.4.5. Unfortunately, JavaXPCOM does not work.

Exception in thread "main" java.lang.UnsatisfiedLinkError:
initEmbeddingNative
	at org.mozilla.xpcom.internal.GREImpl.initEmbeddingNative(Native Method)
	at org.mozilla.xpcom.internal.GREImpl.initEmbedding(GREImpl.java:55)
	at org.mozilla.xpcom.Mozilla.initEmbedding(Mozilla.java:598)

The required symbol seems to be private in the libjavaxpcomglue.so

$ nm libjavaxpcomglue.so | grep initEmbeddingNative
00001802 t Java_org_mozilla_xpcom_internal_GREImpl_initEmbeddingNative

Has anybody come across this problem?

Vova
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.