NetBSD2 | NetBSD | 1.6 | amd | autoconf | apache | bind | booting | boot/install/disk | boot-cd | build.sh | (daily) | Canna | CF+sendmail | cvs | dhcpd | dvi2ps | emacs-20 | ftpmirror | fvwm2 | gcc | gettext | ghostscript | inn | IPv6 | jitterbug | Install(OHP) | kernel | (old) | majordomo | make build | MHonArc | MRTG | namazu | ndtpd | PHP + PostgreSQL | netatalk | netboot | NFS | NIS | ntp | opie | Open Firmware | perl | procmail | sendmail | sharutils | smtpfeed | tcsh | TeX | time make | ucspi-tcp | w3 | wget | Wnn | wu-ftpd | X11 | Site Map |
全文検索

[an error occurred while processing this directive]

Mozilla on NetBSD/macppc

Unix での build
http://www.mozilla.org/build/unix-details.html
Mirror 一覧
http://www.mozilla.org/mirrors.html#.jp
m18 source (26MBytes)
ftp://ftp.kddlabs.co.jp/Mozilla/mozilla/releases/ m18/src/
ftp://ring.so-net.ne.jp/pub/net/www/mozilla/mozilla/releases/m18/src/
日変りもある
ftp://ring.so-net.ne.jp/pub/net/www/mozilla/mozilla/nightly/latest/
NetBSD/mac68k Topics
http://www.asahi-net.or.jp/~ng6t-ued/netbsd/web_browser.html
モジラの解剖 (Software Design, 1998/08)
http://www.best.com/~yoshioka/d/98/mozilla.html
mozilla-M1[78] を組立てるには、 2000/10/20
mozilla-M18 が出ているので、組立ようとしている。 修正は一つだけでいいような気もする。 (これは ./configure した後に当てる) gtk+ の make install は gmake を使うこと。そうしないと /usr/local/include/gtk/ が入らな い。
2000/09/02
configure した後に 二か所修正 をする。
何故か PowerMac G4 の場合には unlimit datasize (のようなもの)が必要だった。
iBook の場合 5:30 くらいかかる。
これで作ったものは、 まだ動かない。 mozilla/xpcom/reflect/xptcall/src/md/unix/ の下に、
種別 asmcpp
invokexptcinvoke_asm_ppc_netbsd.s (__XPTC_InvokeByIndex) xptcinvoke_ppc_netbsd.cpp
invoke_count_words
invoke_copy_to_stack
XPTC_InvokeByIndex
stubs xptcstubs_asm_ppc_netbsd.s (_SharedStub) xptcstubs_ppc_netbsd.cpp

を用意する必要がある(と思う)。その場合には当然 Makefile (or Makefile.in) も変更が必要

19981008 版に当てるものを 1999/01/31 に作ったものという意味
ここから下は、この修正をしない時に出る問題。

