HI,

I am trying to embed firefox in a gtk application and I am using
TestGtkEmbed in firefox 2.0.0.7 as my example.

First I  build without '--enable-static --disable-shared' and then,
1. it compiles successfully
2. mv ./firefox-objdir/dist/bin/TestGtkEmbed  ./firefox-objdir/dist/
bin/firefox-bin
3.  ./firefox-objdir/dist/bin/firefox

It runs and the application starts.

But then, when I build with  '--enable-static --disable-shared' ,
repeat #1-#3 above

But it crashes with a segmentation fault

 ./firefox-objdir/dist/bin/firefox
new_gtk_browser
        menu bar
        tool bar
        location bar
        status bar
Segmentation fault (core dumped)

Can you please tell me how can I get TestGtkEmbed to work in a static
firefox build?  I need to get TestGtkEmbed to work in a static firefox
build because I need a static build in order to build an installer
using 'gmake -C firefox-objdir/browser/installer.


Thank you for any pointers.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to