Errors while building Firefox 1.5 with "GTK" on RH9

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Errors while building Firefox 1.5 with "GTK" on RH9

Pratham-2
Hi,

I need "libgtksuperwin.so" lib along with other mozilla libraries. From
Mozilla Build FAQ, I found that we need to build the mozilla with "GTK"
if we want  "libgtksuperwin.so".

I am using Firefox 1.5 code base on Red Hat linux 9 using gcc 3.2 to
build the browser.

I am getting some errors while building the package. Here are the
details :

Following is my .mozconfig file:
. /home/browser/mozilla/browser/config/mozconfig
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
ac_add_options --enable-default-toolkit=gtk

ac_add_options --disable-test
ac_add_options --enable-crypto
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-static
ac_add_options --disable-shared
///////////////////////////////////

Following is the error stack :
make[5]: Leaving directory
`/home/browser/mozilla/webshell/tests/viewer/unix'
/home/browser/mozilla/config/nsinstall -R ./mozilla-viewer.sh
../../../dist/bin
c++ -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O
-DWIDGET_DLL=\"libwidget_gtk.so\" -DGFXWIN_DLL=\"libgfx_gtk.so\"
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -o viewer_gtk nsBaseDialog.o nsFindDialog.o
nsXPBaseWindow.o nsTableInspectorDialog.o nsImageInspectorDialog.o
nsPrintSetupDialog.o nsBrowserWindow.o nsEditorMode.o nsThrobber.o
nsViewerApp.o nsWebCrawler.o nsWebBrowserChrome.o nsWindowCreator.o
nsStaticComponents.o    -L../../../dist/lib/components
-L../../../dist/bin -L../../../dist/lib unix/gtk/libviewer_gtk_s.a
-lgtksuperwin ../../../dist/lib/libwidgetsupport_s.a -lgkgfx -ljsj
-L../../../dist/bin -lmozjs ../../../dist/lib/libunicharutil_s.a
-L../../../dist/bin -lxpcom -lxpcom_core  -L../../../dist/lib -lplds4
-lplc4 -lnspr4 -lpthread -ldl  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk
-rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -ldl -lm
nsStaticComponents.o(.rodata+0x24): undefined reference to
`xpcomObsoleteModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x2c): undefined reference to
`xpconnect_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0x34): undefined reference to
`xpconnect_test_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x3c): undefined reference to
`nsUConvModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x44): undefined reference to
`nsUCvMathModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x4c): undefined reference to
`nsI18nModule_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0x54): undefined reference to
`necko_core_and_primary_protocols_NSGetModule(nsIComponentManager*,
nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0x5c): undefined reference to
`necko_secondary_protocols_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x64): undefined reference to
`nsPrefModule_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0x6c): undefined reference to
`nsSecurityManagerModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x74): undefined reference to
`nsRDFModule_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0x7c): undefined reference to
`nsParserModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x84): undefined reference to
`nsGfxPSModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x8c): undefined reference to
`nsGfxXprintModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x94): undefined reference to
`nsGfxGTKModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x9c): undefined reference to
`nsImageLib2Module_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0xa4): undefined reference to
`nsPluginModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0xac): undefined reference to
`nsWidgetGTKModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0xb4): undefined reference to
`nsLayoutModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0xbc): undefined reference to
`docshell_provider_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0xc4): undefined reference to
`embedcomponents_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0xcc): undefined reference to
`Browser_Embedding_Module_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0xd4): undefined reference to
`nsEditorModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0xdc): undefined reference to
`nsTransactionManagerModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0xe4): undefined reference to
`nsComposerModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0xec): undefined reference to
`appshell_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0xf4): undefined reference to
`nsCJVMManagerModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0xfc): undefined reference to
`nsAccessibilityModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x104): undefined reference to
`nsChromeModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x10c): undefined reference to
`nsMorkModule_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0x114): undefined reference to
`nsFindComponent_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x11c): undefined reference to
`application_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0x124): undefined reference to
`nsFileViewModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x12c): undefined reference to
`RemoteServiceModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x134): undefined reference to
`CommandLineModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x13c): undefined reference to
`nsToolkitCompsModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x144): undefined reference to
`Apprunner_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0x14c): undefined reference to
`BOOT_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0x154): undefined reference to
`NSS_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0x15c): undefined reference to
`PKI_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0x164): undefined reference to
`nsCookieModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x16c): undefined reference to
`nsXMLExtrasModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x174): undefined reference to
`nsAutoConfigModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x17c): undefined reference to
`TransformiixModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x184): undefined reference to
`nsUniversalCharDetModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x18c): undefined reference to
`WSPProxyTestModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x194): undefined reference to
`nsWebServicesModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x19c): undefined reference to
`nsAuthModule_NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)'
nsStaticComponents.o(.rodata+0x1a4): undefined reference to
`nsPermissionsModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x1ac): undefined reference to
`SearchServiceModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x1b4): undefined reference to
`BrowserDirProvider_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
nsStaticComponents.o(.rodata+0x1bc): undefined reference to
`nsBrowserCompsModule_NSGetModule(nsIComponentManager*, nsIFile*,
nsIModule**)'
collect2: ld returned 1 exit status
gmake[4]: *** [viewer_gtk] Error 1
gmake[4]: Leaving directory
`/home/browser/mozilla/webshell/tests/viewer'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/home/browser/mozilla/webshell/tests'
gmake[2]: *** [tier_99] Error 2
gmake[2]: Leaving directory `/home/browser/mozilla'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory `/home/browser/mozilla'
gmake: *** [build] Error 2

Can somebody here help me in figuring out what went wrong?

Thanks a lot for your time and help.

Regards,
Pratham

_______________________________________________
mozilla-builds mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-builds