gcc -o NetBSD1.3I_OPT.OBJ/prprf.o -c  -O -fPIC  -ansi -Wall -pipe -DNETBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DFORCE_PR_LOG -DXP_UNIX -UDEBUG -DNDEBUG -D_PR_LOCAL_THREADS_ONLY -I../../../../dist/NetBSD1.3I_OPT.OBJ/include/private -I../../../../dist/NetBSD1.3I_OPT.OBJ/include  prprf.c
prprf.c: In function `BuildArgArray':
prprf.c:632: incompatible types in assignment
gmake[4]: *** [NetBSD1.3I_OPT.OBJ/prprf.o] Error 1
gmake[4]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/nsprpub/pr/src/io'


root@harry  22:24:16/990130(...src/io)# grep -n2 VARARGS_ASS prprf.c
37-*/
38-#if (defined(LINUX) && defined(__powerpc__)) || defined(WIN16)
39:#define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0]
40-#else
41:#define VARARGS_ASSIGN(foo, bar) (foo) = (bar)
42-#endif
43-
--
630-    }
631-
632:    VARARGS_ASSIGN(nas[cn].ap, ap);
633-
634-    switch( nas[cn].type ){
root@harry  22:25:10/990130(...src/io)# 

--- nsprpub/pr/src/io/prprf.c-ooo	Fri Oct  9 05:25:19 1998
+++ nsprpub/pr/src/io/prprf.c	Sat Jan 30 22:28:10 1999
@@ -35,7 +35,7 @@
 ** Note: on some platforms va_list is defined as an array,
 ** and requires array notation.
 */
-#if (defined(LINUX) && defined(__powerpc__)) || defined(WIN16)
+#if (defined(LINUX) && defined(__powerpc__)) || defined(WIN16) || (defined(NetBSD) && defined(__powerpc__))
 #define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0]
 #else
 #define VARARGS_ASSIGN(foo, bar) (foo) = (bar)





gmake[3]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/network/protocol/smtp'
cd http; gmake export
Segmentation fault
gmake[2]: *** [export] Error 139
gmake[2]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/network/protocol'
gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/network'
gmake: *** [export] Error 2
*** Error code 2





gcc -o NetBSD1.3I_OPT.OBJ/jsj_convert.o -c -DXP_UNIX -O -DNETBSD -fPIC -DSW_THREADS -DNEED_UINT -DHAVE_LCHOWN -DNTOHL_ENDIAN_H -DHAVE_FILIO_H -DNEED_SYS_TIME_H -DNEED_UINT_T -DHAVE_BSD_FLOCK -DHAVE_SYSERRLIST -D_PR_LOCAL_THREADS_ONLY -DHAVE_STRERROR  -UDEBUG -DNDEBUG -DTRIMMED -DNSPR20 -DNETSCAPE -DOSTYPE=\"NetBSD1\" -DMOZILLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DMOZ_MAIL_COMPOSE -DSingleSignon -DCookieManagement -DENDER -DNO_SECURITY -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_EMBED -DX_PLUGINS -DUNIX_LDAP -DNSPR -DOJI -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DMOZ_USER_DIR=\".netscape\"  -I../../../dist/public/java -I../../../dist/public/js -I../../../dist/public/applet -I../../../dist/public/nspr -I../../../dist/public/img -I../../../dist/public/util -I../../../dist/public/layer -I../../../dist/public/xpcom -I../../../include  -I/usr/X11R6/include -I/usr/include/g++ -I../../../dist/NetBSD1.3I_OPT.OBJ/include   jsj_convert.c
jsj_convert.c: In function `jsj_ConvertJSValueToJavaValue':
jsj_convert.c:455: conversion to non-scalar type requested
jsj_convert.c:455: invalid operands to binary !=
jsj_convert.c:455: incompatible types in assignment
jsj_convert.c:455: conversion to non-scalar type requested
jsj_convert.c: In function `jsj_ConvertJavaValueToJSValue':
jsj_convert.c:789: aggregate value used where a float was expected
gmake[3]: *** [NetBSD1.3I_OPT.OBJ/jsj_convert.o] Error 1
gmake[3]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/js/src/liveconnect'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/js/src'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/js'
gmake: *** [libs] Error 2
*** Error code 2


gcc -o NetBSD1.3I_OPT.OBJ/picsapi.o -c -DXP_UNIX -O -DNETBSD -fPIC -DSW_THREADS -DNEED_UINT -DHAVE_LCHOWN -DNTOHL_ENDIAN_H -DHAVE_FILIO_H -DNEED_SYS_TIME_H -DNEED_UINT_T -DHAVE_BSD_FLOCK -DHAVE_SYSERRLIST -D_PR_LOCAL_THREADS_ONLY -DHAVE_STRERROR  -UDEBUG -DNDEBUG -DTRIMMED -DNSPR20 -DNETSCAPE -DOSTYPE=\"NetBSD1\" -DMOZILLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DMOZ_MAIL_COMPOSE -DSingleSignon -DCookieManagement -DENDER -DNO_SECURITY -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_EMBED -DX_PLUGINS -DUNIX_LDAP -DNSPR -DOJI -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DMOZ_USER_DIR=\".netscape\"  -I../../dist/public/js -I../../dist/public/nspr -I../../dist/public/dbm -I../../dist/public/img -I../../dist/public/layer -I../../dist/public/util -I../../dist/public/pref -I../../dist/public/security -I../../dist/public/httpurl -I../../dist/public/network -I../../include  -I/usr/X11R6/include -I/usr/include/g++ -I../../dist/NetBSD1.3I_OPT.OBJ/include   picsapi.c
In file included from ../../include/xp_mcom.h:29,
                 from ../../include/xp.h:31,
                 from picsapi.c:29:
../../include/xp_core.h:53: warning: deprecated symbol "unix" is no longer predefined
picsapi.c: In function `TL_Construct':
picsapi.c:1596: incompatible types in assignment
gmake[2]: *** [NetBSD1.3I_OPT.OBJ/picsapi.o] Error 1
gmake[2]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/lib/libpics'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/lib'
gmake: *** [libs] Error 2
*** Error code 2


