Hi,
How can I build XULRunner from CVS?
My steps:
1. Download and extract last mozilla-source.tar.bz2 2. In mozilla dir:
cvs -z3 checkout -PA mozilla/client.mk make -f mozilla/client.mk checkout MOZ_CO_FLAGS=-PA MOZ_CO_PROJECT=xulrunner gmake -f client.mk build
After compiling in some hours I get:
...
c++ -o regchrome.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -I../../../dist/include/xpcom -I../../../dist/include/content -I../../../dist/include/necko -I../../../dist/include/string -I../../../dist/include/rdf -I../../../dist/include -I../../../dist/include -I/home/john/distrib/mozilla/cvs/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -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 -DDEBUG -D_DEBUG -DDEBUG_john -DTRACING -g -fno-inline -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/regchrome.pp regchrome.cpp
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 -DDEBUG -D_DEBUG -DDEBUG_john -DTRACING -g -fno-inline -o regchrome regchrome.o -L../../../dist/bin -L../../../dist/lib -L../../../dist/bin -L../../../dist/lib -L../../../dist/bin -lxpcom -lxul -L/home/john/distrib/mozilla/cvs/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm
../../../dist/bin/libxul.so: undefined reference to `JS_LookupPropertyWithFlags'
../../../dist/bin/libxul.so: undefined reference to `JS_HasUCProperty'
../../../dist/bin/libxul.so: undefined reference to `JS_HasElement'
../../../dist/bin/libxul.so: undefined reference to `JS_DefineUCFunction'
../../../dist/bin/libxul.so: undefined reference to `JS_GetMethod'
../../../dist/bin/libxul.so: undefined reference to `JS_ReportPendingException'
../../../dist/bin/libxul.so: undefined reference to `JS_HasProperty'
collect2: ld returned 1 exit status
gmake[5]: *** [regchrome] Error 1
gmake[5]: Leaving directory `/home/john/distrib/mozilla/cvs/mozilla/chrome/tools/chromereg'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/home/john/distrib/mozilla/cvs/mozilla/chrome/tools'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/home/john/distrib/mozilla/cvs/mozilla/chrome'
gmake[2]: *** [tier_50] Error 2
gmake[2]: Leaving directory `/home/john/distrib/mozilla/cvs/mozilla'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory `/home/john/distrib/mozilla/cvs/mozilla'
gmake: *** [build] Error 2
What's wrong? _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
