To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=39961
User ericb changed the following: What |Old value |New value ================================================================================ Issue type|DEFECT |PATCH -------------------------------------------------------------------------------- ------- Additional comments from [EMAIL PROTECTED] Tue Jan 18 11:23:47 -0800 2005 ------- ericb->maho : I have solved Mac OSX relative problems, but you can have a look, just in case FreeBSD is concerned too. The three attached patched, called with "where they have to be applied" names permit a successfull build on Mac OS X on SRC680_m71s1 / Mac OSX 10.3.4 / gcc-3.3 / XCode 1.5 1) Error 1 : build stops because extensions/source/nsplugin/source/npshell.cxx Making: ../../../unxmacxp.pro/slo/npshell.obj g++ -fsigned-char -fmessage-length=0 -malign-natural -c -I. -I. -I../inc -I../../../inc -I../../../unx/inc -I../../../unxmacxp.pro/inc -I. -I/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/inc/stl -I/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/inc/external -I/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/inc -I/Users/ericb/Desktop/OpenOffice.org680/solenv/unxmacxp/inc -I/Users/ericb/Desktop/OpenOffice.org680/solenv/inc -I/Users/ericb/Desktop/OpenOffice.org680/res -I/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/inc/stl -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers -I/System/Library/Frameworks/JavaVM.framework/Headers -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I. -I../../../res -I. -O2 -fno-strict-aliasing -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -pipe -malign-natural -fsigned-char -Wno-long-double -Wno-ctor-dtor-privacy -fexceptions -fno-enforce-eh-specs -fPIC -fno-common -DMACOSX -DUNX -DVCL -DGCC -DC300 -DPOWERPC -DGXX_INCLUDE_PATH=/usr/include/gcc/darwin/3.3/c++ -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNO_PTHREAD_PRIORITY -DPOWERPC -DPPC -DSTLPORT_VERSION=400 -D_USE_NAMESPACE=1 -DX_LOCALE -DNO_AUDIO -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680 -DBUILD_OS_APPLEOSX -DBUILD_OS_MAJOR=10 -DBUILD_OS_MINOR=3 -DBUILD_OS_REV=4 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../../unxmacxp.pro/slo/npshell.o /Users/ericb/Desktop/OpenOffice.org680/extensions/source/nsplugin/source/npshell.cxx In file included from /Users/ericb/Desktop/OpenOffice.org680/extensions/source/nsplugin/source/npshell.cxx:67: /usr/include/sys/socket.h:77: error: syntax error before `;' token /usr/include/sys/socket.h:79: error: syntax error before `;' token /usr/include/sys/socket.h:213: error: 'u_char' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:214: error: 'u_char' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:224: error: 'u_short' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:225: error: 'u_short' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:238: error: 'u_char' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:239: error: 'sa_family_t' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:240: error: `int64_t' was not declared in this scope /usr/include/sys/socket.h:240: error: `u_char' was not declared in this scope /usr/include/sys/socket.h:240: error: `sa_family_t' was not declared in this scope /usr/include/sys/socket.h:241: error: 'int64_t' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:242: error: `u_char' was not declared in this scope /usr/include/sys/socket.h:242: error: `sa_family_t' was not declared in this scope /usr/include/sys/socket.h:242: error: `int64_t' was not declared in this scope /usr/include/sys/socket.h:242: error: `u_char' was not declared in this scope /usr/include/sys/socket.h:242: error: `sa_family_t' was not declared in this scope /usr/include/sys/socket.h:242: error: `int64_t' was not declared in this scope /usr/include/sys/socket.h:373: error: 'caddr_t' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:374: error: 'socklen_t' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:376: error: 'u_int' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:377: error: 'caddr_t' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:378: error: 'socklen_t' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:408: error: 'socklen_t' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:471: error: 'u_short' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:479: error: 'caddr_t' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:483: error: 'caddr_t' is used as a type, but is not defined as a type. /usr/include/sys/socket.h:511: error: type specifier omitted for parameter `socklen_t' /usr/include/sys/socket.h:511: error: parse error before `*' token /usr/include/sys/socket.h:512: error: type specifier omitted for parameter `socklen_t' /usr/include/sys/socket.h:513: error: type specifier omitted for parameter `socklen_t' /usr/include/sys/socket.h:514: error: type specifier omitted for parameter `socklen_t' /usr/include/sys/socket.h:514: error: parse error before `*' token /usr/include/sys/socket.h:515: error: type specifier omitted for parameter `socklen_t' /usr/include/sys/socket.h:515: error: parse error before `*' token /usr/include/sys/socket.h:518: error: parse error before `,' token /usr/include/sys/socket.h:519: error: parse error before `,' token /usr/include/sys/socket.h:520: error: parse error before `,' token /usr/include/sys/socket.h:521: error: parse error before `,' token /usr/include/sys/socket.h:523: error: parse error before `,' token /usr/include/sys/socket.h:524: error: parse error before `,' token /usr/include/sys/socket.h:528: error: type specifier omitted for parameter `socklen_t' dmake: Error code 1, while making '../../../unxmacxp.pro/slo/npshell.obj' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /Users/ericb/Desktop/OpenOffice.org680/extensions/source/nsplugin/source Applying extensions_source_nsplugin_source_npshell.cxx.patch solves the problem 2) varargs.h not found. It won't be found for a long time ;-) Making: ../../../unxmacxp.pro/slo/so_env.obj g++ -fsigned-char -fmessage-length=0 -malign-natural -c -I. -I. -I../inc -I../../../inc -I../../../unx/inc -I../../../unxmacxp.pro/inc -I. -I/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/inc/stl -I/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/inc/external -I/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/inc -I/Users/ericb/Desktop/OpenOffice.org680/solenv/unxmacxp/inc -I/Users/ericb/Desktop/OpenOffice.org680/solenv/inc -I/Users/ericb/Desktop/OpenOffice.org680/res -I/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/inc/stl -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers -I/System/Library/Frameworks/JavaVM.framework/Headers -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I. -I../../../res -I. -O2 -fno-strict-aliasing -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -pipe -malign-natural -fsigned-char -Wno-long-double -Wno-ctor-dtor-privacy -fexceptions -fno-enforce-eh-specs -fPIC -fno-common -DMACOSX -DUNX -DVCL -DGCC -DC300 -DPOWERPC -DGXX_INCLUDE_PATH=/usr/include/gcc/darwin/3.3/c++ -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNO_PTHREAD_PRIORITY -DPOWERPC -DPPC -DSTLPORT_VERSION=400 -D_USE_NAMESPACE=1 -DX_LOCALE -DNO_AUDIO -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680 -DBUILD_OS_APPLEOSX -DBUILD_OS_MAJOR=10 -DBUILD_OS_MINOR=3 -DBUILD_OS_REV=4 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../../unxmacxp.pro/slo/so_env.o /Users/ericb/Desktop/OpenOffice.org680/extensions/source/nsplugin/source/so_env.cxx /Users/ericb/Desktop/OpenOffice.org680/extensions/source/nsplugin/source/so_env.cxx:68:25: sys/varargs.h: No such file or directory dmake: Error code 1, while making '../../../unxmacxp.pro/slo/so_env.obj' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /Users/ericb/Desktop/OpenOffice.org680/extensions/source/nsplugin/source Applying extensions_source_nsplugin_source_so_env.cxx.patch solves the problem 3) no need to link against libnsl.a on Mac OSX Making: ../../../unxmacxp.pro/lib/libnpsoplugin.dylib gcc -Wl,-multiply_defined,suppress -dynamiclib -single_module -install_name @executable_path/libnpsoplugin.dylib -L../../../unxmacxp.pro/lib -L/Users/ericb/Desktop/OpenOffice.org680/solver/680/unxmacxp.pro/lib -L/usr/lib -L/usr/X11R6/lib -o ../../../unxmacxp.pro/lib/libnpsoplugin.dylib -ldl -lnsl -lpthread -lm -lstlport_gcc -lstdc++ -filelist ../../../unxmacxp.pro/misc/libnpsoplugin.list /usr/bin/libtool: can't locate file for: -lnsl /usr/bin/libtool: file: -lnsl is not an object file (not allowed in a library) dmake: Error code 1, while making '../../../unxmacxp.pro/lib/libnpsoplugin.dylib' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /Users/ericb/Desktop/OpenOffice.org680/extensions/source/nsplugin/source extensions_source_nsplugin_source_makefile.mk.patch solves the problem For now, other patches (for xplugin in extensions/source/plugin/source) are no more necessary. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]