g++ -o NetBSD1.3I_OPT.OBJ/ColorDialog.o -c -DXP_UNIX -O -DNETBSD -fPIC -DSW_THREADS -DNEED_UINT -DHAVE_LCHOWN -DNTOHL_ENDIAN_H -DHAVE_FILIO_H -DNEED_SYS_TIME_H -DNEED_UINT_T -DHAVE_BSD_FLOCK -DHAVE_SYSERRLIST -D_PR_LOCAL_THREADS_ONLY -DHAVE_STRERROR  -UDEBUG -DNDEBUG -DTRIMMED -DNSPR20 -DNETSCAPE -DOSTYPE=\"NetBSD1\" -DMOZILLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DMOZ_MAIL_COMPOSE -DSingleSignon -DCookieManagement -DENDER -DNO_SECURITY -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_EMBED -DX_PLUGINS -DUNIX_LDAP -DNSPR -DOJI -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DMOZ_USER_DIR=\".netscape\" -DNEW_DECODERS -DDELAYED_MENU_CREATION -DNETCASTER_ZAXIS_HACKERY -DUSE_MAGIC_TOOLBAR -DUSE_3PANE -DGLUE_COMPO_CONTEXT  -I../../../dist/public/XfeWidgets -I../../../dist/public/XfeBm -I../../../dist/public/XfeComboBox -I../../../dist/public/XfeToolBar -I../../../dist/public/XfeToolTip -I../../../dist/public/Microline -I../../../dist/public/nspr -I../../../dist/public/layer -I../../../dist/public/js -I../../../dist/public/jtools -I../../../dist/public/applet -I../../../dist/public/security -I../../../dist/public/img -I../../../dist/public/util -I../../../dist/public/parse -I../../../dist/public/layout -I../../../dist/public/hook -I../../../dist/public/pref -I../../../dist/public/java -I../../../dist/public/oji -I../../../dist/public/libfont -I../../../dist/public/ldap -I../../../dist/public/lay -I../../../dist/public/style -I../../../dist/public/xfeicons -I../../../dist/public/rdf -I../../../dist/public/progress -I../../../dist/public/xpcom -I../../../dist/public/plugin -I../../../dist/public/plugimpl -I../../../dist/public/raptor -I../../../dist/public/netcnvts -I../../../dist/public/progress -I../../../dist/public/privacy -I../../../dist/public/caps -I../../../dist/public/mailto -I../../../include  -I/usr/X11R6/include -I/usr/include/g++ -I../../../dist/NetBSD1.3I_OPT.OBJ/include -INetBSD1.3I_OPT.OBJ -I.. -I../DtWidgets -I../../../modules/libreg/include -I../../../dist/public/security   ColorDialog.cpp
In file included from ../../../include/ntypes.h:23,
                 from ../../../include/structs.h:31,
                 from ColorDialog.cpp:25:
