Hi, Please find the answers below:
Regards, Siddharth TATA Elxsi, INDIA -----Original Message----- From: Pradeep Chimakurthy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 10:07 AM To: [EMAIL PROTECTED] Subject: Re: [directfb-users] Error while trying to run firefox using DFB Hi Siddarth, Can you help me with a couple of general questions regarding the build process: a) I have not set up fusion as I think I read from one of the earlier posts that fusion is not required. Is this fine or is fusion required ? >>>>>> Not Needed. >>>>>> b) I had to use ac_add_options --disable-jsloader because the xptcall had platform specific code and there was no implementation for the platform I was using and I was getting errors while loading components on running firefox. I was told in the mozilla forums that it was a important module. Would you have any idea if there are build options to avoid xptcall ? I just need to get basic functionality for opening firefox using directfb. >>>>>> JavaScript is an important part and many features, including UI, depend on JS Calls. If you disable JS, then you might get the initial TestGtkEmbed, but it will not do anything. And, as you said, there is platform-dependency as well as compiler-dependency. If you look in the folder: mozilla/xpcom/reflect/xptcall/src/md/unix You will find platform specifc code for stub and invoke. I am not familiar with Tenscilica. If your processor is XScale(ARM) or MIPS based then i can see the code for them in this folder. You may try to use that by temporarily defining some of the macros. What about your OS or kernel, is it Linux..? >>>>>>> c) As you suggested I used ac_add_options --disable-extensions but I end up with an error nsIDOMParser.h: No such file or directory when it builds the bookmarks components. I looked at the IDL files but there is no IDL file created too.Did you by any chance encounter this error ? >>>>>> No, we had built mozilla without extensions, and it was working fine. Better option is to fix XPT problem either by using the source available or writing your own. >>>>>>> In case it is any help please fine my .mozconfig below. Most of the options are from your DFBWiki. ac_add_options --disable-extensions ac_add_options --disable-jsloader ac_add_options --enable-strip ac_add_options --sysconfdir=/etc ac_add_options --datadir=/tmp ac_add_options --enable-application=browser ac_add_options --enable-default-toolkit=gtk2 ac_add_options --disable-pedantic ac_add_options --enable-debug ac_add_options --without-x ac_add_options --disable-gtktest ac_add_options --disable-tests ac_add_options --enable-pango ac_add_options --disable-xft ac_add_options --disable-xinerama ac_add_options --enable-directfb ac_add_options --without-system-nspr ac_add_options --disable-pedantic ac_add_options --disable-mailnews ac_add_options --disable-composer ac_add_options --disable-ldap ac_add_options --disable-xprint ac_add_options --target=xtensa-linux Well, I guess if nothing else is possible then I have no option but look at xptcall Thank you for any help. Pradeep On 9/10/07, Pradeep Chimakurthy <[EMAIL PROTECTED]> wrote: > Hi Siddarth, > Yes, gtk-demo is working fine on my target. > > Thank you > Pradeep > > On 9/10/07, Kumar Siddharth <[EMAIL PROTECTED]> wrote: > > > > From top level inspection, it seems that your code is having problem with > > extensions. Try disabling extension through your mozconfig file > > (--disable-extensions, something like this). > > > > Is gtk-demo running fine on your target..?? > > > > Regards, > > Siddharth > > TATA Elxsi, INDIA > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Pradeep > > Chimakurthy > > Sent: Monday, September 10, 2007 6:30 AM > > To: [EMAIL PROTECTED] > > Subject: [directfb-users] Error while trying to run firefox using DFB > > > > > > Hello, > > I cross compiled firefox to run it on a tensilica xtensa > > processor. But when I try to run the application exits just after the > > error in nsXREDirProvider.cpp. I tried to understand what was going on > > but I could not figure anything out. Could you please help me with > > this issue? > > > > > > nsNativeComponentLoader: registering deferred (0) > > pldhash: for the table at address 0x458138, the given entrySize of 44 > > probably f > > avors chaining over double hashing. > > WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file > > nsChromeRegistry.cpp, line 1245 > > nsScreenGtk :: Inside Init > > Gdk-DirectFB-Message: gdk_screen_width_mm() assumes a screen resolution of > > 72 dp > > i > > GFX: dpi=96 t2p=0.0666667 p2t=15 depth=24 > > ++WEBSHELL == 1 > > WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file > > nsPermissionManager.cpp, > > line 632 > > ++DOMWINDOW == 1 > > WARNING: NS_ENSURE_TRUE(em) failed, file nsAppRunner.cpp, line 2247 > > ###!!! ASSERTION: Failed to create nsICloseAllWindows impl.: 'closer', file > > nsAp > > pStartup.cpp, line 508 > > Break: at file nsAppStartup.cpp, line 508 > > > > ###!!! ASSERTION: Can't veto change!: 'Error', file nsXREDirProvider.cpp, > > line 6 > > 14 > > Break: at file nsXREDirProvider.cpp, line 614 > > --WEBSHELL == 0 > > ###!!! ASSERTION: Main thread being held past XPCOM shutdown.: 'cnt == 0', > > file > > nsThread.cpp, line 478 > > Break: at file nsThread.cpp, line 478 > > > > Thank you > > Pradeep > > > > _______________________________________________ > > directfb-users mailing list > > [EMAIL PROTECTED] > > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > > > > > The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. > > > > Contact your Administrator for further information. > > > The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information. _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
