# one after the other, only continue if first doesn't fail make -f client.mk checkout && make -f client.mk build
# let make handle two task sequentually make -f client.mk checkout build
# use the default options in client.mk make -f client.mk
then make -f client.mk build_all?
Collapse unwanted MozillaZine forum sections ** Give a man a fish and he will eat for a day; teach a man to fish and he will eat for a lifetime; give a man religion and he will die praying for a fish.
CrazyFred wrote:I thought it was <code> patch -p0 < patchfile</code>, where you are in the directory above mozilla. Not sure though - I haven't done this much.
Info - part of an excellent mozilla.org *nix cheat sheet.
c:/mozilla/mozilla/security/manager/boot/src/nsSecurityWarningDialogs.cpp: In member function `nsresult nsSecurityWarningDialogs::ConfirmDialog(nsIInterfaceRequestor*, const char*,
ENT /cygdrive/c/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:62:32: nsIProfileIntern al.h: No such file or directory c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp: In constructor ` Mutex::Mutex(const char*)': c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:207: warning: initializ ation of negative value `-1' to `DWORD' c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:207: warning: argument
of negative value `-1' to `long unsigned int' c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp: In member function ` Mutex::~Mutex()': c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:218: warning: unused variable `BOOL rc' c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp: In member function ` void Mutex::Unlock()': c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:246: warning: assignmen t of negative value `-1' to `DWORD' c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:246: warning: argument
of negative value `-1' to `long unsigned int' c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp: In member function ` void nsSplashScreenWin::LoadBitmapA()': c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:481: warning: unused variable `BOOL ok' c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp: In member function ` void nsNativeAppSupportWin::CheckConsole()': c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:663: warning: unused variable `int rv' c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp: In static member function `static void nsNativeAppSupportWin::ParseDDEArg(HSZ__*, int, nsCString&)': c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:1678: warning: passing
NULL used for non-pointer argument passing 4 of `DWORD DdeQueryStringA(long unsigned int, HSZ__*, CHAR*, long unsigned int, int)' c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:1678: warning: argument
to non-pointer type `long unsigned int' from NULL c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp: In function `static nsresult nsNativeAppSupportWin::GetCmdLineArgs(BYTE*, nsICmdLineService**)': c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:1890: warning: `int between' might be used uninitialized in this function c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:1890: warning: `int quoted' might be used uninitialized in this function c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:1890: warning: `int bSlashCount' might be used uninitialized in this function c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:1891: warning: `int argc' might be used uninitialized in this function c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:1892: warning: `char*p ' might be used uninitialized in this function c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp: In member function ` virtual nsresult nsNativeAppSupportWin::EnsureProfile(nsICmdLineService*)': c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2088: error: ` nsIProfileInternal' undeclared (first use this function) c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2088: error: (Each undeclared identifier is reported only once for each function it appears in.) c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2088: error: template argument 1 is invalid c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2088: error: ` NS_PROFILE_CONTRACTID' undeclared (first use this function) c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2088: error: ISO C++ forbids declaration of `profileMgr' with no type c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2099: error: base operand of `->' is not a pointer c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2105: error: base operand of `->' is not a pointer c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp: In static member function `static void nsNativeAppSupportWin::SetupSysTrayIcon()': c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2347: warning: passing
NULL used for non-pointer argument passing 6 of `void* LoadImageA(HINSTANCE__*, const CHAR*, unsigned int, int, int, unsigned int)' c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2347: warning: argument
to non-pointer type `unsigned int' from NULL c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2432: warning: passing
NULL used for non-pointer argument passing 3 of `BOOL AppendMenuA(HMENU__*, unsigned int, unsigned int, const CHAR*)' c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2432: warning: argument
to non-pointer type `unsigned int' from NULL c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2442: warning: passing
NULL used for non-pointer argument passing 3 of `BOOL AppendMenuW(HMENU__*, unsigned int, unsigned int, const WCHAR*)' c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2442: warning: argument
to non-pointer type `unsigned int' from NULL c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp: In member function ` virtual nsresult nsNativeAppSupportWin::OnLastWindowClosing()': c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2589: error: ` nsIProfile' undeclared (first use this function) c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2589: error: template argument 1 is invalid c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2589: error: ISO C++ forbids declaration of `profileMgr' with no type c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2592: error: base operand of `->' is not a pointer c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:2658: warning: unused variable `DWORD rc' ../../dist/include/xpcom/nsCOMPtr.h: At top level: c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:1338: warning: ` nsCString uTypeDesc(unsigned int)' defined but not used c:/mozilla/mozilla/toolkit/xre/nsNativeAppSupportWin.cpp:1341: warning: ` nsCString hszValue(long unsigned int, HSZ__*)' defined but not used make[4]: *** [nsNativeAppSupportWin.o] Error 1 make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/toolkit/xre' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/cygdrive/c/mozilla/mozilla/toolkit' make[2]: *** [tier_50] Error 2 make[2]: Leaving directory `/cygdrive/c/mozilla/mozilla' make[1]: *** [default] Error 2 make[1]: Leaving directory `/cygdrive/c/mozilla/mozilla' make: *** [build] Error 2
New problem of the day. I'm trying a plain make -f client.mk now and will see how it goes.
C:\Mozilla\mozilla>make -f client.mk build
Adding client.mk options from /cygdrive/c/Mozilla/mozilla/.mozconfig:
MOZ_PHOENIX=1
MOZ_PHOENIX=1
make
make[1]: Entering directory `/cygdrive/c/Mozilla/mozilla'
makefile:27: config/autoconf.mk: No such file or directory
/cygdrive/c/Mozilla/mozilla/config/config.mk:38: config/autoconf.mk: No such fil
e or directory
make[1]: *** No rule to make target `config/autoconf.mk'. Stop.
make[1]: Leaving directory `/cygdrive/c/Mozilla/mozilla'
make: *** [build] Error 2
mozillaZine is an independent Mozilla community and advocacy site. We're not affiliated or endorsed by the Mozilla Corporation but we love them just the same.