Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

nsAppRunner.o compile error: SOME_CONST not declared in scope

6 views
Skip to first unread message

drkstr

unread,
Oct 10, 2006, 11:41:50 PM10/10/06
to
Hello,

I wanted to start playing around with the mozilla source, and I am
still trying to get though my first pure build. I was pretty
conservative with the libraries I installed, so it's probably a missing
dependency somewhere. I installed all the libs from running ldd on the
precompiled bin, but I've ended up having to install more to satisfy
previous compile errors. This last error has me stumped though. Can
anyone recommend some stratagies for tracking down missing
libraries/headers needed to compile? I am assuming that the errors are
a result of the first line. I am more interested in how to find the
answer then the answer itself, so if any one would like to share how
they figured these things out when they first started, you will be
greatly appreciated.

Thanks for your time!
...aaron

=================================================
nsAppRunner.cpp:118:35: InstallCleanupDefines.h: No such file or
directory
In file included from /usr/include/gtk-1.2/gdk/gdktypes.h:33,
from /usr/include/gtk-1.2/gdk/gdk.h:31,
from /usr/include/gtk-1.2/gtk/gtk.h:31,
from nsAppRunner.cpp:250:
/usr/include/glib-1.2/glib.h:1308:23: warning: ISO C does not permit
named variadic macros
/usr/include/glib-1.2/glib.h:1311:25: warning: ISO C does not permit
named variadic macros
/usr/include/glib-1.2/glib.h:1314:26: warning: ISO C does not permit
named variadic macros
/usr/include/glib-1.2/glib.h:1317:25: warning: ISO C does not permit
named variadic macros
nsAppRunner.cpp: In function `void DumpArbitraryHelp()':
nsAppRunner.cpp:752: warning: statement has no effect
nsAppRunner.cpp: In function `int VerifyInstallation(nsIFile*)':
nsAppRunner.cpp:855: error: `CLEANUP_MESSAGE_FILENAME' was not declared
in this scope
nsAppRunner.cpp:855: warning: unused variable
'CLEANUP_MESSAGE_FILENAME'
nsAppRunner.cpp:877: error: `CLEANUP_UTIL' was not declared in this
scope
nsAppRunner.cpp:877: warning: unused variable 'CLEANUP_UTIL'
nsAppRunner.cpp: In function `nsresult
ImportProfiles(nsIToolkitProfileService*, nsINative
AppSupport*)':
nsAppRunner.cpp:1415: warning: statement has no effect
nsAppRunner.cpp: In function `int XRE_main(int, char**, const
nsXREAppData*)':
nsAppRunner.cpp:2106: error: `CLEANUP_REGISTRY' was not declared in
this scope
nsAppRunner.cpp:2106: warning: unused variable 'CLEANUP_REGISTRY'
gmake[3]: *** [nsAppRunner.o] Error 1
gmake[3]: Leaving directory `/root/mozilla/toolkit/xre'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/root/mozilla/toolkit'
gmake[1]: *** [tier_50] Error 2
gmake[1]: Leaving directory `/root/mozilla'
make: *** [default] Error 2
=================================================


.mozconfig (1.8 branch):
=================================================
#
# See http://www.mozilla.org/build/ for build instructions.
#

# Options for client.mk.
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@

# Options for 'configure' (same as command-line options).
ac_add_options --enable-application=browser
ac_add_options --disable-mailnews
ac_add_options --disable-view-source
ac_add_options --disable-xpinstall
ac_add_options --disable-installer
ac_add_options --disable-updater
ac_add_options --enable-leaky
ac_add_options --disable-tests
ac_add_options --enable-static
ac_add_options --disable-shared
ac_add_options --enable-js-static-build
ac_add_options --enable-default-toolkit=gtk
=================================================

0 new messages