Can anybody give some hints to this question ?

Thanks for your kind help ~

-George.

Hi all,

I'm working to embedding Mozilla in a Java app/library. I've got a compatibility
problem between Mozilla 1.4 and 1.7 on both Linux and Windows platforms.


On Linux, I'm using the Gtk Mozilla embedding widget. I modified the test
application for this widget located in the Mozilla directory
<MOZILLA_SRC_HOME>/embedding/browser/gtk/tests/

After building it with Mozilla 1.4, the executable binary works well with Mozilla
1.4. It also works with 1.7 if the source is built with Mozilla 1.7 source.


But the executable built with Mozilla 1.4 doesn't work with Mozilla 1.7.
While running the binary with MOZILLA_FIVE_HOME set to Mozilla 1.7,
there is below error:
~> ./mozembed-test
./mozembed-test: relocation error: ./mozembed-test: undefined symbol:
_ZTV9nsAString

I found it might due to I used the XPCOM APIs, not XPCOM Glue library.
So it has the problem.

I did check that <MOZILLA_SRC_HOME>/embedding/browser/gtk/tests/TestGtkEmbed
built with Mozilla 1.4 works with 1.7. If I'm right, it also doesn't use XPCOM Glue.
And I found that the symbol _ZTV9nsAString is defined in libxpcom.so(Mozilla1.4) file,
but not in that file for Mozilla1.7.


I'm not experienced hacking Mozilla, could you give me some points ?

Many thanks for any help!!

-George.

_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding



-- -------------------------------------- George Zhang

User Software Group (USG)
Sun China Engineering & Research Institute

Tel: (86)10-8261-8200 ext. 82805 Fax: (86)10-6278-0969
Email: [EMAIL PROTECTED]


_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to