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

Win32 optimized build : xp_core.h

0 views
Skip to first unread message

Jungshik Shin

unread,
Apr 7, 2002, 5:46:29 PM4/7/02
to
I tried to make an optimized build under Win2k with VC++ 6.0.
Following the instruction given in Win32 build page, I reset MOZ_DEBUG
and set MOZ_PROFILE to 1. The build stopped complaining that xp_core.h
couldn't be found. It's indeed absent in my local tree. Then, I turned
to lxr, but Lxr search for xp_core.h came up with nothing. Then, I
searched for any article about it in this newsgroup and only thread I
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`

I've had no problem with making a debug build. I also tried
with MOZ_PROFILE unset, but that didn't make any difference.

Thank you in advance for helping me with this problem,

Jungshik Shin

Chris Seawood

unread,
Apr 8, 2002, 12:03:46 AM4/8/02
to
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`
>

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

- cls

Jungshik Shin

unread,
Apr 9, 2002, 1:31:47 AM4/9/02
to Chris Seawood
In article <3CB116A2...@netscape.com> 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

0 new messages