Here is my mozconfig :
# Options for client.mk.
mk_add_options MOZ_BUILD_PROJECTS="xulrunner mobile"
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../mobilebase
# Global options
#ac_add_options --enable-debug
#ac_add_options --disable-optimize
#ac_add_options --enable-logging
#ac_cv_visibility_pragma=no
#ac_add_options --enable-timeline
#ac_add_options --disable-dbus
ac_add_options --disable-crashreporter
# XULRunner options
ac_add_app_options xulrunner --enable-application=xulrunner
ac_add_app_options xulrunner --disable-javaxpcom
# Mobile options
ac_add_app_options mobile --enable-application=mobile
ac_add_app_options mobile --with-libxul-sdk=../xulrunner/dist
# configure will be automatically generated using the 'autoconf-2.13'
# command. If autoconf-2.13 isn't the right name for your system, as
# is the case on OS X using MacPorts, use the real command name as
# demonstrated below.
mk_add_options AUTOCONF=autoconf
ac_add_app_options xulrunner --with-arm-kuser
ac_add_options --disable-ogg
Because --disable-ogg doesn't work, I had to remove any OGG reference
from ./configure script
Then I tried to compile and to correct mssing dependencies on each
error I encounter, and now I face this one :
c++ -o nsWindow.o -c -I../../../dist/include/system_wrappers -include /
home/xav/openmoko/sources/mozilla-central/config/gcc_hidden.h -
DNATIVE_THEME_SUPPORT -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -
DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -
DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -
D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -
DZLIB_INTERNAL -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DUSE_XIM -
DCAIRO_GFX -DUSE_POSTSCRIPT -I/home/xav/openmoko/sources/mozilla-
central/widget/src/gtk2 -I. -I../../../dist/include/xpcom -I../../../
dist/include/string -I../../../dist/include/gfx -I../../../dist/
include/pref -I../../../dist/include/dom -I../../../dist/include/
docshell -I../../../dist/include/necko -I../../../dist/include/uconv -
I../../../dist/include/intl -I../../../dist/include/imglib2 -I../../../
dist/include/view -I../../../dist/include/content -I../../../dist/
include/layout -I../../../dist/include/util -I../../../dist/include/
locale -I../../../dist/include/thebes -I../../../dist/include/cairo -
I../../../dist/include/gtkxtbin -I../../../dist/include/accessibility -
I../../../dist/include -I../../../dist/include/widget -I/home/xav/
openmoko/sources/mobilebase/xulrunner/dist/include/nspr -I/home/
xav/openmoko/sources/mobilebase/xulrunner/dist/sdk/include -I/home/xav/
openmoko/sources/mozilla-central/widget/src/gtk2/../xpwidgets -I/home/
xav/openmoko/sources/mozilla-central/other-licenses/atk-1.0 -
fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-
virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-
align -Wno-invalid-offsetof -Wno-long-long -pedantic -fno-strict-
aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -
freorder-blocks -fno-reorder-functions -D_REENTRANT -I/usr/include/
gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/
include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/
lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -
I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gtk-unix-
print-2.0 -DMOZILLA_CLIENT -include ../../../mozilla-config.h -
Wp,-MD,.deps/nsWindow.pp /home/xav/openmoko/sources/mozilla-central/
widget/src/gtk2/
nsWindow.cpp
/home/xav/openmoko/sources/mozilla-central/widget/src/gtk2/
nsWindow.cpp:135:23: warning: ISO C does not permit named variadic
macros
/home/xav/openmoko/sources/mozilla-central/widget/src/gtk2/
nsWindow.cpp: In member function ‘virtual nsresult nsWindow::Destroy
()’:
/home/xav/openmoko/sources/mozilla-central/widget/src/gtk2/
nsWindow.cpp:661: warning: ISO C++ forbids casting between pointer-to-
function and pointer-to-
object
/home/xav/openmoko/sources/mozilla-central/widget/src/gtk2/
nsWindow.cpp: In function ‘void workaround_gtk_im_display_closed
(GtkWidget*,
GtkIMContext*)’:
/home/xav/openmoko/sources/mozilla-central/widget/src/gtk2/
nsWindow.cpp:6208: warning: unused variable
‘gtk_xim_context_class’
/home/xav/openmoko/sources/mozilla-central/widget/src/gtk2/
nsWindow.cpp:6213: warning: unused variable ‘gtk_iiim_context_class’
/home/xav/openmoko/sources/mozilla-central/widget/src/gtk2/
nsWindow.cpp: In member function ‘virtual nsresult
nsWindow::SetIMEEnabled(PRUint32)’:
/home/xav/openmoko/sources/mozilla-central/widget/src/gtk2/
nsWindow.cpp:6629: error: ‘HILDON_GTK_INPUT_MODE_INVISIBLE’ was not
declared in this scope
/home/xav/openmoko/sources/mozilla-central/widget/src/gtk2/
nsWindow.cpp:6631: error: ‘HILDON_GTK_INPUT_MODE_INVISIBLE’ was not
declared in this scope
/home/xav/openmoko/sources/mozilla-central/widget/src/gtk2/
nsWindow.cpp:6633: error: ‘HildonGtkInputMode’ was not declared in
this scope
/home/xav/openmoko/sources/mozilla-central/widget/src/gtk2/
nsWindow.cpp:6635: error: ‘hildon_gtk_im_context_show’ was not
declared in this scope
/home/xav/openmoko/sources/mozilla-central/widget/src/gtk2/
nsWindow.cpp:6638: error: ‘hildon_gtk_im_context_hide’ was not
declared in this scope
make[7]: *** [nsWindow.o] Error 1
make[7]: Leaving directory `/home/xav/openmoko/sources/mobilebase/
xulrunner/widget/src/gtk2'
make[6]: *** [libs] Error 2
make[6]: Leaving directory `/home/xav/openmoko/sources/mobilebase/
xulrunner/widget/src'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/home/xav/openmoko/sources/mobilebase/
xulrunner/widget'
make[4]: *** [libs_tier_gecko] Error 2
make[4]: Leaving directory `/home/xav/openmoko/sources/mobilebase/
xulrunner'
make[3]: *** [tier_gecko] Error 2
make[3]: Leaving directory `/home/xav/openmoko/sources/mobilebase/
xulrunner'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/xav/openmoko/sources/mobilebase/
xulrunner'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/xav/openmoko/sources/mozilla-
central'
make: *** [build] Error 2
Any help would be really welcome !
Best regards,
Xavier.