Problem in compiling sample module ONLY in mozilla src

[email protected] (yueweng)
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization http://groups.google.com
Message-ID <bdd3dfe3.0406250102.52a904ad__30867.2886378647$1088154413@posting.google.com>
Hi all,

I have successfully rebuild the whole Win32 Mozilla dist following the
instruction given in http://www.mozilla.org/build/win32.html.  Also,
the mozilla is able to run.

However, I would like to make only one module, specifically, the
"mozilla\xpcom\sample" module, how should I do it?

The makefile given the "sample" directory does not seems to compile,
if I run make from the "sample" directory.  I have rename the
directory from "sample" to "my_sample" and "run make clean".

When I run make, it give the following output:

C:\Data\Projects\WindowHook\Mozilla\Src\mozilla\xpcom\my_sample>make
/usr/bin/make export
make[1]: Entering directory
`/cygdrive/c/Data/Projects/WindowHook/Mozilla/Src/mo
zilla/xpcom/my_sample'
/cygdrive/c/Data/Projects/WindowHook/Mozilla/Src/mozilla/build/cygwin-wrapper
c:
/moz_tools/bin/nsinstall -m 644 nsISample.idl ../../dist/idl
/cygdrive/c/Data/Projects/WindowHook/Mozilla/Src/mozilla/build/cygwin-wrapper
c:
/moz_tools/bin/nsinstall -m 644
/cygdrive/c/Data/Projects/WindowHook/Mozilla/Src
/mozilla/xpcom/sample/_xpidlgen/nsISample.h
../../dist/include/xpcomsample
/usr/bin/perl -I/cygdrive/c/Data/Projects/WindowHook/Mozilla/Src/mozilla/config
/cygdrive/c/Data/Projects/WindowHook/Mozilla/Src/mozilla/config/build-list.pl
..
/../dist/include/xpcomsample/.headerlist nsISample.h
make[1]: Leaving directory
`/cygdrive/c/Data/Projects/WindowHook/Mozilla/Src/moz
illa/xpcom/my_sample'
/usr/bin/make libs
make[1]: Entering directory
`/cygdrive/c/Data/Projects/WindowHook/Mozilla/Src/mo
zilla/xpcom/my_sample'
/cygdrive/c/Data/Projects/WindowHook/Mozilla/Src/mozilla/build/cygwin-wrapper
c:
/moz_tools/bin/nsinstall -m 755 xpcomsmp.dll ../../dist/lib/components
nsinstall: xpcomsmp.dll: No such file or directory
make[1]: *** [libs] Error 3
make[1]: Leaving directory
`/cygdrive/c/Data/Projects/WindowHook/Mozilla/Src/moz
illa/xpcom/my_sample'
make: *** [all] Error 2

YueWeng
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.