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

Build error - Firefox 2.0.0.1 with VC8 - xpcom_base.xpt doesn't exist

19 views
Skip to first unread message

juddster

unread,
Feb 14, 2007, 5:53:08 AM2/14/07
to
Hi all,

I'm looking to embed Firefox in an application and obviously the first
step is to build from source but I'm getting an error whenever I try
to build.

My environment is as follows:

OS: Windows XP Professional SP 2
Dev Env: Visual Studio 2005 Professional (VC8)
Source code: firefox 2.0.0.1

I've followed the instructions in the following:
- VC8 Build Instructions (http://developer.mozilla.org/en/docs/
VC8_Build_Instructions)
- Windows Build Prerequisites (1.7 & 1.8 Branches) (http://
developer.mozilla.org/en/docs/
Windows_Build_Prerequisites_on_the_1.7_and_1.8_Branches)

I've also searched the forums but cannot find a solution to the
problem

The error I get when I try to build is as follows:

/cygdrive/d/firefox-2.0.0.1-source/mozilla/build/cygwin-wrapper ../../
dist/bin/xpt_link.exe _xpidlge
n/xpcom_base.xpt _xpidlgen/nsIConsoleListener.xpt _xpidlgen/
nsIConsoleMessage.xpt _xpidlgen/nsIConso
leService.xpt _xpidlgen/nsIErrorService.xpt _xpidlgen/nsIException.xpt
_xpidlgen/nsIExceptionService
.xpt _xpidlgen/nsIVersionComparator.xpt _xpidlgen/nsIUUIDGenerator.xpt
_xpidlgen/nsIDebug.xpt _xpidl
gen/nsIInterfaceRequestor.xpt _xpidlgen/nsIMemory.xpt _xpidlgen/
nsIProgrammingLanguage.xpt _xpidlgen
/nsISupports.xpt _xpidlgen/nsITraceRefcnt.xpt _xpidlgen/
nsIWeakReference.xpt _xpidlgen/nsrootidl.xpt

make[4]: *** [_xpidlgen/xpcom_base.xpt] Error 57
make[4]: Leaving directory `/cygdrive/d/firefox-2.0.0.1-source/mozilla/
ff-opt-static/xpcom/base'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/d/firefox-2.0.0.1-source/mozilla/
ff-opt-static/xpcom'
make[2]: *** [tier_2] Error 2
make[2]: Leaving directory `/cygdrive/d/firefox-2.0.0.1-source/mozilla/
ff-opt-static'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/d/firefox-2.0.0.1-source/mozilla/
ff-opt-static'
make: *** [build] Error 2

All of the files listed in the call to 'xpt_link.exe' are present in
my object directory except for '_xpidlgen/xpcom_base.xpt'.

Has anyone got any pointers on what I may be doing wrong?

Thanks.

nrth...@gmail.com

unread,
Feb 14, 2007, 9:18:11 AM2/14/07
to
On Feb 14, 10:53 am, "juddster" <judd.mar...@gmail.com> wrote:
> Hi all,
>
> I'm looking to embed Firefox in an application and obviously the first
> step is to build from source but I'm getting an error whenever I try
> to build.
>
> My environment is as follows:
>
> OS: Windows XP Professional SP 2
> Dev Env: Visual Studio 2005 Professional (VC8)
> Source code: firefox 2.0.0.1

... snip ...

> Has anyone got any pointers on what I may be doing wrong?

Perhaps you missed
http://developer.mozilla.org/en/docs/
Windows_Build_Prerequisites#Table_of_supported_Visual_Studio_compilers
where it states that building Firefox 1.5.0.x or 2.0.0.y with VC8 is
not supported.

It is apparently possible with patches, some of the third party
builders do that. There is a very long forum thread here
http://forums.mozillazine.org/viewtopic.php?t=338845
No nice write up that I've seen though.


juddster

unread,
Feb 14, 2007, 9:30:18 AM2/14/07
to

Ah, yes. Apologies, I had missed that!

I got to the bit that says:

'For building Firefox 2, Firefox 1.5, and other Mozilla products based
on pre-1.9 branches, see the Windows Build Prerequisites on the 1.7
and 1.8 Branches.'

and went off down that link. I've also just seen 'Using version 2005
(VC8) is not possible.' in there as well! Bad day...

Thanks for pointing it out.

Dmitry Dartz

unread,
Mar 15, 2007, 9:32:50 AM3/15/07
to
... snip ...
>
> > Has anyone got any pointers on what I may be doing wrong?
>
> Perhaps you missed
> http://developer.mozilla.org/en/docs/
> Windows_Build_Prerequisites#Table_of_supported_Visual_Studio_compilers
> where it states that building Firefox 1.5.0.x or 2.0.0.y with VC8 is
> not supported.
>
> It is apparently possible with patches, some of the third party
> builders do that. There is a very long forum thread here
> http://forums.mozillazine.org/viewtopic.php?t=338845
> No nice write up that I've seen though.
>
>

Yeah, right, VC6 is the official way, but with it I'm getting the following trouble:

nsDownloadManager.cpp
d:/mozsrc/firefox-2.0.0.2/mozilla/toolkit/components/downloads/src/nsDownloadManager.cpp(2333) : error C2520: conversion from
unsigned __int64 to double not implemented, use signed __int64

I have VC6:
cl: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
link: Microsoft (R) Incremental Linker Version 6.00.8447
VS6 service pack 5 is installed

Any thoughts?


Robert Strong

unread,
Mar 15, 2007, 12:59:25 PM3/15/07
to dev-b...@lists.mozilla.org
I had this error last night and after re-installing the processor pack
and SP5 without following it up with SP6 it compiled.

Robert

0 new messages