MozTW 討論區
https://forum.moztw.org/

Regarding Mozilla Customize and Compile
https://forum.moztw.org/viewtopic.php?f=2&t=26878
1 頁 (共 1 頁)

發表人:  Hevvy [ 2009-05-12, 10:15 ]
文章主題 :  Regarding Mozilla Customize and Compile

The problem is:
I want to customize some interface base on mozilla source code for our application.
I just did the simplest change.
<changes>
In netwerk/protocol/http/src/nsHttpChannel.cpp, I added #include "nsIDocshell.h", and for this include, I added
"REQUIRES = xpcom \
string \
pref \
nkcache \
mimetype \
intl \
unicharutil \
uconv \
docshell \
$(NULL) "
in Make.in of netwerk/protocol/http/src/
</changes>
But when I run "make -f client.mk build", the error came:
"nsIDocshell.h No such file or directory"
I checked the $topsrc/dist/include/docshell/ and found that there was no such docshell folder compiled.
It seems netwerk is compiled before docshell, right?
Shall I adjust the compile order and how?
I don't know the exact reason and how to solve the problem.
It will be very nice of you to help me out!
Thanks!

1 頁 (共 1 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/