全文検索 |
[an error occurred while processing this directive]
/usr/bin/ld -x -shared -soname libgklayout.so -o libgklayout.so top だと PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 18064 makoto -5 0 132M 2377M sleep 4:42 9.18% 9.18% ld とか。
種別 | asm | cpp |
---|---|---|
invoke | xptcinvoke_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