../../../include/xp_core.h:53: warning: deprecated symbol "unix" is no longer predefined
In file included from /usr/X11R6/include/X11/Intrinsic.h:58,
                 from ../xfe.h:37,
                 from ColorDialog.cpp:26:
/usr/X11R6/include/X11/Xutil.h:359: syntax error before `int'
gmake[3]: *** [NetBSD1.3I_OPT.OBJ/ColorDialog.o] Error 1
gmake[3]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/cmd/xfe/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/cmd/xfe'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/cmd'
gmake: *** [libs] Error 2
*** Error code 2


g++ -o NetBSD1.3I_OPT.OBJ/EditorView.o -c -DXP_UNIX -O -DNETBSD -fPIC -DSW_THREADS -DNEED_UINT -DHAVE_LCHOWN -DNTOHL_ENDIAN_H -DHAVE_FILIO_H -DNEED_SYS_TIME_H -DNEED_UINT_T -DHAVE_BSD_FLOCK -DHAVE_SYSERRLIST -D_PR_LOCAL_THREADS_ONLY -DHAVE_STRERROR  -UDEBUG -DNDEBUG -DTRIMMED -DNSPR20 -DNETSCAPE -DOSTYPE=\"NetBSD1\" -DMOZILLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DMOZ_MAIL_COMPOSE -DSingleSignon -DCookieManagement -DENDER -DNO_SECURITY -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_EMBED -DX_PLUGINS -DUNIX_LDAP -DNSPR -DOJI -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DMOZ_USER_DIR=\".netscape\" -DNEW_DECODERS -DDELAYED_MENU_CREATION -DNETCASTER_ZAXIS_HACKERY -DUSE_MAGIC_TOOLBAR -DUSE_3PANE -DGLUE_COMPO_CONTEXT  -I../../../dist/public/XfeWidgets -I../../../dist/public/XfeBm -I../../../dist/public/XfeComboBox -I../../../dist/public/XfeToolBar -I../../../dist/public/XfeToolTip -I../../../dist/public/Microline -I../../../dist/public/nspr -I../../../dist/public/layer -I../../../dist/public/js -I../../../dist/public/jtools -I../../../dist/public/applet -I../../../dist/public/security -I../../../dist/public/img -I../../../dist/public/util -I../../../dist/public/parse -I../../../dist/public/layout -I../../../dist/public/hook -I../../../dist/public/pref -I../../../dist/public/java -I../../../dist/public/oji -I../../../dist/public/libfont -I../../../dist/public/ldap -I../../../dist/public/lay -I../../../dist/public/style -I../../../dist/public/xfeicons -I../../../dist/public/rdf -I../../../dist/public/progress -I../../../dist/public/xpcom -I../../../dist/public/plugin -I../../../dist/public/plugimpl -I../../../dist/public/raptor -I../../../dist/public/netcnvts -I../../../dist/public/progress -I../../../dist/public/privacy -I../../../dist/public/caps -I../../../dist/public/mailto -I../../../include  -I/usr/X11R6/include -I/usr/include/g++ -I../../../dist/NetBSD1.3I_OPT.OBJ/include -INetBSD1.3I_OPT.OBJ -I.. -I../DtWidgets -I../../../modules/libreg/include -I../../../dist/public/security   EditorView.cpp
In file included from ../../../include/ntypes.h:23,
                 from ../../../include/structs.h:31,
                 from Frame.h:28,
                 from EditorFrame.h:28,
                 from EditorView.cpp:24:
../../../include/xp_core.h:53: warning: deprecated symbol "unix" is no longer predefined
EditorView.cpp: In method `XFE_EditorView::XFE_EditorView(class XFE_Component *, struct _WidgetRec *, class XFE_View *, struct MWContext *)':
EditorView.cpp:3016: virtual memory exhausted
gmake[3]: *** [NetBSD1.3I_OPT.OBJ/EditorView.o] Error 1
gmake[3]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/cmd/xfe/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/cmd/xfe'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/usr/src2/pkgsrc/www/mozilla/work/mozilla/cmd'
gmake: *** [libs] Error 2