Re: Win32 optimized build : xp_core.h

Jungshik Shin <[email protected]> 9 Apr 2002 05:31:47 GMT
Newsgroups gmane.comp.mozilla.builds
Organization Yale University, Physics Dept.
Message-ID <[email protected]>
In article <[email protected]> you wrote:
: Jungshik Shin wrote:

:> found was over two years ago (in 1999). it seems like xp_core.h have
:> gone away since. Then, why do I get the error message as below? 
:> 
:> +++make: export in C:\works\moz\mozilla\xpfe\bootstrap
:> +++make: libs in C:\works\moz\mozilla\config
:> +++make: libs in C:\works\moz\mozilla\include
:> +++make: libs in C:\works\moz\mozilla\jpeg
:> NMAKE : fatla error U1073: don't know how to make `..\dist\include\xp_core.h`

  Thank you for your reply. 

: Actually, xp_core.h only went away last week.  You need to update your tree.

  I updated my tree on Sunday morning (April 7th) and I had no problem
with debug build. I got this error only when I tried to build an
optimized build. Anyway, I searched for any file with 'xp_core' and
came up with these two files:

  security/nss/cmd/lib/filestub.c
  security/nss/lib/freebl/mac_rand.c 

I ran 'cvs diff -u' on them and the result is nill. Lxr also showed me
that they do include 'xp_core.h'

  On finding this, I reset 'BUILD_PSM' (because the above two files
look related with security), but that didn't change a thing. 

  Finally, I used 'file search' of MS-Windows (instead of using
'find' in cygwin). Voila... make.dep in WIN32_O.OBJ directories were not
updated and had a lot of 'XP_CORE.H' (I should have used case-insestive
match in grep).   At this point, it became clear what I didn't do
right. I should have run nmake with the target 'build_all_dep' after
resetting MOZ_DEBUG.

  I'm now running 'build_all_dep' and it seems to be working well. 

  It may be a good idea to mention 'this subtlety' in the build
instruction. 

  Thanks again,

  Jungshik Shin